paroj / xpad

Linux Kernel Driver for the Xbox/ Xbox 360/ Xbox One Controllers
845 stars 184 forks source link

xpad wouldn't build with new kernel #241

Open gzuaps opened 1 year ago

gzuaps commented 1 year ago

Hi, new kernel 5.14.0-305.el9.x86_64, xpad failed to build. had to add EXTRA_CFLAGS += -Wno-implicit-fallthrough to Makefile to allow compilation.

MaXxOnGH commented 1 year ago

Same here. Yesterday got updated my retropie via "sudo apt-get update" etc, new kernels are installed and now xpad updates or installations fails.

Hope this gets fixed, soon.

cmitu commented 1 year ago

@MaXxOnGH RetroPie issue is different and it's caused by an automatic switch to 64bit kernels in the latest updates from the RPI repos. See https://retropie.org.uk/forum/topic/34200/.

TL;DR - add arm_64bit=0 to the /boot/config.txt file and reboot, then re-install the xpad driver.

MaXxOnGH commented 1 year ago

I read this yesterday and tried it immediately. It has helped me too. Just forgot to comment here. Thanks anyway for your help.