Closed qonan closed 2 weeks ago
Support file with the controller attached on boot will be good.
Where can i obtain the support file ?
you have modified usb & xpad kernel parameters amongst other changes. remove them.
as per the logs, your controller is pretending to be in a xpad xbox360 mode but isn't being picked up by that driver which means the 8bitdo controller xpad compatibility is not working as intended. if the controller is not on v2 of the firmware then try an update.
otherwise try the switch
mode as per the manual - http://download.8bitdo.com/Manual/Controller/M30/M30_Manual.pdf
there is not a lot we can do if the controller doesn't provide some degree of compatibility with the linux driver ecosystem.
I tried without the modified usb and xpad kernel parameters and the results were the same. The controller is updated to the latest firmware provided by 8bitdo. There is no switch mode on this controller ,as you have provided the m30 manual for the bluetooth version of the controller , which i have and which works in wired mode ( but not in wireless..), but the controller in question is a 8bitdo m30 2.4ghz which doesnt have the switch mode. Regarding the compatibility with the linux driver ecosystem , the controller works fine without any modifications on "linux". Tested on my pc running ubuntu as per my op. Thank you for your help !
ah right, yeah there are multiple versions of this controller. the common thread with the USB & bluetooth variants are that the Switch
mode works fine but xpad
mode is problematic.
we use enhanced xbox drivers for additional functionality beyond the standard linux kernel xpad driver.
provide the dmesg.txt & lsusb.txt files from Ubunutu on the Rpi5 (not another PC).
you can do that with sudo dmesg > dmesg.txt
& lsusb -v > lsusb.txt
.
Unfortunately i dont have anything available to flash ubuntu on at the moment , as it stands i will use the controller in wireless mode only as this seems to be a more complicated issue to pinpoint than i initialy thought. Maybe the issue will be resolved in time with changes to the kernel or by 8bitdo themselves if/when a new firmware arrives. Thank you for your help once more i appreciate it !
Batocera build version
40
Your architecture
Raspberry Pi 5
Your Graphic Processor Unit(s) (GPU)
Videocore
Issue description
8bitdo m30 2.4 ghz doesnt work in wired mode on batocera. Works only using the 2.4 dongle.
Detailed reproduction steps
plug in usb cable in m30 2.4 , plug cable in pi5 with latest batocera. Nothing happens as if nothing has been plugged in.
Details of any attempts to fix this yourself
Tried to troubleshoot using sdl2-jstest and evtest but could not get controller to get recognized at all. Tried multiple usb cables and multiple/all usb ports.Tried everything in the 8bitdo manual, also tried "hid.ignore_special_drivers=1" but the issue remained. Confirmed the gamepad works as intended on my pc running ubuntu 22.04. Gets recognized as an "xbox 360 wired controller" using lsusb , also works using the 2.4 dongle getting recognized as a "6 Button controller".
Details of any modifications you have made to Batocera.
nothing relevant to the issue at hand
Logs and data
No response