L2 & R2 triggers not recognized in ES after update
corezon last edited by corezon
Rasperry Pi 4 4GB
Updated yesterday and now Emulation Station will not recognize the L2 & R2 triggers on my wired 8bitdo SN30 Pro. This worked just fine before the update and jstest shows the triggers as Axis 2 & 5. Cannot put this controller in D input mode as it's the wired model. Reconfiguring input still doesn't detect the axis for L2 & R2. I will try to manually adjust the autoconfig, but the main concern is that... this shouldn't be normal, right? Updating RetroPie through the RP-Setup script shouldn't result in controllers just breaking.
Try to re-install the
xpaddriver. Did you use
rpi-updatein your update process ?
Zel last edited by
Same here, fresh install on RPI 4GB (former Lakka user here), 8bitdo SN30 Pro in X input connected via USB cable, l2&r2 were not recognized during initial setup
@mitu I went through the gui setup script and selected the update option. I selected to update the underlying OS packages as well when prompted. I did not run rpi_update manually or anything like that.
Removing and then reinstalling xpad from source finally fixed it. So thank you. I still think it's weird that this happened at all...
The driver (
xpad) should be updated when the kernel is also updated. Do you have a log from the update ? It should be one in the
$HOME/RetroPie-Setup/logs, archived. If you could extract it and post it on pastebin.com, we might spot if any problems occurred during the update.
But specifically at the end it has this nugget:
= = = = = = = = = = = = = = = = = = = = = Configuring 'xpad' : Updated Xpad Linux Kernel driver = = = = = = = = = = = = = = = = = = = = = modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/5.4.79-v7l+/modules.dep.bin' modprobe: FATAL: Module xpad not found in directory /lib/modules/5.4.79-v7l+ /home/pi
The actual install error is on the next statement:
DKMS: add completed. Error! echo Your kernel headers for kernel 5.4.79-v7l+ cannot be found at /lib/modules/5.4.79-v7l+/build or /lib/modules/5.4.79-v7l+/source. /opt/retropie/supplementary/xpad /home/pi
Because the kernel was upgraded, there are no kernel headers for the current running kernel, so upgrading the driver fails here. Which is strange since the kernel headers package for the new version was installed already, so it should be set-up.
Can you run
systemctl status systemd-modules-load.service
and post the output ?
Actually, there might be an issue with the driver update script when kernel also changes during update. We'll look into it.