Skip to contentSkip to conversation

wake event?

DISCUSSION Brian Perkins 1 participant 1 message Dec 12, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

I've started playing around with the acpid socket for writing power management clients.

One deficiency that I've noticed is that events don't arrive while the machine is sleeping (not too surprising). This means that things like ac status monitors will be incorrect if the ac status changes while we are sleeping.

It might be nice to deliver a wake event to /proc/acpi/event so clients can know that they can update properly.

I thought about writing a patch to do this, but I had trouble deciding
what arguments ought to be given to acpi_bus_generate_event (device e.g.), and where it should be done. Perhaps this is because this feature is somewhat outside the scope of what was originally intended the interface.

Any thoughts?

--
Brian Perkins [email protected]

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/