On Sun, 15 Jan 2006, Alan Stern wrote:

> 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
> 8<--snip-- 
> 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. 
> > 8<--snip--
> > 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.

I only have winxp avail at home and I can't get snoopy to work on it for 
some reason. I got snoopypro to work but it doesn't have plain text saving 
it seems. Either save to its proprietary format or xml and the xml seems 
to be alot less info. I went ahead and saved the proprietary format and 
uploaded to http://churchoftux.com/snoopy/ Also you cannot generate a 
single report for the device, snoopy was installed to both interfaces but 
snoopy opens two log windows seperately. If you dont have windows access 
or would rather see the other snoopy I can generate those logs tomorrow 
from work where I have a win98SE box. Also I have no XP box anywhere that 
has highspeed usb so can't use the usg.org tool. 

Also, I tested with the clear_halt commented and still no go. Have also 
tried with/without clear_halt and/or init_reports while using HID_QUIRK 
for noget and multi_input, combined and alone. None seem to matter. 



-------------------------------------------------------
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

Reply via email to