Re: Keycode kernel patch doesn't change keycodes anymore

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



Hi Marcel,

On Sat, Aug 27, 2011 at 5:54 PM, Marcel Korpel <marcel.lists@xxxxxxxxx> wrote:
> As I do not get replies to my forum post [1], I'll try asking this
> question here.
>
> Up until recently, I used to get the zoom slider on my Microsoft
> Natural Ergonomic Keyboard 4000 working by following the instructions
> in a Gentoo Wiki page [2]. In short, by applying a small patch [3] to
> my custom compiled (ZEN-)kernel the keycodes of the slider are changed
> to values below 255, enabling the X server to process those keycodes.

I suggest reporting the problem with your keyboard upstream so that
they can fix it properly and your patches will no longer be necessary
(otherwise they are bound to break again).

> Unfortunately, after a recent kernel update I get different keycodes,
> as if the patch isn't applied at all, although I can confirm that
> include/linux/input.h is still changed. My keycodes now read:
>
> $ showkey
> keycode 418 press
> keycode 418 release
> keycode 419 press
> keycode 419 release
>
> I flipped through latest kernel changes of 2.6.38.x [4] and 2.6.39.x
> [5] (that I currently use) but was not able to find a change that
> might have influenced the (translation of these) keycodes.

What was the last working kernel, and what was the first broken one?
Did you try cloning Linu's tree and doing
git log <known good>...<known bad> -- include/linux/input.h

-t


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux