• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Help with db9_gpio_rpi

Scheduled Pinned Locked Moved Help and Support
db9-gpio-rpiretropie 4.1
2 Posts 2 Posters 1.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
    fdr4prez
    last edited by 15 Jan 2017, 02:23

    Using Pi Zero with RetroPie v4.1

    Preformed these updates:
    sudo apt-get update
    sudo apt-get dist-upgrade

    Used RetroPie to install the DB9 driver:
    RetroPie-Setup > Manage Packages > Manage Driver Packages > gamecontroller > install from binaries

    Viewed the readme in /usr/share/doc/db9_gpio_rpi/README.gz

    Opened the console and loaded the driver:
    sudo modprobe --first-time db9_gpio_rpi map=1,1

    There was no feedback that it was successful, or anything, but if I do it again, it reports that it is already loaded in the kernel. So it appears to be loading something.

    I do see that /dev/input/js0 and /dev/input/js1 are created but they are basically empty. JS0 = 0kb and JS1 = 1kb

    And the joystick does not work.

    Also in the readme is says for auto-loading on reboot go to etc/modules and add db9_gpio_rpi map=1,1 but after reboot the driver is not loaded.

    There was a post here indicating that loading drivers in the etc/modules is not supported any longer, and it was suggested in that post to create a conf file in etc/modprobe.d/ with contents options db9_gpio_rpi map=1,1

    But that does not seem to auto-load the driver either because after reboot there is no JS0 or JS1 created.

    so it seems that the driver can be manually loaded and does not work, and it is not auto-loaded when rebooted.

    What else am I missing to get this driver working?

    1 Reply Last reply Reply Quote 0
    • B
      bhuthogg
      last edited by bhuthogg 23 Feb 2017, 19:09

      ive just managed to get this working by half following what you did and adding in some bits.
      ok
      1)install drivers in the same way you did, but after configure,itll do it for 2 snes pads just accept that for now,
      2 ) add your db9_gpio_rpi to modules as you did ( -the map)
      3) added a db9.conf (db9_gpio_rpi map=4,0)file to modprobe.d/ folder

      that was it

      im pretty new to this so hop that does it for you as well ?

      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.

        This community forum collects and processes your personal information.
        consent.not_received