[PATCH] add addon for OMAP gpio
David Zeuthen
david at fubar.dk
Wed Feb 28 10:37:38 PST 2007
On Tue, 2007-02-27 at 20:56 +0000, Rob Taylor wrote:
> Exposes OMAP gpio switches as HAL buttons.
Neat. Right now, at least after this commit,
http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=f30d5efd1458cc43ec90563ea4028a26fdef7689;hp=942966555df78b10577d2d6b4368c23efc98de59
HAL knows about switches from the Linux input layer too. We map
SW_LID -> "lid"
SW_TABLET_MODE -> "tablet_mode"
SW_HEADPHONE_INSERT -> "headphone_insert"
and your patch introduces these new candidates for "button.type"
"activity", "connection", "cover"
Perhaps "activity" and "connection" can be made a bit more abstract
and/or well-defined? Perhaps "cover" is really "lid"?
David
More information about the hal
mailing list