gamecon_gpio_rpi fails to install on RPi3
-
Pi Model: Raspberry Pi 3 B
RetroPie Version Used: 4.1.6
Built From: Cloned repository down
USB Devices connected: n/a
Controller used: SNES
Error messages received: See below
Guide used: Manual install guide on WikiPreparing to unpack db9-gpio-rpi-dkms_1.0_all.deb ... ------------------------------ Deleting module version: 1.0 completely from the DKMS tree. ------------------------------ Done. Unpacking db9-gpio-rpi-dkms (1.0) over (1.0) ... Setting up db9-gpio-rpi-dkms (1.0) ... Loading new db9_gpio_rpi-1.0 DKMS files... First Installation: checking all kernels... dpkg: warning: version '*-*' has bad syntax: version number does not start with digit It is likely that 4.1.19-v7+ belongs to a chroot's host Building for architecture armv7l Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. modinfo: ERROR: Module gamecon_gpio_rpi not found. modinfo: ERROR: Module db9_gpio_rpi not found. Gamecon GPIO driver installation FAILED Db9 GPIO driver installation FAILED Log ended at: Sat 24 Dec 00:19:23 UTC 2016 Total running time: 0 hours, 0 mins, 10 secs
I'm working on just a goofy little project to intercept SNES button pushes to my Raspberry Pi 3. I read some schematics of the controller and decided to dismantle an SNES to solder wires to the back of the controller port for the clock/latch/data signals.
Here's a picture of what that looks like: http://i.imgur.com/vhgaGOd.jpgI can't seem to install the right drivers to intercept the button sequences, though. The error message in the log (posted above) doesn't provide me with much help.
Oddly enough, I can manually set up a listener with
modprobe gamecon_gpio_rpi map=0,0,1,0,0,0
and am usingjstest /dev/input/js0
to intercept signals. Things appear to be working, with a slight twist: every time I hit the B button, every single button is pressed. Here's a GIF of that sequence: http://i.imgur.com/jghmFmh.gifMy ultimate goal is to be able to intercept the button presses on my SNES controller. How can I move forward on doing that? Happy to provide any additional information necessary!
-
@gjtorikian from a terminal what is the output of
uname -a
? -
It's:
Linux raspberry pi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
-
@gjtorikian said in gamecon_gpio_rpi fails to install on RPi3:
It's:
Linux raspberry pi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
You need to update your Raspbian packages. Looks like you have updated retropie but not the system.
-
@BuZz That did it, thank you! Out of curiosity, how were you able to identify that as the problem?
-
@gjtorikian your kernel was old.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.