On Mon, Jan 31, 2011 at 10:10 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > > The log you created shows _some_ device doing something: Bus 002 Device > 013 (you mentioned it yourself in the previous email). Wasn't that the > Keytouch keyboard? > yup. Bus 002 Device 013 is Keytouch keyboard at that time. > Can you run another similar test? I want to compare the logs to see if > the keyboard fails in the same way as before. This time try typing a > line of text on the keyboard before you unplug it (after starting the > usbmon trace). > Actually at previous log i typed the keyboard too. > Also, it would help if you unplug your USB mass-storage device and the > USB mouse before running the test, if possible. > Here is my another test. the scenario are: 1. copy the output of /sys/kernel/debug/usb/usbmon/2u to temp file since keyboard always on Bus 002 according to "lsusb". 2. unplugged the keyboard 3. plugged the keyboard again 4. type something 5. stop usbmon stace (Ctrl+C) root@kalau:~# mount -t debugfs none_debugs /sys/kernel/debug mount: none_debugs already mounted or /sys/kernel/debug busy mount: according to mtab, none is already mounted on /sys/kernel/debug root@kalau:~# mount /dev/sda6 on / type ext4 (rw,errors=remount-ro,commit=0) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) fusectl on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /dev type devtmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) /dev/sda7 on /home type ext4 (rw,commit=0) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/kholis/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=kholis) root@kalau:~# modprobe usbmon root@kalau:~# lsmod | grep usb usbhid 36882 0 hid 67742 1 usbhid usb_storage 40172 0 root@kalau:~# ls /sys/kernel/debug/usb/usbmon/ 0s 0u 1s 1t 1u 2s 2t 2u root@kalau:~# cat /sys/kernel/debug/usb/usbmon/2u > 0201.mon.out Here is the full log. http://pastebin.com/Pbk39i1Q kholis@kalau:~# lsusb Bus 002 Device 012: ID 0926:3333 Bus 002 Device 011: ID 04cc:1521 ST-Ericsson USB 2.0 Hub Bus 002 Device 006: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader Bus 002 Device 004: ID 04f2:b1c1 Chicony Electronics Co., Ltd Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Since keyboard on Bus 002 Device 012. I try to grep "2:012". here is the log http://pastebin.com/YP4MM5td -- 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