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

keyboard keycodes (squeeze)



I've just purchased an external keyboard for my laptop, and the keycodes reported by xev (and showkey on VT) are not as expected.

The keyboard is an IBM SK-8840; the laptop is an IBM Thinkpad, with a very similar keyboard. Both keyboards include two extra keys by the arrow keys, designated "back" and "forward". These work great on the built-in keyboard: showkey reports keycodes 158 and 159, which I can map however I like in X11.

However, I am not receiving those keycodes from the external keyboard. I am getting Alt_L + Left arrow (back) and Alt_L + Right arrow (forward). In showkey this corresponds to codes 105 and 106 respectively, along with Alt_L, code 56.

I tried booting with atkbd.softraw=0 but that did not make a difference in showkey either.

Is there something in the kernel that could be doing this? Maybe something in udev, or ... I don't know?

Hopefully I'll be able to test on a wheezy box tomorrow; Thus far I have tested on two squeeze boxes.

Thanks!
~David.


Reply to: