On Thu, Feb 17, 2011 at 3:28 AM, Jiri Kosina <jkosina@xxxxxxx> wrote: > > You can also run 'make oldconfig' and manualy chose 'm', or do the same in > 'make menuconfig'. > OK. i did it. "hid_keytouch" module loaded by default now. > > That's because I made a stupid mistake in my patch (missing entry in the > list of IDs in hid-core.c). > > And also the indices were wrong. I definitely had my day yesterday. > > Please retest with the patch below, it should hopefully work much better. > I've applied your second patch but keyboard still not works. Your patch changed events output again. > If not, I'll need the same output again. Plus provide dmesg output, > please. > Here is the output: evtest: http://pastebin.com/UXG0igTL rdesc: http://pastebin.com/ggLMwNEa events: http://pastebin.com/hNMpEp8X On events sometime "Left Shift" button give following output: "Left Shift" key pressed: report (size 8) (unnumbered) = 02 00 00 00 00 00 00 00 Keyboard.00e0 = 0 Keyboard.00e1 = 1 Keyboard.00e2 = 0 Keyboard.00e3 = 0 Keyboard.00e4 = 0 Keyboard.00e5 = 0 Keyboard.00e6 = 0 Keyboard.00e7 = 0 "Left Shift" key released: report (size 8) (unnumbered) = 00 00 00 00 00 00 00 00 Keyboard.00e0 = 0 Keyboard.00e1 = 0 Keyboard.00e2 = 0 Keyboard.00e3 = 0 Keyboard.00e4 = 0 Keyboard.00e5 = 0 Keyboard.00e6 = 0 Keyboard.00e7 = 0 But sometime produced following output: "Left Shift" key Pressed: report (size 8) (unnumbered) = 02 00 00 00 00 00 00 00 Keyboard.00e0 = 0 Keyboard.00e1 = 1 Keyboard.00e2 = 0 Keyboard.00e3 = 0 Keyboard.00e4 = 0 Keyboard.00e5 = 0 Keyboard.00e6 = 0 Keyboard.00e7 = 0 "Left Shift" key released: report (size 8) (unnumbered) = 00 00 00 00 00 00 00 00 Keyboard.00e0 = 0 Keyboard.00e1 = 0 Keyboard.00e2 = 0 Keyboard.00e3 = 0 Keyboard.00e4 = 0 Keyboard.00e5 = 0 Keyboard.00e6 = 0 Keyboard.00e7 = 0 report (size 8) (unnumbered) = 02 00 ff 00 00 00 00 00 Keyboard.00e0 = 0 Keyboard.00e1 = 1 Keyboard.00e2 = 0 Keyboard.00e3 = 0 Keyboard.00e4 = 0 Keyboard.00e5 = 0 Keyboard.00e6 = 0 Keyboard.00e7 = 0 "dmesg" output : Feb 17 14:02:17 kalau kernel: [ 7281.508859] usb 2-1.1: new high speed USB device using ehci_hcd and address 8 Feb 17 14:02:17 kalau kernel: [ 7281.601176] hub 2-1.1:1.0: USB hub found Feb 17 14:02:17 kalau kernel: [ 7281.601279] hub 2-1.1:1.0: 4 ports detected Feb 17 14:02:17 kalau kernel: [ 7281.872226] usb 2-1.1.4: new full speed USB device using ehci_hcd and address 9 Feb 17 14:02:17 kalau kernel: [ 7281.968308] keytouch 0003:0926:3333.0003: fixing up Keytouch IEC report descriptor Feb 17 14:02:17 kalau kernel: [ 7281.969057] input: Keytouch as QWERTY Panel as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1.4/2-1.1.4:1.0/input/input11 Feb 17 14:02:17 kalau kernel: [ 7281.969266] keytouch 0003:0926:3333.0003: input,hidraw1: USB HID v1.10 Keyboard [Keytouch as QWERTY Panel] on usb-0000:00:1d.0-1.1.4/input0 Tested with kernel 2.6.38rc5. Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html