[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E9BF073.7000509@Calva.COM>
Date: Mon, 17 Oct 2011 11:08:03 +0200
From: John Hughes <john@...va.COM>
To: John Hughes <john@...vaedi.com>
CC: linux-kernel@...r.kernel.org, Mattia Dongili <malattia@...ux.it>,
Stelian Pop <stelian@...ies.net>
Subject: Re: Bug: changing keycodes generated by sony-laptop doesn't work
On 16/10/11 15:30, John Hughes wrote:
>
> All the scancodes are 7 off, setting the mapping for scancode 0x14
> changes the mapping for what the driver claims is scancode 0x1B.
Actually it's a bit worse than that.
The "scancodes" used by the sony-laptop driver are the indexes into
sony_laptop_input_keycode_map and not the "event" codes at all.
This patch (not yet tested) should fix the scancodes reported by
/lib/udev/keymap.
This just leaves a bug in the keymap files included with udev. I guess
the sony-laptop file in Documentation needs to say where to find the
scancodes.
View attachment "sony-scancode.patch" of type "text/x-patch" (1396 bytes)
Powered by blists - more mailing lists