Subject: Re: CVS commit: src/sys/dev/hpc
To: Peter Postma <peter@NetBSD.org>
From: Jachym Holecek <freza@dspfpga.com>
List: source-changes
Date: 09/24/2006 21:13:50
# 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