[linux-pm] apm for individual devices

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

 



On ?t 09-03-06 12:57:42, Tehn Yit Chin wrote:
> Pavel Machek wrote:
> >On Út 07-03-06 10:11:31, Li Qiang-E3422C wrote:
> >
> >>'0' indicates the device is on. Other values (1-3) indicate the device
> >>is in a low power state. 
> >>You can see ACPI's spec.
> >
> >
> >Actually, no. This is broken interface, please do not use it. 0 == on,
> >2 or 3 == off. But do not use it.
> 
> Are you saying not to the the power/state that is present in the 
> device's sysfs entry? What interface do you recommend that I use?

Parse error. But I'm trying to say that <device>/power/state should
not be used -- it is ugly/broken. Replacement interface is being
prepared by Patrick, I believe, but is not yet in mainline. Feel free
to help Patrick :-).

								Pavel
-- 
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux