Re: [PATCH] thinkpad_acpi: Always report scancodes for hotkeys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 14, 2011 at 08:25:17PM -0200, Henrique de Moraes Holschuh wrote:
> On Fri, 14 Jan 2011, Seth Forshee wrote:
> > Some thinkpad hotkeys report key codes like KEY_FN_F8 when something
> > like KEY_VOLUMEDOWN is desired. Always provide the scan codes in
> > addition to the key codes to assist with debugging these issues. Also
> > send the scan code before the key code to match what other drivers do,
> > as some userspace utilities expect this ordering.
> 
> Do I have your word of honour that canonical is not going to start using
> scancodes instead of keycodes in Ubuntu to trigger actions?

That would be silly. The reason for this change is to aid in collecting
the data to update udev's keymaps for non-standard keys (see [1]). udev
uses the EVIOCSKEYCODE ioctl to associate the correct key code with the
scan codes. We don't intend to use scan codes instead of key codes.

[1] http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=extras/keymap/README.keymap.txt;hb=HEAD
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux