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 get MK_Arcade_Joystick_rpi driver working with 2 joysticks

    Scheduled Pinned Locked Moved Help and Support
    driverretropie 4.1mkarcadejoyst
    7 Posts 5 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.
    • ThrylaxT
      Thrylax
      last edited by Thrylax

      I am having trouble getting this driver to work in RetroPie 4.1 with two players. It works fine with one player.
      I installed driver v0.1.4. manually back in RetroPie 3.8 and got it to work with two players no problem. But now for some reason I can't seem to get it to work with two players.

      Pi Model 3
      RetroPie Version 4.1

      Just to verify, this is what I did.

      I installed this driver automatically from RetroPie Setup drivers install. So it was not a manual install this time around.

      I then ran sudo nano /etc/modules to verify that mk_arcade_joystick_rpi was added. It was.

      Then I ran sudo nano /etc/modprobe.d/mk_arcade_joystick.conf and added the line options mk_arcade_joystick_rpi map=1,2 Making it the only line in the file. Saved the file and exited.

      Performed a reboot and BAM! Joystick 0 is detected and works, but Joystick 1 is not.

      Is there some other thing I need to do to make this work? Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • ThrylaxT
        Thrylax
        last edited by

        OK....seems like I figured it out on my own.
        Heres what I did if anyone else has the issue.
        Seems like I was partly using old instructions from earlier build which messed me up a bit. Normally it would not have been an issue if I'd installed manually using the old build, but I installed automatically using the build in driver for Retropie 4.1.

        First I ran udevadm info --name /dev/input/js0 to see if the first stick was detected.....it was.

        Then I ran udevadm info --name /dev/input/js1 to see if the second stick was detected, it was not.

        Then I ran grep "mk_arcade_joystick_rpi" /etc/modprobe.d/* to see what options were loaded and noticed that I had accidentally added a new file called mk_arcade_joystick.conf set with the correct options of mk_arcade_joystick_rpi map=1,2.

        But I also noticed a file called mk_arcade_joystick_rpi.conf set with the incorrect option of mk_arcade_joystick_rpi map=1 loaded in addition to the first. So I changed the options for this file to mk_arcade_joystick_rpi map=1,2 and deleted mk_arcade_joystick.conf and performed a reboot and BAM! Fixed.

        Thats what I get for mixing new instructions with old......my bad.
        Hope this helps someone else in the future.

        ArcadeschorschA E 2 Replies Last reply Reply Quote 1
        • ArcadeschorschA
          Arcadeschorsch @Thrylax
          last edited by

          @Thrylax
          Hi! We have a similar problem, maybe you can help?
          RP3 Model B, Version 4.1
          For a new arcade projekt we want to use raspberry's GPIOs and the necessary driver mk_arcade_joystick_rpi should be included in Retropie version 4.1.
          For some reason it's not working, no gamepad detected. Is it necessary to "activate" the driver somewhere?

          With Recalbox the same hardware setup is working (Joysticks are okay), could you assist with Retropie?

          Thank you!

          P.S.: We have no (little) Linux knowledge,

          ThrylaxT 1 Reply Last reply Reply Quote 0
          • E
            Eidje @Thrylax
            last edited by

            @Thrylax You saved my life man ! 4 days on this problem and it was the same thing : the mk_arcade_joystick_rpi was with Map=1 and my mk_arcade_joystick with map=1,2. I've done the same thing, editing the mk_..._rpi et removing the old one ... and it works ! really thank you so much

            1 Reply Last reply Reply Quote 0
            • ThrylaxT
              Thrylax @Arcadeschorsch
              last edited by

              @Arcadeschorsch I'm not at my system now so I can't remember exactly where you go to enable it, but yes you have to enable it first to make it work.
              Goto RetroPie Setup and install "mk_arcade_joystick" driver. When I get a chance I'll repost with detailed instructions.

              1 Reply Last reply Reply Quote 0
              • M
                Mika5490
                last edited by

                Hello !

                I think I have this Problem but I dont know how to solve it because i dont know how to remove the file mk_arcade_joystick.conf ?
                When I use command "rm" it says Access Denied and also with "rm -r"

                How to delete this file ?

                Thank you for your help

                sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                • sirhenrythe5thS
                  sirhenrythe5th @Mika5490
                  last edited by sirhenrythe5th

                  Am i an allen? I just connect my two MortalKombat-Tournament-Sticks and they work like a charm? Even without caring about drivers, the did not even exist the first time i used them.
                  Talking about the PS3-versions of these great sticks.
                  On the other site the PS3 Version of my NeoGeoStick 2+ and the MadCatz SF4 Tournament Stick for the PS3 dont work with my Pi Setup at all.

                  -- Retro-Achievements Username: SirALX --
                  RetroRatio: 1.88
                  Started Games beaten: 2,47%
                  Site Rank: 4382/93743 ranked users (TOP 4.76%)
                  Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                  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.