Ah yes, everything works now. See below:

> On Fri, 9 Feb 2007, Stephan Esterhuizen wrote:
> 
> > My usbmon shows the following:
> > 
> > --- (1) Test for 12 bytes TX/RX _without_ writing the extra 1 byte bulk
> > --- packet --- 
> > (12 byte tx/rx: run program for first time)
> > eb13c640 4268765364 S Co:028:00 s 00 09 0001 0000 0000 0
> > eb13c640 4268765473 C Co:028:00 0 0
> > eb13c640 4268767715 S Bo:028:02 -115 12 = 00000000 00000000 00000000
> > eb13c640 4268767847 C Bo:028:02 0 12 >
> > eb13c640 4268767994 S Bi:028:06 -115 12 <
> > eb13c640 4268768094 C Bi:028:06 0 12 = 00000000 00000000 00000000
> > eb13c640 4268771222 S Co:028:00 s 01 0b 0000 0000 0000 0
> > eb13c640 4268771347 C Co:028:00 0 0
> 
> Notice those last two lines?  They are a Set-Interface request, sent
> automatically by usbcore when a driver unbinds from a device.  Apparently 
> your device doesn't handle the request correctly.  That must be why your 
> test failed.

Indeed this was the problem, the set interface request (s 01 0b) wasn't handled 
at
all in the firmware. After handling this (clearing EP data toggles and
re-arming the endpoints) it all works like a charm!

Thanks for the help

 - Stephan

-- 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to