On Tue, Aug 24, 2010 at 1:54 PM, Max Teo <max...@gmail.com> wrote: > Another question related to this, I was able to send a mass storage > command using ATA16 passthru. > The first command succeeded however the second similar command got back a > Pipe Error. > ... > File "<stdin>", line 1, in <module> > File "usb\core.py", line 273, in read > File "usb\core.py", line 624, in read > File "usb\_debug.py", line 53, in do_trace > File "usb\backend\libusb10.py", line 483, in bulk_read > File "usb\backend\libusb10.py", line 581, in __read > File "usb\backend\libusb10.py", line 353, in _check > usb.core.USBError: Pipe error >
Sorry I am not familiar with Mass Storage Device inner working myself. There is an example in libusb-1.0 which may or may not help. http://git.libusb.org/?p=libusb-pbatard.git;a=blob;f=examples/xusb.c;hb=HEAD I am not so sure why you want to use libusb-1.0 for a mass storage device. It may not be the best choice. -- Xiaofan ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users