7,937 questions
Score of 0
0 answers
41 views
USB PID D-Input Rumble: Block Load Report returns all zeros on PXN V9 Gen2
I am trying to implement a force feedback (rumble) effect for the PXN V9 Gen2 steering wheel in D-Input mode.
While X-Input mode works perfectly by sending standard Xbox rumble packets, D-Input ...
Score of 0
0 answers
39 views
How to get a unique serial identifier for a PIC32 to USB device?
I have several PIC32's connected to a computer via a custom PCB to USB.
I have custom firmware flashed to these using the PICKIT 5 debugger/programmer.
I want to be able to identify these devices ...
Score of 0
2 answers
98 views
A way to connect USB to Ubuntu VM directly
Usually, once we connect a USB device, it gets recognized by Host Machine (Windows 11) and then we chose the USB device in the VirtualBox Devices->USB Menu then it gets recognized by the VM.
I want ...
Score of 0
1 answer
82 views
Improving Accuracy and Performance of ADB exec-out Based Aadhaar OCR Scanning System
using adb-execout to scan and detect the label data via usb using phone camera and extracting the data processing using pytesseract it getting fast but not accurate due to image distraction it should ...
Score of 0
0 answers
107 views
Understanding Android open accessory
I have created an electron app to provide the sync service that my business logic will be hosted from, and it would control an expo app (barebone) to accept info from the host.
The problem is I keep ...
Score of 0
0 answers
79 views
What level of control does Android have over USB-C power direction and current between two devices?
I’m trying to understand the system-level behavior of power transfer between two Android devices connected via USB-C.
From what I understand, USB-C with Power Delivery allows devices to act as either ...
Score of 0
1 answer
35 views
Endpoints/Pipes of Standard USB Classes
How can I find out which USB Device Classes use which Endpoints/Message Types?(document & page side/ code file) And do device classes introduce any overhead to the data packets I am sending?(not ...
Score of 0
1 answer
165 views
Creating an android sync tool
I was tasked with creating a system that would basically update a device with information. In that system it needs to connect to an android device with code. How can i do so without adb or developer ...
Score of 0
1 answer
134 views
Pymodbus library communication delay
I have the following example code. This code updates the frequency setting of the motor currently in use and gives it a forward movement command. I also add a specific waiting time in seconds while ...
Score of 0
1 answer
52 views
Avrdude flash fails on MacOS Monterey
I'm stuck. I purchased an old refurbished MacOS laptop and cannot get avrdude to flash my development firmware. I'd appreciate some help getting avrdude to work on this machine.
I installed the FTDI ...
Score of -3
1 answer
128 views
Can USB CDC receive data byte-by-byte in CDC_Receive_FS(), or is it always packet-based?
I’m working with an STM32 microcontroller using USB CDC (Virtual COM Port) and handling incoming data in CDC_Receive_FS(). I want to understand the behavior for UART-style communication:
If the host ...
Score of 1
0 answers
73 views
Android (Studio) + Dragino LA66 USB
I am working on an Android app to control a drone. I am using the Dragino LA66 USB LoRa device for comm. Unfortunately, I am having difficulty with getting a signal transmitted to my Arduino board.
...
Score of 2
1 answer
123 views
What is the right format of packets in ADB pull?
I am working on an embedded RTOS system, and I want to support ADB file pulling based on open-source USB stack.
I read the document about ADB protocol (https://github.com/cstyan/adbDocumentation), and ...
Score of 0
1 answer
275 views
How can I get a USB HID device to enumerate as a xinputhid.sys compatible device?
I'm trying to get an ESP32-S3 TinyUSB device to show up as an XInput compatible device on Windows.
There appears to be three ways to do this: XUSB, XInputHID & GIP, with a recommendation to use ...
Score of 1
1 answer
97 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.
...