Comment 58 for bug 217504

Revision history for this message
MarcoBazzani (visik7) wrote :

truly I'm quite tired of keeping this package update, kernel team release a new version every 2 weeks and this patch isn't included yet, I'm really pissed off about this behaviour.
I give up and I keep the bug on my system too, just to explain that this is not the case where I've the package and I don't want to release to everybody :)
but I can post you instructions on how to build it by yourself so you can keep this package updated
here they are:
apt-get source linux-image-`uname -r`
cd linux-2.6.24
vim drivers/input/input.c
around line 160 you need to change this:

  if (is_event_supported(code, dev->keybit, KEY_MAX) &&
      !!test_bit(code, dev->key) != value) {

into this:
               if (!!test_bit(code, dev->key) != value) {

save the file and run
dch -i
add a ~whatever0 to the version number (whatever means whatever you want :D)
than run
CONCURRENCY_LEVEL=3 AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-generic
the first parameter CONCURRENCY_LEVEL=3 depends on how many cores you have I've 2 cores usually concurrency is N°cpu+1 but you could increase it or decrease it at 1 too it's only take longer to build.
after this go to the parent directory and you should have a new package ready to install
cheers
     Marco