(Solved) Repeated disconnect of Zero Delay USB encoder (DragonRise)
-
Pi Model or other hardware: Pi 4
Power Supply used: Official RPi supply
RetroPie Version Used: 4.7.1
Built From: SD Image (tried both download from RetroPie + BalenaEtcher and automatic download/flash using Raspberry Pi Imager)
USB Devices connected:- 1 x Ugreen Powered USB Hub (powered using official Google Nexus 5X power supply and cable): https://www.amazon.co.uk/gp/product/B08KXNDTPV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
- 2 x DragonRise Zero Delay USB encoders (connected to Ugreen USB Hub): https://www.amazon.co.uk/gp/product/B075DBJXR7/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
- 1 x Obstorm USB Hub (connected to Ugreen USB Hub): https://www.amazon.co.uk/gp/product/B082VV3BNW/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
- 2 x PS3 controllers connected to Obstorm USB Hub (issue also happens without these connected)
Error messages received: Repeated of the following in
dmesg -w
[ 78.538993] dragonrise 0003:0079:0006.0031: input,hidraw2: USB HID v1.10 Joystick [DragonRise inc. Generic USB Joystick ] on usb-0000:01:00.0-1.4/input0 [ 79.549575] usb 1-1.4: USB disconnect, device number 52 [ 79.945975] usb 1-1.4: new low-speed USB device number 53 using xhci_hcd [ 80.085520] usb 1-1.4: New USB device found, idVendor=0079, idProduct=0006, bcdDevice= 1.07 [ 80.085542] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 80.085560] usb 1-1.4: Product: Generic USB Joystick [ 80.085578] usb 1-1.4: Manufacturer: DragonRise inc. [ 80.098588] input: DragonRise inc. Generic USB Joystick as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:0079:0006.0032/input/input51 [ 80.099117] dragonrise 0003:0079:0006.0032: input,hidraw2: USB HID v1.10 Joystick [DragonRise inc. Generic USB Joystick ] on usb-0000:01:00.0-1.4/input0 [ 81.085840] usb 1-1.4: USB disconnect, device number 53 [ 81.486140] usb 1-1.4: new low-speed USB device number 54 using xhci_hcd [ 81.625745] usb 1-1.4: New USB device found, idVendor=0079, idProduct=0006, bcdDevice= 1.07 [ 81.625766] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 81.625785] usb 1-1.4: Product: Generic USB Joystick [ 81.625803] usb 1-1.4: Manufacturer: DragonRise inc. [ 81.638862] input: DragonRise inc. Generic USB Joystick as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:0079:0006.0033/input/input52
Hi all, thanks in advance for any help.
I frequently get the above repeated USB reconnects from startup which causes emulationstation to crash with the blue screened "emulationstation" has crashed" error. Trying to start it manually using
emulationstation --debug
will provide the same error onscreen but also givessegmentation fault
in the startup log.The repeated reconnect doesn't always seem to appear. Seems almost random at startup. Restarting the system via
sudo reboot
or turning off/on at the mains often fixes the issue but not always.I've tried:
- Reflashing RetroPie to the memory card (Samsung Evo Plus 256GB) and re-transferring all ROMs etc.
- Changing the USB ports the DragonRise USB encoders are connected to including having one on the USB hub and one directly on the Pi
- Unplugging one completely did seem to prevent the error showing but I only tested a few times. Can test more if this could be the problem
- Removing splashscreen and changing the theme back to 'carbon'
- Changing the power supply on the USB hub
- Updating all software through the
RetroPie-Setup.sh
GUI andapt-get update -y
- Changing the USB A->B cables from the encoders to the hub to RhinoCables cables (old ones seemed more loose/cheap)
The only similar error I've found is on the forum here but no resolution was reached. Mine is more frequent than 2/10 (more 5/10).
-
For anyone coming across this with the same issue, I resolved it using the same fix as described here: https://github.com/sriemer/fix-linux-mouse#usb-mouse-disconnectsreconnects-every-minute-on-linux
I've rebooted RetroPie around 20 times without fail so far.
The entry I added to
/boot/cmdline.txt
in my case was:usbhid.quirks=0x0079:0x0006:0x00000400
The format (with details retrieved from
dmesg
) is:usbhid.quirks=0x<idVendor>:0x<idProduct>:0x00000400
-
-
@dantarl You might want to add (SOLVED) to the message title so people give this more attention in the future. Other than that, cool.
-
@iandaemon Thanks, done!
-
-
-
-
Hi DanTarl - I created a forum account just to thank you for this tip.
I was frustrated by my zero delay encoder going in to disconnect/reconnect loop (led flashing) while using MAME on Ubuntu v22. Adding this to the Grub Linux boot parameters fixed the problem immediately.
The line now looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbhid.quirks=0x0079:0x0006:0x00000400"
Detailed instructions for editing Ubuntu boot parameters here.
Thanks again - solving this seemed like such a longshot!
Paul
-
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.