Source-Changes archive

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

Re: CVS commit: src/sys/dev/hpc



# Peter Postma 2006-09-24:
> Module Name:  src
> Committed By: peter
> Date:         Sun Sep 24 18:34:42 UTC 2006
> 
> Modified Files:
>       src/sys/dev/hpc: hpckbd.c hpckbdkeymap.h
> 
> Log Message:
> Run the "power button event" hooks when the special button OFF is pressed.
> Change the keycodes in the keymaps that are currently using the OFF button
> to -1 so that they will still operate the same way (i.e. do nothing).
> 
> No objection on port-hpcsh & port-hpcmips.

Where is CONFIG_HOOK_BUTTONEVENT_POWER consumed? At a glance, I can only
see it being reported from several places but it's not obvious who uses
it.

Other than that, PM events should be announced via sysmon, see dev/sysmon/*
for implementation and arch/sparc64/dev/psm.c for example usage.

        -- Jachym



Home | Main Index | Thread Index | Old Index