On Fri, 2004-02-20 at 01:28, Michael Schmitz wrote: > > > Could you try showkey, Iain? > > > > The keyboard power button says Keycode 116. The monitor power button > > doesn't show anything with showkeys. > > Same as my Powerbook. The monitor power button isn't expected to produce a > keycode, I think. > > Did you get both key down and key up events??
AFAIK, the monitor button sends a message via a PMU special event, at least it does on the G5. You can try looking at what kind of message you get out of /dev/pmu when you press it Ben.