[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sleep on TiBook, getting Gnome sounds working



>> This should be fixed in pmud. The PMU driver now supports an ioctl telling
>> you if sleep is supported or not on the machine. If the ioctl is
>> not implemented, you get an error and can revert to the old mecanism.

#define PMU_IOC_CAN_SLEEP     _IOR('B',5,sizeof(__u32 *))

The param points to an u32 that will be set to 0 or 1 (or the ioctl
will return an error if not implemented).

Ben.




Reply to: