On Sun, 15 Jan 2006, Brian A. Stumm wrote: > *device inserted*
> 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 That's almost exactly the same as the USB Snoopy log, as far as it goes. It's hard to do a direct comparison because USB Snoopy only recorded the URBs meant for the touchpad whereas usbmon recorded everything sent to the device, including URBs for the keyboard. So we don't know what Windows was sending to the keyboard. Is it possible for you to tell USB Snoopy to record everything going to either the keyboard or the touchpad? Maybe there's some weird interaction between the two. As far as the touchpad part is concerned, the two logs are identical except for one part. Near the end of usb_hid_configure() there's a call to usb_clear_halt(). It should be harmless, but Windows doesn't do the equivalent. So try commenting out that call. > No output generated when pressing touchpad buttons or finger on pad. That's the other difference between the two logs. :-) > 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. That line is where usbhid is asking the touchpad to report on any events that happen. The touchpad doesn't send back any reports in response when you do something. Without a complete log from Windows we can't be sure of anything. Try getting rid of the usb_clear_halt -- although that was just added in 2.6.15 so it wouldn't have affected anything you tried using earlier kernels. For what it's worth, I've got a USB keyboard (sold by HP) that works if the clear_halt is present or if init_reports is missing, but doesn't work when the clear_halt is missing and init_reports is present. Alan Stern ------------------------------------------------------- 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