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

    Cannot detect gamepad - gpionext config issues

    Scheduled Pinned Locked Moved Help and Support
    retropie 3gamepad configgpionext config
    6 Posts 2 Posters 1.9k 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.
    • S
      silk
      last edited by

      I have been having issues detecting the gamepad when I installed Retropie onto a pre-set up arcade game system. After installing Retropie, I typed in:

      gpionext config

      The following error message is received:

      Traceback (most recent call last):
      File "/home/pi/GPIOnext/config_manager.py", line 14, in <module>
      from evdev import ecodes as e
      ImportError: No module named 'evdev'

      Does anyone know what the cause of the error is?

      Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..) B+
      Power Supply used: (If using a Pi) Pi
      RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.14
      Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used)
      USB Devices connected: Keyboard
      Controller used: Keyboard
      Error messages received: See above
      Verbose log (if relevant):
      Guide used: (Mention if you followed a guide) https://www.jaycar.com.au/medias/sys_master/images/images/9547966742558/XC9064-manualMain.pdf
      File: (File with issue - with FULL path)
      Emulator: (Name of emulator - if applicable)
      Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
      How to replicate the problem:

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @silk said in Cannot detect gamepad - gpionext config issues:

        Does anyone know what the cause of the error is?

        You're missing a Python package, which should be included in a RetroPie basic install and which - I assume - would also be installed by GPIOnext.
        Did you follow the GPIOnext installation instructions before trying to configure it ?

        1 Reply Last reply Reply Quote 0
        • S
          silk
          last edited by

          I have reinstalled it a number of time now. One thing I cannot do and I do not know if this will affect the outcome is that when I type

          cd ~

          instead of typing that, it types

          cd ¬

          and when I press enter, the following message appears:

          -bash: cd: ¬: No such file or directory

          I do not know if this means it is being installed in the wrong directory.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @silk
            last edited by

            By default, you're already in the ~ folder (which is a shortcut for the user's home folder), so it shouldn't matter much.
            Also by default, the keyboard layout in Raspberry Pi OS is set to UK, you can change it by running

            sudo dpkg-reconfigure keyboard-configuration
            

            and choosing an appropriate keyboard layout (English US).

            Regarding the installation - are you sure you've run it correctly ? The install.sh script mentioned in the instructions should take care of installing the correct Python pre-requisites.

            1 Reply Last reply Reply Quote 0
            • S
              silk
              last edited by

              Thanks for your help and patience.

              I think you are right that there is an issue with the install.

              When I type bash GPIOnext/install.sh the following messages appear:

              Err http://mirrordirector.raspbian.org jessie In Release
              Err http://archive.raspberrypi.org jessie In Release

              Err http://archive.raspberrypi.org jessie Release.gpy
              Could not resolve 'archive.raspberrypi.org'
              Err http://mirrordirector.raspbian.org jessie Release.gpy
              Could not resolve 'mirrordirector.raspbian.org'
              Reading package list begins

              Then there are list of failure.

              Not sure what I am doing wrong.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @silk
                last edited by

                @silk You're using a very old RetroPie version. Use the latest image from retropie.org.uk/download.

                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.