[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1236178031.9121.6.camel@paradox.pz.local>
Date: Wed, 04 Mar 2009 09:47:11 -0500
From: Jason Noble <nobleja@...ezero.com>
To: Jiri Kosina <jkosina@...e.cz>
Cc: lkml <linux-kernel@...r.kernel.org>
Subject: Re: New HID device support
I made a minor tweak. Please include in the official patch.
(BTN_2 and BTN_3, are not very useful xev doesn't even see them)
- case 0x01: ks_map_key(BTN_2); break;
- case 0x02: ks_map_key(BTN_3); break;
+ case 0x01: ks_map_key(BTN_MIDDLE); break;
+ case 0x02: ks_map_key(BTN_SIDE); break;
Other than that, it works great!
You are awesome, thank you very very much!!
P.S.
I think the failed patch issues were caused by email eating the code
format. Manually editing the failed patch files worked.
On Wed, 2009-03-04 at 14:37 +0100, Jiri Kosina wrote:
> On Wed, 4 Mar 2009, Jason Noble wrote:
>
> > Sorry to be such a bother.
> > Attached .rej files if they help.
> >
> > clean just untared 2.6.28.7
> >
> > patching file a/drivers/hid/Kconfig
> > Hunk #1 succeeded at 157 with fuzz 2.
> > patching file a/drivers/hid/Makefile
> > Hunk #1 FAILED at 30.
> > 1 out of 1 hunk FAILED -- saving rejects to file
> > a/drivers/hid/Makefile.rej
> > patching file a/drivers/hid/hid-core.c
> > Hunk #1 FAILED at 1271.
> > 1 out of 1 hunk FAILED -- saving rejects to file
> > a/drivers/hid/hid-core.c.rej
> > patching file a/drivers/hid/hid-dummy.c
> > Hunk #1 succeeded at 34 with fuzz 2.
> > patching file a/drivers/hid/hid-ids.h
> > Hunk #1 FAILED at 279.
> > 1 out of 1 hunk FAILED -- saving rejects to file
> > a/drivers/hid/hid-ids.h.rej
> > patching file b/drivers/hid/hid-kensington.c
> > paradox:/usr/src# ls a/drivers/hid/Makefile.rej
> > a/drivers/hid/Makefile.rej
>
> Odd, the patch I sent you was based on 2.6.28.7.
>
> You can just add the lines from .rej files manually, it's only 6 lines of
> code or so.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists