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.