I am Interested in generating random bulk traffic with libusb and pyusb to 
different bulk devices(i.e Flash drives etc...) ep buffers and check data 
integrity.I used this code:import usb.core# I used Gensys usb to sd card 
readerdev = usb.core.find(idVendor=0x05E3 , idProduct=0x0746)if dev is None:    
raise ValueError('Device not found')for cfg in dev:    for i in cfg:        for 
e in i:            print e.bmAttributes            print e.bEndpointAddress     
       print ""               #if you find OUT EP            
if(e.bEndpointAddress == 2):                e.write(0x00)                  
e.write(0x01)  and I got this error:"raise 
NotImplementedError(_strerror(ret))NotImplementedError: Operation not supported 
or unimplemented on this platform"pyusb does enumerate device and it's 
endpoints correctly but it fails to write to them.as I saw in other posts this 
issue is well known in windows, my question is there any way to go around this 
to write to device's EP in Windows without installing custom driver with Zadig?





                                          
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to