Another 'my switch pro controller doesn't work' thread
-
Hi @ all,
another "my switch pro controller doesn't work" thread. :/Pi Model
Raspberry Pi 3 model B+Power Supply
Raspberry 5V, 2.5ARetroPie Version
v4.8 (2022-03-14)Built From
Pre made Image from Raspberry Pi Imager v1.8.5USB Devices connected
noneController used
Nintendo Switch ProError messages received
noneVerbose log
n.a.Guide used
https://retropie.org.uk/docs/Nintendo-Switch-Controllers/
https://github.com/nicman23/dkms-hid-nintendo?tab=readme-ov-fileFile
n.a.Emulator
n.a.Attachment of config files
cat /proc/bus/input/devicesI: Bus=0005 Vendor=057e Product=2009 Version=8001 N: Name="Nintendo Switch Pro Controller" P: Phys= S: Sysfs=/devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:057E:2009.0001/input/input1 U: Uniq=98:41:5C:38:FA:C7 H: Handlers=event0 js0 B: PROP=0 B: EV=20000b B: KEY=7ffb0000 0 0 0 0 0 0 0 0 0 B: ABS=3001b B: FF=1 7030000 0 0 I: Bus=0005 Vendor=057e Product=2009 Version=8001 N: Name="Nintendo Switch Pro Controller IMU" P: Phys= S: Sysfs=/devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:057E:2009.0001/input/input2 U: Uniq=98:41:5C:38:FA:C7 H: Handlers=event1 js1 B: PROP=40 B: EV=19 B: ABS=3f B: MSC=20
emulationstation --debug
Feb 05 21:39:20 lvl2: EmulationStation - v2.10.1rp, built Dec 26 2021 - 16:20:53 Feb 05 21:39:20 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"... Feb 05 21:39:21 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"... Feb 05 21:39:21 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"... Feb 05 21:39:21 lvl2: Creating window... Feb 05 21:39:21 lvl2: Created window successfully. Feb 05 21:39:21 lvl2: GL vendor: Broadcom Feb 05 21:39:21 lvl2: GL renderer: VideoCore IV HW Feb 05 21:39:21 lvl2: GL version: OpenGL ES-CM 1.1 Feb 05 21:39:21 lvl2: Checking available OpenGL extensions... Feb 05 21:39:21 lvl2: ARB_texture_non_power_of_two: MISSING Feb 05 21:39:21 lvl2: Added unconfigured joystick Nintendo Switch Pro Controller (GUID: 050000007e0500000920000001800000, instance ID: 0, device index: 0). Feb 05 21:39:21 lvl2: Added unconfigured joystick Nintendo Switch Pro Controller IMU (GUID: 050000007e0500000920000001800000, instance ID: 1, device index: 1). Feb 05 21:39:21 lvl2: Loading system config file /etc/emulationstation/es_systems.cfg... Feb 05 21:39:21 lvl1: System "amstradcpc" has no games! Ignoring it. Feb 05 21:39:22 lvl1: System "arcade" has no games! Ignoring it. Feb 05 21:39:22 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/atari2600/gamelist.xml"... Feb 05 21:39:22 lvl1: System "atari5200" has no games! Ignoring it. Feb 05 21:39:22 lvl1: System "atari7800" has no games! Ignoring it. Feb 05 21:39:23 lvl1: System "atari800" has no games! Ignoring it. Feb 05 21:39:23 lvl1: System "atarilynx" has no games! Ignoring it. Feb 05 21:39:23 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/c64/gamelist.xml"... Feb 05 21:39:23 lvl1: System "channelf" has no games! Ignoring it. Feb 05 21:39:23 lvl1: System "coleco" has no games! Ignoring it. Feb 05 21:39:24 lvl1: System "fba" has no games! Ignoring it. Feb 05 21:39:24 lvl1: System "fds" has no games! Ignoring it. Feb 05 21:39:24 lvl1: System "gamegear" has no games! Ignoring it. Feb 05 21:39:24 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/gb/gamelist.xml"... Feb 05 21:39:24 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/gba/gamelist.xml"... Feb 05 21:39:25 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/gbc/gamelist.xml"... Feb 05 21:39:25 lvl1: System "mame-libretro" has no games! Ignoring it. Feb 05 21:39:25 lvl1: System "mastersystem" has no games! Ignoring it. Feb 05 21:39:25 lvl1: System "megadrive" has no games! Ignoring it. Feb 05 21:39:26 lvl1: System "msx" has no games! Ignoring it. Feb 05 21:39:26 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/n64/gamelist.xml"... Feb 05 21:39:26 lvl1: System "neogeo" has no games! Ignoring it. Feb 05 21:39:26 lvl1: System "nes" has no games! Ignoring it. Feb 05 21:39:26 lvl1: System "ngp" has no games! Ignoring it. Feb 05 21:39:27 lvl1: System "ngpc" has no games! Ignoring it. Feb 05 21:39:27 lvl1: System "pcengine" has no games! Ignoring it. Feb 05 21:39:27 lvl1: System "psx" has no games! Ignoring it. Feb 05 21:39:27 lvl2: Parsing XML file "/home/pi/.emulationstation/gamelists/retropie/gamelist.xml"... Feb 05 21:39:28 lvl1: System "sega32x" has no games! Ignoring it. Feb 05 21:39:28 lvl1: System "segacd" has no games! Ignoring it. Feb 05 21:39:28 lvl1: System "sg-1000" has no games! Ignoring it. Feb 05 21:39:28 lvl1: System "snes" has no games! Ignoring it. Feb 05 21:39:28 lvl1: System "vectrex" has no games! Ignoring it. Feb 05 21:39:29 lvl1: System "zxspectrum" has no games! Ignoring it. Feb 05 21:39:32 lvl3: SystemView::getViewElements() Feb 05 21:39:32 lvl2: Added unconfigured joystick Nintendo Switch Pro Controller (GUID: 050000007e0500000920000001800000, instance ID: 0, device index: 0). Feb 05 21:39:32 lvl2: Added unconfigured joystick Nintendo Switch Pro Controller IMU (GUID: 050000007e0500000920000001800000, instance ID: 1, device index: 1).
How to replicate the problem
- joycond is installed
- dkms-hid-nintendo is installed
- controller is paired via bluetooth
(RetroPie-Setup -> C Configurations / tools -> 198 bluetooth -> S Show paired and connected devices -> Pro controller) - jstest /dev/input/js0 shows that signals will be received
- emulationstation --debug shows the controller is unconfigured
Here I'm stuck. How to proceed from here? Thanks a lot in advance. :)
-
@huffayoyo said in Another 'my switch pro controller doesn't work' thread:
Here I'm stuck. How to proceed from here? Thanks a lot in advance. :)
Did you try to configure your input in EmulationStation, as explained in https://retropie.org.uk/docs/Controller-Configuration/ ? What exactly 'does not work' means here ?
-
@mitu said in Another 'my switch pro controller doesn't work' thread
Did you try to configure your input in EmulationStation, as explained in https://retropie.org.uk/docs/Controller-Configuration/ ? What exactly 'does not work' means here ?
Ah, sorry. I missed to post this bit of information. The Controller Configuration is exactly where I'm stuck.
After (re)booting the Controller Configuration doesn't show up. I'd guess it's because I already configured a keyboard and a playstation controller I borrowed from a neighbor. Now he got the stuff back and I'm going to configure my own Switch Pro Controller and no keyboard.
Do I have to delete this old configuration and if, where do I do it? Or is there a way to trigger the Controller Configuration from the console?
-
@huffayoyo said in Another 'my switch pro controller doesn't work' thread:
After (re)booting the Controller Configuration doesn't show up ...
OK, so open the EmulationStation menu and choose Input Configuration, you'll get the same configuration page.
-
@mitu said in Another 'my switch pro controller doesn't work' thread:
OK, so open the EmulationStation menu and choose Input Configuration, you'll get the same configuration page.
Starting emulationstation from console didn't work in first glance. I renamed the es_input.cfg to es_input.cfg.old and started emulationstation again from console. A "2 gamepads detected" message shows up, I configured the controller and then I rebooted. Now after reboot it says "No gamepads detected". :thinking:
Edit:
The es_input.cfg now contains a configuration that looks valid. It's a device "Nintendo Switch Pro Controller". -
@huffayoyo Yeah, and it also nuked the auto-configuration scripts that pass the input configuration to the emulators....
-
@mitu Well ... looks like you are right. :D
Edit:
Fixed! ;)
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.