[linux-pm] detach_state

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

 



On Tuesday 26 October 2004 04:36, Pavel Machek wrote:
> Hi!
> 
> There's detach_state interface to the user in /sys. Is anyone actually
> using it?

Looks like if it's ever set to "4" (only from userspace, or out-of-tree
drivers), then driver->shutdown() gets called ... else if it's nonzero,
it's passed to driver->suspend().

I always thought that "4" was the magic value to be passed into
driver->suspend() to indicate S4/poweroff.  Surely some of this
complication can be removed ...

- Dave


[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