So after being stuck on this problem for 2 days now, I figured out that the error:
code: 108, kind: Uncategorized, message: "Cannot send after transport endpoint shutdown"
Is not related to the error log of dmesg
I simply did not wait long enough after binding my device config to the UDC. The...
How would this help with my problem?
Im running into this problem while mimicing a Sony Gamepad using the UDC of a Raspberry Pi. So the device is the RPi and the host is some linux system, but will later on by Win10 mostly.
All the Sony controllers I have, to test and get the actual descriptors...
I am trying to mimic an existing device (ps4 and ps5 gamepads). My device is a Raspberry Pi Zero 2. USB Gadget mode seems to be working.
I copied the report descriptor and all settings/information of the device I am trying to mimic. My host correctly detect the device and lsusb shows everything...