On Sat, Jul 30, 2011 at 2:12 PM, C Duff <duffman....@gmail.com> wrote:
> Thanks Xiaofan,
> I didn't know about the reset - I'll make sure to add that. And everything
> now works.

The reset call is normally not necessary and I tried Microchip's QT3/libusb-0.1
based application and that works fine without the reset. So there might
be something different from pyusb side.

> The first cause was a stupid mistake on my behalf. I thought I'd changed
> the packet size to 8 on my firmware (as I'm operating at low speed) but I
> hadn't (or I'd changed back at some point). It was only when I checked
> lsusb -v that I found the error.

If you want to go for low speed, one thing you need to change as well is
to change to use interrupt transfer, it is not legal to have bulk transfer
in low speed USB even though it might work in certain OS (like XP)
but it will fail in another OS (like Windows 7).

> Thanks again for the help everyone,



-- 
Xiaofan

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to