Re: ACPI: thinkpad-acpi: make the input event mode the default

Henrique de Moraes Holschuh
2007-07-15T18:05:32Z

On Sat, 14 Jul 2007, Matthew Garrett wrote:
> On Sat, Jul 14, 2007 at 11:12:00AM -0300, Henrique de Moraes Holschuh wrote:
> > - KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN,
> > - KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN,
> > - KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN,
> > + KEY_FN_F1, KEY_FN_F2, KEY_FN_F3, KEY_SLEEP,
> > + KEY_FN_F5, KEY_FN_F6, KEY_FN_F7, KEY_FN_F8,
> > + KEY_FN_F9, KEY_FN_F10, KEY_FN_F11, KEY_SUSPEND,
>
> Again, we have keycodes for most of these and we have the ability to
> make the driver choose the correct one by default. Why make things more
> difficult?

Because I only map keys that are marked (silk-screened) on the keys on at
least 90% of the current models.

And I could not find the proper keycode for "switch output video port", yet.

And I could not find the proper keycode for "mess with
mouse/ultranav/pointing device config", either. Not that this one is marked
in most thinkpads, even if it *does* have this function in almost all of
them.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh