259 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
119
views
pyUSB device.port_numbers returns None on macOS Tahoe 26
I am using python 3.10 with pyUSB to fetch the information of connected usb devices using usb.core.find. Then I iterate trough them and have to get the device.port_numbers property for stuff ...
0
votes
0
answers
145
views
getting the status of an stm32 device in dfu mode
i have written a simple code to get the status of a connected stm32 device in dfu mode. I can get the information on the device but always gets error when checking the status from the get_status ...
1
vote
1
answer
79
views
Wireshark - Unused Setup Header
I'm trying to reverse engineer the RGB controls for my SteelSeries Apex 3 TKL keyboard. My end goal is to control the RGB using Python, specifically the ctrl_transfer(bmRequestType, bmRequest, wValue, ...
0
votes
1
answer
77
views
pyusb USB disconnecting on request
I am facing a problem using the pyusb library in python.
I have configured the filter on libusb.
I am trying to replicate a qr code scan, and whenever I manage to collect the data from the QR code I ...
0
votes
1
answer
350
views
LIBUSB error: usb.core.NoBackendError occurs in .exe file (created with auto-py-to-exe), but not in Python script
I'm working on Windows 11 system connected to a device through libusbwin32 driver. I have installed pyusb and libusb, and libusb path is added to Windows environment as:
\venv\Lib\site-packages\libusb\...
0
votes
1
answer
40
views
USB Lightning Detector only sends Data for few seconds after being powered on
I am working with an LD-350 Lightning Detector connected via USB to my Ubuntu machine. I've encountered an issue where the data read from the device is only fully detailed and useful immediately after ...
0
votes
1
answer
715
views
How to detect if a USB flash drive was inserted on Raspberry Pi 4, and list all the files inside the USB flash drive using pyusb?
I am using Python 3.11 on Raspberry Pi 4. Say I have a USB flash drive connected on one of the USB ports of the Raspberry Pi 4. How do I get the path of the USB flash drive, so that I can list them to ...
0
votes
0
answers
227
views
Python PyUSB NotImplemented Error dev.write(), dev.read(), dev.ctrl_transfer()
I try to communicate with an NFC Reader ID CPR30+ from FEIG that is connected to via USB to my Windows10 Laptop. I installed the device driver and with PyUSB I can detect the device with idVendor, ...
-1
votes
1
answer
696
views
Get data (charge information) from HID-device (USB wireless mouse) with Python and pyusb library
I'm trying to communicate with wireless mouse Ninjutso Sora V2 to get charge information using pyusb. I've made something similar for Razer mouse before - Razer tray. I would like to make similar ...
0
votes
0
answers
189
views
To get voltage signal with pyusb through USB device
I am making a Python code to get voltage signal through USB port with "DIGITAL ICP USB SIGNAL CONDITIONER Model 485B39". Now I encountered a following error. But I am not sure how to deal ...
0
votes
1
answer
778
views
NotImplementedError using pyusb on Windows10
I was trying to read the input of a USB device (in this case a USB flash drive). So I strarted with this code:
import usb.core
import usb.backend.libusb1
VENDOR_ID = 0x0951
PRODUCT_ID = 0x1643
...
0
votes
1
answer
407
views
Communication via PyUSB to Agilent E4980A
Communication to USB devices drives me crazy. It's now at least the third USB device creating problems:
the first device (OWON oscilloscope) had erroneous software and wrong documentation and I ...
0
votes
0
answers
194
views
Python use Mac as a mouse for Android
Basically I'm trying to move a mouse cursor on an android with broken screen using just USB-C cable and a Mac. The goal here is to emulate a HID device without external hardware like PyBoard or ESP32
...
0
votes
1
answer
3k
views
No Backend Available - Path Directly Specified
I have troubleshooted for days with no luck, I hope someone here can help please?
There's lots of discussions about this online all with roughly the same answer so I won't go to much into depth. Here ...
0
votes
0
answers
1k
views
The HIDAPI.read Function doesn't return read data from usb
I am trying to create a program to send n bytes to HID device and then reading them from the device. I m using a hexadecimal list, for eg.[0x00,0x01,0x02...0x0n] as the data to be sent and recieved. ...