Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8BITDO M30 2.4G not working in wired mode #12307

Open
qonan opened this issue Aug 18, 2024 · 9 comments
Open

8BITDO M30 2.4G not working in wired mode #12307

qonan opened this issue Aug 18, 2024 · 9 comments
Labels
controllers Controller issues need info need vendor support or information to resolve

Comments

@qonan
Copy link

qonan commented Aug 18, 2024

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

@dmanlfc
Copy link
Collaborator

dmanlfc commented Aug 19, 2024

Support file with the controller attached on boot will be good.

@Tovarichtch Tovarichtch added controllers Controller issues need info need vendor support or information to resolve labels Aug 19, 2024
@qonan
Copy link
Author

qonan commented Aug 19, 2024

Where can i obtain the support file ?

@lbrpdx
Copy link
Contributor

lbrpdx commented Aug 19, 2024

@qonan
Copy link
Author

qonan commented Aug 19, 2024

@dmanlfc
Copy link
Collaborator

dmanlfc commented Aug 21, 2024

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.

@qonan
Copy link
Author

qonan commented Aug 21, 2024

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 !

@dmanlfc
Copy link
Collaborator

dmanlfc commented Aug 22, 2024

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.

@dmanlfc
Copy link
Collaborator

dmanlfc commented Aug 22, 2024

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.

@qonan
Copy link
Author

qonan commented Aug 22, 2024

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controllers Controller issues need info need vendor support or information to resolve
Projects
None yet
Development

No branches or pull requests

4 participants