On Mon, 14 Feb 2011, kholis wrote: > On Fri, Feb 11, 2011 at 10:27 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > > > > The whole thread is here: > > > > http://marc.info/?t=129610043500002&r=1&w=2 > > > > Yes, the patch I sent to kholis fixes the -EPIPE error. Now the device > > appears to be working correctly, judging by the usbmon trace. But the > > system still ignores any typing on the keyboard. > > > >> I understand that /dev/input/eventX device node is created for the > >> keyboard, right? (/proc/bus/input/devices will tell). > Hi, Jiri. Here is the log when I plugged the keyboard: > > Feb 14 09:56:14 kalau kernel: [ 111.375572] usb 2-1.1: new high speed > USB device using ehci_hcd and address 6 > Feb 14 09:56:14 kalau kernel: [ 111.469259] hub 2-1.1:1.0: USB hub found > Feb 14 09:56:14 kalau kernel: [ 111.469578] hub 2-1.1:1.0: 4 ports detected > Feb 14 09:56:15 kalau kernel: [ 111.738975] usb 2-1.1.4: new full > speed USB device using ehci_hcd and address 7 > Feb 14 09:56:15 kalau kernel: [ 111.835770] 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/input9 > Feb 14 09:56:15 kalau kernel: [ 111.836008] generic-usb > 0003:0926:3333.0002: input,hidraw1: USB HID v1.10 Keyboard [Keytouch > as QWERTY Panel] on usb-0000:00:1d.0-1.1.4/input0 > > kholis@kalau:~$ ls -al /dev/input/ > total 0 > drwxr-xr-x 4 root root 340 2011-02-14 09:56 . > drwxr-xr-x 19 root root 3940 2011-02-14 09:56 .. > drwxr-xr-x 2 root root 120 2011-02-14 09:56 by-id > drwxr-xr-x 2 root root 180 2011-02-14 09:56 by-path > crw-r----- 1 root root 13, 64 2011-02-14 09:54 event0 > crw-r----- 1 root root 13, 65 2011-02-14 09:54 event1 > crw-r----- 1 root root 13, 66 2011-02-14 09:54 event2 > crw-r----- 1 root root 13, 67 2011-02-14 09:54 event3 > crw-r----- 1 root root 13, 68 2011-02-14 09:54 event4 > crw-r----- 1 root root 13, 69 2011-02-14 09:54 event5 > crw-r----- 1 root root 13, 70 2011-02-14 09:54 event6 > crw-r----- 1 root root 13, 71 2011-02-14 09:54 event7 > crw-r----- 1 root root 13, 72 2011-02-14 09:54 event8 > crw-r----- 1 root root 13, 73 2011-02-14 09:56 event9 > crw-r----- 1 root root 13, 63 2011-02-14 09:54 mice > crw-r----- 1 root root 13, 32 2011-02-14 09:54 mouse0 > crw-r----- 1 root root 13, 33 2011-02-14 09:54 mouse1 > > kholis@kalau:~$ ls -al /dev/input/by-id > total 0 > drwxr-xr-x 2 root root 120 2011-02-14 09:56 . > drwxr-xr-x 4 root root 340 2011-02-14 09:56 .. > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > usb-Chicony_Corp._Lenovo_EasyCamera-event-if00 -> ../event6 > lrwxrwxrwx 1 root root 9 2011-02-14 09:56 > usb-Keytouch_as_QWERTY_Panel-event-kbd -> ../event9 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > usb-PIXART_USB_OPTICAL_MOUSE-event-mouse -> ../event5 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > usb-PIXART_USB_OPTICAL_MOUSE-mouse -> ../mouse0 > > kholis@kalau:~$ ls -al /dev/input/by-path/ > total 0 > drwxr-xr-x 2 root root 180 2011-02-14 09:56 . > drwxr-xr-x 4 root root 340 2011-02-14 09:56 .. > lrwxrwxrwx 1 root root 9 2011-02-14 09:56 > pci-0000:00:1d.0-usb-0:1.1.4:1.0-event-kbd -> ../event9 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > pci-0000:00:1d.0-usb-0:1.3:1.0-event -> ../event6 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > pci-0000:00:1d.0-usb-0:1.4:1.0-event-mouse -> ../event5 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > pci-0000:00:1d.0-usb-0:1.4:1.0-mouse -> ../mouse0 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > platform-i8042-serio-0-event-kbd -> ../event4 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > platform-i8042-serio-1-event-mouse -> ../event8 > lrwxrwxrwx 1 root root 9 2011-02-14 09:54 > platform-i8042-serio-1-mouse -> ../mouse1 > > Here is /proc/bus/input/devices. http://pastebin.com/PLMaz9kW . But no > character appear when i typed the keyboard. Could you please attach output of evtest /dev/input/event9 when you are typing on the keyboard? (evtest is part of input-utils package). If it doesn't show any output, could you please post output from cat /sys/kernel/debug/hid/0003:0926:3333.0002/rdesc and output of cat /sys/kernel/debug/hid/0003:0926:3333.0002/events while you are typing? Thanks, -- Jiri Kosina SUSE Labs, Novell Inc. -- 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