tech-kern archive

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

Re: powerd on boot



Christoph Egger wrote:

Hi!

I have a driver which implements support for PNP0C32 acpi hotkeys
(aka "Direct Application Launch Buttons, http://www.microsoft.com/whdc/system/vista/DirAppLaunch.mspx)

Those allow to turn on / resume a machine and generate an ACPI event
on boot.
My driver catches it and injects it into sysmon _before_ powerd
starts.

When powerd starts I expect it to run /etc/powerd/scripts/hotkey_button,
but that doesn't happen. But why?

Any thoughts?

I see powerd uses kqueue(9). Is there a kqueue(9) limitation?

Christoph



Home | Main Index | Thread Index | Old Index