RE: [patch] ACPI: kbd-pw-on/WOL don't work anymore since 2.4.14

Grover, Andrew (andrew.grover@intel.com)
Tue, 12 Mar 2002 13:51:57 -0800


> From: Patrick Mochel [mailto:mochel@osdl.org]
> It seems like this would ideally be specified in the config
> file for the
> power management agent. So, before the transition to sleep began, the
> agent would enable those devices to wake the system (probably
> by writing a
> value to a driverfs file).

Agree.

> The only thing is that you probably want all devices of a
> particular class
> to wake a system - like all keyboards or all net devices. I
> don't know
> what the config file format for ospmd looks like, but it
> might articulated
> like:
>
> /* devices to wake the system when we go to sleep */
> wake {
> keyboard
> network
> mouse
> }
> Right?

Sounds OK to me. Once the wake capability and class of a device are both
visible through driverfs, implementing functionality like this in userspace
is easy.

Regards -- Andy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/