On Sun, 15 Jan 2006, Alan Stern wrote: > On Sat, 14 Jan 2006, Brian A. Stumm wrote: > > > What else might happen in different order for windows vs linux? Tried both > > of these suggestions but to no avail. Also, is usbmouse.c affected by > > these tests? I was assuming no and using the usbhid driver. > > Run a version of the driver with the hid_init_reports() call commented > out, and do another usbmon capture of everything starting from when you > plug in the Combo device, including some attempts to use the touchpad. > Leave the hid_set_idle() call, since Windows does the same thing. I'll > compare the usbmon output with the USB Snoopy log from Windows you posted > earlier to see what differences remain.
[EMAIL PROTECTED]:/sys/kernel/debug/usbmon# cat 1t *device inserted* f6501620 2402439854 C Ii:001:01 0 1 = 02 f6501620 2402439893 S Ii:001:01 -115 2 = 0200 f6acf1c0 2402439942 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402439963 C Ci:001:00 0 4 = 00010100 f6acf1c0 2402439972 S Co:001:00 s 23 01 0010 0001 0000 0 f6acf1c0 2402439977 C Co:001:00 0 0 f6acf1c0 2402439994 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402440000 C Ci:001:00 0 4 = 00010000 f6acf1c0 2402472918 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402472940 C Ci:001:00 0 4 = 00010000 f6acf1c0 2402504911 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402504942 C Ci:001:00 0 4 = 01030100 f6acf1c0 2402504951 S Co:001:00 s 23 01 0010 0001 0000 0 f6acf1c0 2402504956 C Co:001:00 0 0 f6acf1c0 2402536918 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402536938 C Ci:001:00 0 4 = 01030000 f6acf1c0 2402568916 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402568931 C Ci:001:00 0 4 = 01030000 f6acf1c0 2402600917 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402600932 C Ci:001:00 0 4 = 01030000 f6acf1c0 2402632914 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402632929 C Ci:001:00 0 4 = 01030000 f6acf1c0 2402632971 S Co:001:00 s 23 03 0004 0001 0000 0 f6acf1c0 2402632977 C Co:001:00 0 0 f6acf1c0 2402688925 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402688965 C Ci:001:00 0 4 = 03030000 f6acf1c0 2402744919 S Co:001:00 s 23 01 0014 0001 0000 0 f6acf1c0 2402744933 C Co:001:00 0 0 f6acf1c0 2402744975 S Ci:000:00 s 80 06 0100 0000 0040 64 < f6acf1c0 2402751818 C Ci:000:00 0 18 = 12011001 00000008 0b064105 01010001 0001 f6acf1c0 2402751841 S Co:001:00 s 23 03 0004 0001 0000 0 f6acf1c0 2402751851 C Co:001:00 0 0 f6acf1c0 2402808926 S Ci:001:00 s a3 00 0000 0001 0004 4 < f6acf1c0 2402808960 C Ci:001:00 0 4 = 03030000 f6acf1c0 2402864921 S Co:001:00 s 23 01 0014 0001 0000 0 f6acf1c0 2402864934 C Co:001:00 0 0 f6acf1c0 2402864945 S Co:000:00 s 00 05 0013 0000 0000 0 f6acf1c0 2402867805 C Co:000:00 0 0 f6acf1c0 2402884930 S Ci:019:00 s 80 06 0100 0000 0012 18 < f6acf1c0 2402890796 C Ci:019:00 0 18 = 12011001 00000008 0b064105 01010001 0001 f6acf1c0 2402890827 S Ci:019:00 s 80 06 0200 0000 0009 9 < f6acf1c0 2402895788 C Ci:019:00 0 9 = 09023b00 020100a0 32 f6acf1c0 2402895808 S Ci:019:00 s 80 06 0200 0000 003b 59 < f6acf1c0 2402906788 C Ci:019:00 0 59 = 09023b00 020100a0 32090400 00010301 01000921 10010001 22360007 05810308 f6acf1c0 2402906853 S Ci:019:00 s 80 06 0300 0000 00ff 255 < f6acf1c0 2402911792 C Ci:019:00 0 4 = 04030904 f6acf1c0 2402911828 S Ci:019:00 s 80 06 0301 0409 00ff 255 < f6acf1c0 2402919790 C Ci:019:00 0 26 = 1a035500 53004200 20004b00 65007900 62006f00 61007200 6400 f6acf1c0 2402920456 S Co:019:00 s 00 09 0001 0000 0000 0 f6acf1c0 2402922790 C Co:019:00 0 0 f6acf1c0 2402937957 S Co:019:00 s 21 0a 0000 0000 0000 0 f6acf1c0 2402940794 C Co:019:00 0 0 f6acf1c0 2402940814 S Ci:019:00 s 81 06 2200 0000 0036 54 < f6acf1c0 2402950801 C Ci:019:00 0 54 = 05010906 a1010508 19012903 15002501 75019503 91029505 91010507 19e029e7 f445e5a0 2402951146 S Co:019:00 s 02 01 0000 0081 0000 0 f445e5a0 2402953785 C Co:019:00 0 0 f6acf1c0 2403005971 S Ii:019:01 -115 8 = 00ff0000 00000000 f6acf140 2403013087 S Co:019:00 s 21 0a 0000 0001 0000 0 f6acf140 2403015791 C Co:019:00 0 0 f6acf140 2403015822 S Ci:019:00 s 81 06 2200 0001 00b3 179 < f6acf140 2403041791 C Ci:019:00 0 179 = 05010902 a1018501 0901a100 05091901 29051500 25019505 75018102 95017503 f445ef20 2403042428 S Co:019:00 s 02 01 0000 0082 0000 0 f445ef20 2403044777 C Co:019:00 0 0 f6acf140 2403053327 S Ii:019:02 -115 5 = 00000000 00 No output generated when pressing touchpad buttons or finger on pad. Pressing "k" on the keyboard produces 4 lines of data as follows. f6acf1c0 2422482633 C Ii:019:01 0 8 = 00000e00 00000000 f6acf1c0 2422482861 S Ii:019:01 -115 8 = 00000e00 00000000 kf6acf1c0 2422546627 C Ii:019:01 0 8 = 00000000 00000000 f6acf1c0 2422546844 S Ii:019:01 -115 8 = 00000000 00000000 >From what I read in the docs on usbmon, the last line avove is specific to the 2nd interface which is the mouse. In every test I've done thats the last line that ever comes in from the touchpad interface until cycling the plug. Unplugging the device: f75c8560 2870299871 C Ii:021:01 -84 0 f445e8a0 2870299904 C Ii:021:02 -84 0 f6501620 2870456805 C Ii:001:01 0 1 = 02 f6501620 2870456823 S Ii:001:01 -115 2 = 0200 dfdca5e0 2870456872 S Ci:001:00 s a3 00 0000 0001 0004 4 < dfdca5e0 2870456892 C Ci:001:00 0 4 = 00010300 dfdca5e0 2870456901 S Co:001:00 s 23 01 0010 0001 0000 0 dfdca5e0 2870456906 C Co:001:00 0 0 dfdca5e0 2870456911 S Co:001:00 s 23 01 0011 0001 0000 0 dfdca5e0 2870456916 C Co:001:00 0 0 f75c83e0 2870655725 S Ci:001:00 s a3 00 0000 0001 0004 4 < f75c83e0 2870655750 C Ci:001:00 0 4 = 00010000 f75c83e0 2870684828 S Ci:001:00 s a3 00 0000 0001 0004 4 < f75c83e0 2870684851 C Ci:001:00 0 4 = 00010000 f75c83e0 2870716834 S Ci:001:00 s a3 00 0000 0001 0004 4 < f75c83e0 2870716863 C Ci:001:00 0 4 = 00010000 f75c83e0 2870748834 S Ci:001:00 s a3 00 0000 0001 0004 4 < f75c83e0 2870748856 C Ci:001:00 0 4 = 00010000 f75c83e0 2870780833 S Ci:001:00 s a3 00 0000 0001 0004 4 < f75c83e0 2870780851 C Ci:001:00 0 4 = 00010000 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users