Subject: Re: CVS commit: src/sys/dev/hpc
To: Jachym Holecek <freza@dspfpga.com>
From: Peter Postma <peter@pointless.nl>
List: source-changes
Date: 09/24/2006 21:22:40
On Sun, Sep 24, 2006 at 09:13:50PM +0200, Jachym Holecek wrote:
> # 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.
> 

It's used in not yet committed code. :-)

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

Ok, sysmon should probably but used in the future, but I thought that
was still experimental / in development.

-- 
Peter Postma