usb

Pyusb on windows 8.1 – no backend available – how to install libusb?

Pyusb on windows 8.1 – no backend available – how to install libusb? Question: Working on pyinstaller 3.1, python 2.7.9, and tkinter. Try to use pyusb instead of pyserial, but no backend available. Looking into Pyusb on windows – no backend available, PyUSB ValueError: No backend available, USB interface in Python, and so on, it …

Total answers: 2

Issues with PySerial: Port must be configured before it can be used

Issues with PySerial: Port must be configured before it can be used Question: I am writing code (in python) to use serial communication with an Arduino, using the pySerial library, on Windows 7. However, I am having issues using the ports correctly. Here is my code: import serial #sets the connection parameters, relook at when …

Total answers: 2

Simple way to query connected USB devices info in Python?

Simple way to query connected USB devices info in Python? Question: How can we query connected USB devices info in Python? I want to get UID Device Name (ex: SonyEricsson W660), path to device (ex: /dev/ttyACM0) And also what would be the best Parameter out of above info to be used as identifying the device …

Total answers: 7

How can I listen for 'usb device inserted' events in Linux, in Python?

How can I listen for 'usb device inserted' events in Linux, in Python? Question: I’d like to write a Python script for Amarok in Linux to automatically copy the stackoverflow podcast to my player. When I plug in the player, it would mount the drive, copy any pending podcasts, and eject the player. How can …

Total answers: 4