Replying to Martin's original question, the USBView tool included in
the MS Windows DDK is great for this. You can google for "USBView
Windows DDK" and find some places to download it if you can't get the
DDK. Also, you may consider the USBCV tool available free on
http://www.usb.org -> developers -> tools. This checks the device for
USB Spec compliance and in the process dumps the full descriptors to a
log file.  [You will need a USB 2.0 HC and if the device is low or
full speed, an external USB 2.0 Hub for this though.]

Regarding the actual problem, I doubt that the endpoints change type.
They're bulk, one in, one out. However, on Windows the API for
accessing bulk and interrupt endpoints is the same, while you have a
different API for ISO and control. This is why Snoopy outputs what you
see.

Srdjan


On Wed, 16 Feb 2005 18:45:28 +0300, Roman Kagan <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 16, 2005 at 10:28:17AM -0500, Alan Stern wrote:
> > You're not doing anything wrong.  The question is, what is USB Snoopy
> > doing wrong?
> >
> > If you decode the TransferBuffer contents for URB 3 coming back, you can
> > easily see that both endpoints are listed with bmAttributes = 0x02 = Bulk.
> > Not 0x03 = Interrupt.
>
> AFAIK interrupt transfers are allowed on bulk endpoints, so Snoopy is
> probably reporting what Windows actually does.  Even more so, the
> usbsnoop.log for my Conexant AccessRunner based ADSL modem showed that
> Windows created two pipes on one bulk out endpoint: 1 bulk (to send the
> firwmare in big chunks) and 1 interrupt (to send commands to the device
> in 64-byte packets).  I do that in my driver as well, and it works fine.
>
> Cheers,
>  Roman.
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> [email protected]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to