881 questions
0
votes
1
answer
72
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
73
views
Getting a libusb windows access denied error when re-running a widget in Jupyter
Summary
I am trying to create a widget to read sensor data from a usb device within a Jupyter Notebook. I have tried both matplotlib ipywidgets, Dash-plotly, and Bokeh.
When re-executing the widget ...
2
votes
0
answers
44
views
Unable to read an interrupt transfer composed of multiple DATAx packets with libusb
I want to build a simple C program that uses libusb to interface with a USB device that exposes one interrupt endpoint.
This device accepts and sends data in DATAx packets composed of exactly 64 bytes ...
0
votes
0
answers
15
views
How to set a timeout for usb4java read method?
I using usb4java to read data from a devicer, I'm using
pipe.syncSubmit(byte[])
method, but how can I set a read timeout to avoid infinite wait?
2
votes
0
answers
39
views
Transfer Failed Error in gousb: how to debug libusb write issue?
I am working on a program that communicates with a usb device through gousb library. While attempting to send data, I get a "transfer failed" error during the Write operation.
func ...
0
votes
0
answers
38
views
Libusb Assertion Error in Car Thing Firmware Flashing
I have been attempting to flash new firmware onto my Spotify Car Thing on Windows 11, but I have been getting an error from libusb that I cannot get around. I am using the following guide and have ...
0
votes
1
answer
168
views
Communicating with Keysight scope (USBTMC - Python)
Hello I'm trying to communicate with a Keysight oscilloscope to get the waveform saved as a CSV or PNG image to the computer without using Pathwave Benchvue software.
import pyvisa
import os
import ...
0
votes
1
answer
260
views
Error when trying to receive samples with UHD using two USRPs on the same ubuntu machine (USBError -11: usb rx6 submit failed: LIBUSB_ERROR_NO_MEM)
I set up a Ubuntu server with 2x USRP B200 connected to it via USB. I can find both devices and am able to receive samples fine (without dropped samples) using the following command in my SSH shell:
./...
0
votes
1
answer
356
views
Why is hidapi no longer showing any devices? [closed]
I have USB realtime clock (RTC) which connects to an embedded linux device. The RTC is accessed over i2c, and the i2c is exposed over USB. I access the RTC via the PyMCP2221A module, which in turn ...
0
votes
1
answer
92
views
installed near and got usb lib error, what is the trouble?
I installed near over WSL setting.
Linux NT00654071 4.4.0-19041-Microsoft #3996-Microsoft Thu Jan 18 16:36:00 PST 2024 x86_64 x86_64 x86_64 GNU/Linux
node and npm versions are fine. I changed default ...
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 ...
1
vote
1
answer
1k
views
LIBUSB_ERROR_PIPE when trying to control volume using libusb
I am trying to write a small C program to read and adjust the volume of a USB DAC (Apple USB-C to 3.5mm Dongle). I have been using this document as a reference, but have encountered an issue that I ...
1
vote
0
answers
257
views
How to find the complete USB information for a USB device under Python3 and Windows
Story behind:
I am currently learning Python3 privately. I am still at the beginning and already have problems with the first simple project. And sorry for my lousy code - I am a beginner.
Goal:
List ...
-1
votes
1
answer
661
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 ...
2
votes
1
answer
848
views
How to identyfy USB HUB(root) and devices(child devices) conected to HUB(root device) in linux?
I want to write an application to read data(iSerial info) from connected USB Hub to linux as well as connected other devices to that USB hub.
-> I want to first detect whether USB Hub Connected or ...
1
vote
0
answers
263
views
Problems Accessing USB Device Information in Node.js with npm USB Package on Windows
I'm developing a Node.js application where I need to access information about connected USB storage devices, identify a specific one based on certain criteria, and transfer data to it.
I've ...
0
votes
1
answer
1k
views
`undefined symbol error` involving `libusb` after compiling and installing library on Linux
I am trying to install the MCC DAQ library (https://github.com/mccdaq/uldaq#build-instructions) from github on my Linux machine. I follow the build and installation intructions but some linking error ...
1
vote
1
answer
1k
views
LIBUSB_ERROR_TIMEOUT while trying to recieve via libusb_bulk_transfer
Hey I'm trying to communicate with a sick lidar sensor via usb on Ubuntu 22.04.3 LTS. Currently I'm able to open and claim the port and to send data. But if I try to receive data I'm getting a ...
0
votes
1
answer
396
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 ...
1
vote
1
answer
707
views
Change Audio Source for Speech Recognition - Android
The problem is that we are using an HDMI capture device to renderer frame and audio.
The device uses UAC protocol which is registered as an input audio device and selected as the default source of ...
0
votes
1
answer
230
views
How to connect to libusb device using symbolic link?
I have a video-streaming device that I am accessing using Microsoft Media Foundation. It has additional functionality using bulk. I want to connect to it using libusb. My problem is that I need to ...
1
vote
0
answers
102
views
Why does my libusb example end with runtime error
I wanted to try out libusb under Linux.
I was using one of there examples:
static void print_devs(libusb_device **devs)
{
libusb_device *dev;
int i = 0, j = 0;
uint8_t path[8];
while ...
1
vote
0
answers
968
views
MAC M1 STM32Cube IDE StLnik Debugging not working
I am not able to resolve this problem. I hav mac M1 Macbook and i install Stm32 Cube IDe 1.13 version. I tried a simple hello world project the project is building.
But the problem comes when i try to ...
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
1
answer
446
views
What is the advantage and disadvantage of using libusb.h versus usb_srs_vendor_v1_2.h versus usb.h in Linux?
I want to do USB programming to control another device, to read and to write from/to a device, and so on. I watched many videos/tutorials in Youtube, and I found three ways/headers to do that purpose. ...