Hi. I am trying to connect to a USB device running PyUSB 1.0.0-a1, libusb-win32 1.2.4.0, under a Windows 7(x86) administrator and python 2.7.1. I have created and installed a .inf file from libusb. Whenever I try to run a script to read the device, I get an exception reading: WindowsError: exception: access violation reading 0x00000018
If I try to write to the device, I get: AttributeError: 'NoneType' object has no attribute 'bmAttributes' My code is simply: import usb.core as core usbDevice = core.find() usbDevice.set_configuration() rawRead = usbDevice.read(0x81, 5, 0, 100) print(rawRead) Thank you for any help. ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users