Igor Bezenchuk
2016-03-08 15:32:53 UTC
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?