I'm nearly finished building a handheld game system running RetroPie. However, there's one thing I can't get working.
I'm using a USB joystick encoder (https://www.amazon.com/Reyann-Arcade-Encoder-Joystick-Fighting/dp/B00UUROWWK/). I've hand-wired a USB cable to the test pads of a Raspberry Pi 1 Model A+ with 512MB RAM. The cable is terminated with an A-type female connector. The encoder has a hand-wired cable with an A-type male connector.
When the encoder is connected directly to the Pi, the power light illuminates for less than a second and then goes out. RetroPie does not detect it. However, if I plug the encoder into a USB 2 hub (https://www.adafruit.com/product/2998 ) then it works. It's important to note that I am NOT supplying external power to the hub.
The fact that it works with the hub suggests that it's not a problem with incorrect wiring or lack of power. Just in case, I built a separate test extender cable with the data wires swapped. As expected, it didn't work. I also tested the encoder on a Windows 10 PC (without swapping the wires) and it works fine.
Can anyone think of why this might be failing or know a way to fix it? Thanks!