RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    gamecon_gpio_rpi fails to install on RPi3

    Scheduled Pinned Locked Moved Help and Support
    button pressesinstallationconfigurationgamecon drivermodprobe
    6 Posts 2 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gjtorikian
      last edited by

      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 Wiki

      Preparing 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.jpg

      I 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 using jstest /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.gif

      My 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!

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @gjtorikian
        last edited by

        @gjtorikian from a terminal what is the output of uname -a ?

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • G
          gjtorikian
          last edited by

          It's:

          Linux raspberry pi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
          
          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @gjtorikian
            last edited by

            @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.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            G 1 Reply Last reply Reply Quote 0
            • G
              gjtorikian @BuZz
              last edited by

              @BuZz That did it, thank you! Out of curiosity, how were you able to identify that as the problem?

              BuZzB 1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @gjtorikian
                last edited by

                @gjtorikian your kernel was old.

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                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.