7,957 questions
1
vote
1
answer
70
views
Failure to enumerate USB device with DWC2 USB host
I am working on an embedded RTOS system for a 32-bit MIPS SOC, which supports DWC2 OTG. (It can run Linux well.)
I ported an open-source USB stack to this system by following the porting guidance.
...
Advice
1
vote
2
replies
85
views
How to get count of physical USB ports on Windows (not changing when devices are attached) using Go?
I am working on a Windows application written in Go lang, and I need to programmatically determine the number of physical USB ports available on the system.
My requirement is:
The count should ...
0
votes
0
answers
64
views
Question about PMA Layout and BTABLE Size on STM32F103
I have two possible interpretations of how the USB BTABLE and PMA layout work on the STM32F103.
I will provide two diagrams (Figure A and Figure B) to illustrate the scenario.
STM32F1 USB PMA
Scenario:...
0
votes
1
answer
59
views
Electron crash due to libusb conflict between yoctolib-cjs and other USB libraries
I am developing a Windows Electron application and I suspect a USB / libusb conflict between the usb library and Yoctopuce’s JavaScript API (yoctolib-cjs/yocto_api).
When both are used in the same ...
0
votes
0
answers
45
views
TUSB MSC example hanging on 'waiting for download' on the ESP32s3
I'm attempting to run the Tiny USB MSC example (Provided in the ESP-IDF github repository), and it doesn't appear to work.
Initially, the example flashes, but only outputs the below and hangs on '...
Advice
0
votes
2
replies
68
views
USB Low Speed bandwidth?
I have an embedded system where 2 microcontrollers communicate over Full Speed USB bus. The host is an iMX RT1060, the device is an LPC55S69. From EMI standpoint it would be beneficial to use Low ...
1
vote
1
answer
55
views
UAC 2.0 Microphone USB Configuration Descriptor
I am really trying to understand the ADC2.0 spec to create a really simple USB UAC2.0 8 bit microphone. My device enumerates fine, but the driver doesn't like it (it says it cannot start).
Q1. How do ...
3
votes
1
answer
163
views
Windows USB Driver refuses to accept my manufacturer string
I am homebuilding a USB driver on STM32. I have managed to get the device to enumerate which is awesome, but only when I disable all the strings (set all ID's to 0). Right now, when I set ...
0
votes
0
answers
70
views
Python loss of connection after OS USB Disconnect/Reconnect, but Python can't see the device
While I'd appreciate the answer, I'd really like to understand how to diagnose what's happening in Python.
The basic issue is that Raspberry PI OS or a driver causes some USB connections to disconnect ...
0
votes
1
answer
47
views
Mac Catalyst (MAUI): IOHID InputReportCallback not firing, IOUSBInterfaceOpen returns kIOReturnNotPermitted (0xe00002e2) for custom HID device
I am developing a .NET MAUI Mac Catalyst app (sandboxed) that communicates with a custom vendor-specific HID USB device.
Within the Catalyst app, I’m using a native iOS library (built with Objective-C ...
0
votes
0
answers
89
views
RS232 to USB in a hub with other device: potential loss of data?
I'm currently using a SBC (a Raspberry Pi Zero 2W) to receive data from a device (let's call it Sensor). Sensor is connected to the micro USB port on the SBC through an adaptor with FTDI FT232R USB ...
1
vote
0
answers
100
views
Trying to Get Serial info to separate it from other
I have a list of 12 serial COM ports and I am trying to pick only the ones made from a specific Manufacturer, "FTDI". For some reason, I cannot pull this info without using the Systems....
1
vote
0
answers
75
views
Read/write to USB serial device while it's in use
I have a C# application that uses the USB serial device mounted to /dev/ttyUSB0.
I need to send a status request to this device, which I can do very easily with printf "\00\48\ee\ff" > /...
1
vote
1
answer
571
views
system_profiler SPUSBDataType not working on macOS Tahoe 26 [closed]
I’m testing on macOS Tahoe 26.0 and noticed that running the following command gives me either no output or errors:
system_profiler SPUSBDataType
On earlier versions of macOS this would list all USB ...
3
votes
1
answer
99
views
Why does SET_INTERFACE on my Logitech QuickCam via libusb give a "LIBUSB_ERROR_PIPE", but the official program can do the same thing without issue?
As a project to learn libusb, I am writing a driver for my old Logitech QuickCam Chat from 2006. To clarify, the camera quality is awful and I have no intention of using this for anything other than ...