Re: [pyusb-users] dev.set_configuration() not executing

2019-01-22 Thread Jeffrey Nichols
Isuue 1: This is normal for python scripts. You can easily uninstall and reinstall the package to revert your changes. Issue 2: The permission errors have nothing to with the script or library permissions, only the USB device. You cannot fix the /dev/ permissions through chmod, so don't try.

Re: [pyusb-users] Finally found: the installed library

2016-10-11 Thread Jeffrey Nichols
Don't forget to indicate in the documentation that not knowing which driver to use is a VERY unusual situation, and that anyone going down that path will need to install both libusb DLLs in the application's PATH. Jeff On 10/11/2016 6:03 AM, Wander Lairson Costa wrote: Hi Hermann, Thanks

Re: [pyusb-users] pyusb1 picks wrong driver on Windows. Asking for help

2016-08-23 Thread Jeffrey Nichols
On 8/23/2016 5:23 AM, Hermann Hamann wrote: Hi, thank you you control, which is one of the reasons why everyone Well, why then the library search? It is completely superfluous if I fix anything at installation. Sincerely Hermann I believe the automatic backend selection is to make scripts

Re: [pyusb-users] pyusb1 picks wrong driver on Windows. Asking for help

2016-08-20 Thread Jeffrey Nichols
Your real problem is that you don't know beforehand which driver your device will be using. If you're doing the driver install as part of an installer (e.g. using wdi-simple.exe) or instructing your users to use zadig.exe then you should already know which driver has been installed. I would

Re: [pyusb-users] USB topology

2016-05-13 Thread Jeffrey Nichols
On 5/13/2016 9:03 AM, Nicolas Pinault wrote: Le 12/05/2016 à 17:15, Wander Lairson Costa a écrit : 2016-05-12 11:40 GMT-03:00 Nicolas Pinault: Hi, Is it possible to retrieve USB bus topology with PyUSB ? Yes, you will need to use the Device object "port_number" and "bus"

Re: [pyusb-users] large writes fail?

2015-08-30 Thread Jeffrey Nichols
(data) to self.ep_out.write(data, timeout=0) or self.ep_out.write(data, timeout=1) and see if that helps. Best Regards, Jeff Jeffrey Nichols Suprock Technologies, LLC Phone: (603) 479-3408 Fax: (888) 629-4158 www.suprocktech.com On 8/29/2015 10:17 PM, Karl Palsson wrote: -BEGIN PGP SIGNED