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 driver installation failed

    Scheduled Pinned Locked Moved Help and Support
    gamecon gpio dr
    8 Posts 2 Posters 2.5k 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.
    • F
      fsd2s
      last edited by fsd2s

      Pi Model: 1 B
      RetroPie Version Used: 4.2.3
      Fresh Install of RetroPie
      USB Devices connected: NES USB Controller Adapter and USB Keyboard
      Controller used: original NES Controller attached through NES USB Adapter
      Error messages received: Gamecon GPIO driver installation FAILED
      How to replicate the problem: problem appears when trying to install the gamecon drivers using the retropie setup script

      attempted:
      removing then re-installing
      sudo apt-get remove db9-gpio-rpi-dkms gamecon-gpio-rpi-dkms

      Same error.

      attempted to update retropie-setup and then retry to install Gamecon, failed.

      How I attempting to install Gamecon.
      In Emustation I go to RetroPie, then go to RetroPie Setup
      Then go to Manage Packages > Manage Driver Packages > 811 gaecondriver > Install from Binary

      This is what happens

      Gamecon GPIO driver installation FAILED
      DB9 GPIO driver installation FAILED
      Please see /home/pi/RetroPie-Setup/logs/rps_2017-05-22_111000.log.gz for more in depth information regarding the error.

      When I run uname -a
      Linux retropie 4.9.24+ #933 Wed Apr 26 17:56:54 BST 2017 armv6l GNU/Linux

      LOG:
      = = = = = = = = = = = = = = = = = = = = =
      Installing dependencies for 'gamecondriver' : Gamecon & db9 drivers
      = = = = = = = = = = = = = = = = = = = = =

      = = = = = = = = = = = = = = = = = = = = =
      Installing 'gamecondriver' : Gamecon & db9 drivers
      = = = = = = = = = = = = = = = = = = = = =

      Selecting previously unselected package gamecon-gpio-rpi-dkms.
      (Reading database ... 88677 files and directories currently installed.)
      Preparing to unpack gamecon-gpio-rpi-dkms_1.2_all.deb ...
      Unpacking gamecon-gpio-rpi-dkms (1.2) ...
      Setting up gamecon-gpio-rpi-dkms (1.2) ...
      Loading new gamecon_gpio_rpi-1.2 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.9.24+ belongs to a chroot's host
      Building for architecture armv6l
      Building initial module for 4.9.24+
      Error! Bad return status for module build on kernel: 4.9.24+ (armv6l)
      Consult /var/lib/dkms/gamecon_gpio_rpi/1.2/build/make.log for more information.
      Selecting previously unselected package db9-gpio-rpi-dkms.
      (Reading database ... 88685 files and directories currently installed.)
      Preparing to unpack db9-gpio-rpi-dkms_1.0_all.deb ...
      Unpacking db9-gpio-rpi-dkms (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.9.24+ belongs to a chroot's host
      Building for architecture armv6l
      Building initial module for 4.9.24+
      Error! Bad return status for module build on kernel: 4.9.24+ (armv6l)
      Consult /var/lib/dkms/db9_gpio_rpi/1.0/build/make.log for more information.
      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

      -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

      /var/lib/dkms/gamecon_gpio_rpi/1.2/build/make.log

      DKMS make.log for gamecon_gpio_rpi-1.2 for kernel 4.9.24+ (armv6l)
      make -C /lib/modules/4.9.24+/build M=/var/lib/dkms/gamecon_gpio_rpi/1.2/build modules
      make[1]: Entering directory '/usr/src/linux-headers-4.9.24+'
      CC [M] /var/lib/dkms/gamecon_gpio_rpi/1.2/build/gamecon_gpio_rpi.o
      /var/lib/dkms/gamecon_gpio_rpi/1.2/build/gamecon_gpio_rpi.c:39:27: fatal error: mach/platform.h: No such file or directory
      #include <mach/platform.h>
      ^
      compilation terminated.
      scripts/Makefile.build:299: recipe for target '/var/lib/dkms/gamecon_gpio_rpi/1.2/build/gamecon_gpio_rpi.o' failed
      make[2]: *** [/var/lib/dkms/gamecon_gpio_rpi/1.2/build/gamecon_gpio_rpi.o] Error 1
      Makefile:1490: recipe for target 'module/var/lib/dkms/gamecon_gpio_rpi/1.2/build' failed
      make[1]: *** [module/var/lib/dkms/gamecon_gpio_rpi/1.2/build] Error 2
      make[1]: Leaving directory '/usr/src/linux-headers-4.9.24+'
      Makefile:5: recipe for target 'all' failed
      make: *** [all] Error 2

      F 1 Reply Last reply Reply Quote 0
      • F
        fsd2s @fsd2s
        last edited by fsd2s

        @fsd2s

        So from googling around I found out this is a new and known issue with RetroPie 4.2

        Currently I cannot find any solution. Guess Gamecon GPIO driver will not work on RetroPie 4.2

        The only work-around is to do a fresh install of RetroPie 4.2 then install Gamecon, but you cannot update the kernel or else it will stop working.

        Here's a link to where I found out that it was a known issue.

        AlexMurphyA 1 Reply Last reply Reply Quote 0
        • AlexMurphyA
          AlexMurphy Banned @fsd2s
          last edited by AlexMurphy

          @fsd2s It will work on 4.2. The image on the download page is based on the 4.4.x kernel. Updating will install the 4.9.x kernel.

          Hmm, saying that... I do recall getting the error on the old kernel too. So, I may be incorrect.

          F 1 Reply Last reply Reply Quote 0
          • F
            fsd2s @AlexMurphy
            last edited by fsd2s

            @AlexMurphy said in Gamecon GPIO driver installation failed:

            @fsd2s It will work on 4.2. The image on the download page is based on the 4.4.x kernel. Updating will install the 4.9.x kernel.

            Hmm, saying that... I do recall getting the error on the old kernel too. So, I may be incorrect.

            Hey by chance do you run any Atari or Sega joysticks through a USB adapter? I've asked around (here and elsewhere) for recommendations for a DB9 USB Adapter for Atari/Sega that works well with RetroPie, but I haven't gotten any replies.

            I found this discussion about Atari USB Adapters, but I wonder if it also works with Sega.

            AlexMurphyA 1 Reply Last reply Reply Quote 0
            • AlexMurphyA
              AlexMurphy Banned @fsd2s
              last edited by AlexMurphy

              @fsd2s No sorry, wired USB controllers only on my setup. Can't be annoyed dealing with wireless / adapter issues. I would love an original MegaDrive / Genesis controller though, even a good knock-off version.

              1 Reply Last reply Reply Quote 0
              • F
                fsd2s
                last edited by

                OK thanks.

                Though I think you misunderstood what I do want. I just want a converter that converts the genuine Atari and Sega DB9 connector to USB. Not wireless.

                AlexMurphyA 1 Reply Last reply Reply Quote 0
                • AlexMurphyA
                  AlexMurphy Banned @fsd2s
                  last edited by

                  @fsd2s No, I know. I misread it quickly. Sorry for any confusion. I believe a lot of people recommend Mayflash products. Have you tried them?

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fsd2s @AlexMurphy
                    last edited by

                    @AlexMurphy Yes I ordered one from China over the weekend. Probably wont get here for 6 weeks :)

                    Although I'm find out from googling, there seems to be some quality issues with latest Mayflash products. And considering I purchased from the least expensive seller, I will probably get a dud.

                    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.