Gamecon driver fails to build on Kernel 4.19.x
You will have to downgrade your kernel for now - https://retropie.org.uk/forum/post/190436
@Darksavior Topic isn't correct (says 4.4) - it fails to build on 4.19.x - I'll sort it.
Looks like the change that breaks the driver is in 4.15, when
setup_timerwas replaced by
timer_setupin the Linux kernel internal API (https://kernel.googlesource.com/pub/scm/linux/kernel/git/kees/linux/+/for-linus-timers-conversion-final-v4.15-rc1, https://lwn.net/Articles/735887/).
@mitu Ah. Nice work. Should be an easy IFDEF fix then. No way I know of though of contacting author (maybe email in package info?), but worst case we could fix this ourselves.
This would be better on a GitHub repo also imho. Maybe they would upload their unpackaged files if they don't already have a repository somewhere (if we can contact them).
Darksavior last edited by Darksavior
@BuZz The developer "marqs" sometimes posts on the raspberry pi forums. https://www.raspberrypi.org/forums/viewtopic.php?t=15787
This is his github repo: https://github.com/marqs85/
@Darksavior thanks! :-)
@Darksavior If you're willing to try a patched version (since I have don't have the hardware setup), you can clone from my fork and give it try with the new 4.19.x kernel.
# clone & setup git clone https://github.com/cmitu/gamecon_gpio_rpi cd gamecon_gpio_rpi sudo cp -r gamecon_gpio_rpi-1.3/ /usr/src/ # build the kernel sudo dkms add gamecon_gpio_rpi/1.3 sudo dkms build gamecon_gpio_rpi/1.3 sudo dkms install gamecon_gpio_rpi/1.3
Darksavior last edited by
@mitu This works. Thanks! Thought I had to wait a few months like the last time the driver broke.
@Darksavior Alright, thanks for testing and reporting.
I'll submit the patches upstream - the repo(s) you indicated, maybe we should change also the scriptmodule to pull the sources from there.
@Darksavior The changes have been pushed upstream and also added to the RetroPie's package. If you want, you can update your RetroPie-setup script and then re-install the
gamecondriver package to see if it works.