Subject: Re: Hotkey support via powerd
To: Jared D. McNeill <firstname.lastname@example.org>
From: Steven M. Bellovin <email@example.com>
Date: 12/22/2007 13:37:22
On Sat, 22 Dec 2007 13:04:41 -0500 (EST)
"Jared D. McNeill" <firstname.lastname@example.org> wrote:
> On Sat, 22 Dec 2007, Steven M. Bellovin wrote:
> >> Things like "display switch" hotkeys are not unique to Thinkpads.
> > That one, sure, but all of them? Other buttons?
> FYI, the PSWITCH_HK_* constants are suggestions, much in the same way
> that MI audio uses AudioC*/AudioN* for mixer control names. The
> hotkey device driver is free to create custom events as it sees fit.
> The reason for PSWITCH_HK_* should be obvious -- to prevent cases
> where a sony(4) driver delivers a "display_cycle" event, asus(4)
> delivers "displayswitch", vald(4) delivers "DisplayToggle", and
> thinkpad(4) delivers "display-cycle".
Right. We certainly want standard names for the common items.
--Steve Bellovin, http://www.cs.columbia.edu/~smb