I had a device come with no USB cable.
Since it used a proprietary USB connector on the device side, I decided to solder a male USB A cable directly on the motherboard pins.
The USB device is correctly detected, and shows up in the device list, both with dmesg
and lsusb
. The device name, identifiers, etc. are correct, but the daemon that is supposed to communicate with it over hidraw
(I think) fails to do so.
So, in short, my problem is the following:
- USB device correctly detected (correct vendor and product ID, matching product string)
- USB communication not possible.
The cable or connection is likely the culprit, I didn't double-check my wiring because of a lack of time avalable with the device. I wasn't able to find good documentation on hardware USB troubleshooting online, but I seem to recall that inverting D+ and D- could cause such issues (detection, but no communication). Even if that ends up being the issue, are there resources for troubleshooting that kind of problem? What are the possible causes for this failure mode, and how should I go about debugging it?
The USB cable is quite short, but of quite poor quality (I had no regrets sacrificing it).