Have to unplug and plug again USB adapter to get it detected
-
Hello,
I'm new to RetroPie and am really enjoying this great project. I had a spare rpi B+ so i told myself : "Mmmmmhh Retrogaming! Let's do it!"
So here I was, reading the wiki while downloading a prebuilt image. Then i dd my image on my sdcard and booted retropie for the first time.
I had a few problems with this prebuild image, i couldn't access any configuration tool because of a dpkg/apt-get corruption problem, but the GUI worked flawlessly, my 15 years old usb/psx gamepad adapter was plugged in and recognised at first boot, i just had to push a button on my psx pad and retropie asked me to configure it. Great work! But i couldn't get very far because of my dpkg/apt-get problem so i decided to start over from source. So i put a minimal raspbian image on my sd card, and followed this tutorial to build core packages from source, then built some main packages, from source again. This time eveything worked fine (well, it worked the same way it did with the prebuilt image, but without apt-get/dpkg issues) except for one thing, that is the reason why i ask for help here : I have to unplug my usb/psx adapter and plug it in again to make RetroPie detect it.So here is my setup :
- RPI 2B+ rev 1.1
- RetroPie v 4.0 built from source
- USB/PSX gamepad adapter on usb port 0
- PSX gamepad connected to the adapter
I don't really know how to debug this, i'm thinking about some udev or libusb problem or bad configuration, or maybe a missing daemon. It worked with the prebuilt image so i know it's possible to get it working.
Here are some related infos :
$ lsusb
Bus 001 Device 005: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 007: ID 6666:0667 Prototype product Vendor ID WiseGroup Smart Joy PSX, PS-PC Smart JoyPad
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
=> Problem is the same when the keyboard isn't plugged
$ udevadm info -q all -n /dev/input/js0
P: /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:6666:0667.0004/input/input3/js0
N: input/js0
S: input/by-id/usb-6666_0667-joystick
S: input/by-path/platform-3f980000.usb-usb-0:1.2:1.0-joystick
E: DEVLINKS=/dev/input/by-id/usb-6666_0667-joystick /dev/input/by-path/platform-3f980000.usb-usb-0:1.2:1.0-joystick
E: DEVNAME=/dev/input/js0
E: DEVPATH=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:6666:0667.0004/input/input3/js0
E: ID_BUS=usb
E: ID_FOR_SEAT=input-platform-3f980000_usb-usb-0_1_2_1_0
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_MODEL=0667
E: ID_MODEL_ENC=0667
E: ID_MODEL_ID=0667
E: ID_PATH=platform-3f980000.usb-usb-0:1.2:1.0
E: ID_PATH_TAG=platform-3f980000_usb-usb-0_1_2_1_0
E: ID_REVISION=0288
E: ID_SERIAL=6666_0667
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=6666
E: ID_VENDOR_ENC=6666
E: ID_VENDOR_ID=6666
E: MAJOR=13
E: MINOR=0
E: SUBSYSTEM=input
E: TAGS=:seat:uaccess:
E: USEC_INITIALIZED=3225043
Any help would be great.
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.