Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Solved I-PAC2 not working in Recalbox for two players

    GamePad/GPIO/USB encoder
    i-pac2 recalbox players
    2
    8
    2011
    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.
    • krlitosmtnez
      krlitosmtnez last edited by

      Hi!

      My recalbox is not working with I-PAC2. I followed the instructions with this guide, but I can't finish the process with good results.

      https://github.com/recalbox/recalbox-os/wiki/keyboard-encoder-configuration-(EN)

      I have two players configuration with 6 buttons + Select and Start for each other.

      First case: (IPAC with Firmware 1.49 (no gamepads)

      */dev/input/by-id/

      usb-Apple__Inc_Apple_Keyboard-event-if01
      usb-Apple__Inc_Apple_Keyboard-event-kbd
      usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_8-event-if02
      usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_8-event-kbd
      usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_8-if01-event-mouse
      usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_8-if01-mouse*

      evtest says:

      No device specified, trying to scan all of /dev/input/event
      Available devices:
      /dev/input/event0: Ultimarc IPAC 2 Ultimarc IPAC 2
      /dev/input/event1: Ultimarc IPAC 2 Ultimarc IPAC 2
      /dev/input/event2: Ultimarc IPAC 2 Ultimarc IPAC 2
      /dev/input/event3: Apple, Inc Apple Keyboard
      /dev/input/event4: Apple, Inc Apple Keyboard*

      event0 gived to me the good results.

      cd /recalbox/share_init/system/configs/xarcade2jstick/
      ls
      mount -o remount,rw /
      touch /recalbox/share_init/system/configs/xarcade2jstick/usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_8-event-if02

      Results:

      Recalbox found the keys, but not allow to save the keys for Player 2. The system says "Keyboard detected" at the gamepad configuration, so the final result is a new config for Player 1.

      Second case: (IPAC with Firmware 1.39 (with gamepads enabled)

      Same process with diferent results. System detects ULTIMATE-IPAC 2 #1 and Ultimate IPAC 2 #2, but buttons A and B can't finded in both players.

      Any thoughts?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • krlitosmtnez
        krlitosmtnez last edited by

        Ok, some improvements here,

        I configurated IPAC2 with gamepad controls using Winipac App. I change A and B Buttons to another pins (Switch 7 and 😎 and now the system finded the clicks.

        The problem is that the config isn't saved to the system. I completed the config for Gamepad 1 and Gamepad 2, but when I reboot, only Gamepad 2 is working, and now Gamepad 1 is not avaiable.

        Now, this is the situation:

        cd /dev/input/by-id/

        usb-Apple__Inc_Apple_Keyboard-event-if01
        usb-Apple__Inc_Apple_Keyboard-event-kbd
        usb-Ultimarc_I-PAC_2_6-event-kbd
        usb-Ultimarc_I-PAC_2_6-if01-event-mouse
        usb-Ultimarc_I-PAC_2_6-if01-mouse
        usb-Ultimarc_I-PAC_2_6-if02-event-joystick
        usb-Ultimarc_I-PAC_2_6-if02-joystick
        usb-Ultimarc_I-PAC_2_6-if03-event-joystick
        usb-Ultimarc_I-PAC_2_6-if03-joystick

        evtest says

        /dev/input/event0: Ultimarc I-PAC 2
        /dev/input/event1: Ultimarc I-PAC 2
        /dev/input/event2: Ultimarc I-PAC 2
        /dev/input/event3: Ultimarc I-PAC 2
        /dev/input/event4: Apple, Inc Apple Keyboard
        /dev/input/event5: Apple, Inc Apple Keyboard
        /dev/input/event6: Xarcade-to-Gamepad Device 1
        /dev/input/event7: Xarcade-to-Gamepad Device 2
        /dev/input/event8: SNES-to-Keyboard Device

        event2 >> Player 1, but this device is giving the error " This device is grabbed by another process." MAYBE IS THIS THE PROBLEM?
        event3 >> Player 2

        I tried to create 2 empty files, but doesn't work.

        Any ideas?

        Thanks!

        voljega 1 Reply Last reply Reply Quote 0
        • voljega
          voljega Banned @krlitosmtnez last edited by

          @krlitosmtnez don't use gamepad mode and keep configured by default do not remap them on windows.

          Did you follow the page you linked to and create the needed files ?

          krlitosmtnez 1 Reply Last reply Reply Quote 0
          • krlitosmtnez
            krlitosmtnez @voljega last edited by

            @voljega Hi! Thanks for your response. Yes, I tried Keyboard mode with default keys.

            Let me try again, I will put the configs and the results...

            1 Reply Last reply Reply Quote 0
            • krlitosmtnez
              krlitosmtnez last edited by

              Yeah!! Finally it's works!!!

              Solution: My problem was the pins at IPAC2. I used 1A, 1B, 2A and 2B pins at the IPAC2. Changed to other switches avaiable and problem solved.

              Also, IPAC2 reset at default presets and create the empty file from SSH.

              Thanks!

              voljega 1 Reply Last reply Reply Quote 1
              • voljega
                voljega Banned @krlitosmtnez last edited by voljega

                @krlitosmtnez out of curiosity, are you on latest version ? I also have an IPAC in my arcade box but using a very old recalbox version (4.0 something)

                yes sadly recalbox supports only some buttons and not all of them, annoying for psx

                krlitosmtnez 1 Reply Last reply Reply Quote 0
                • krlitosmtnez
                  krlitosmtnez @voljega last edited by

                  @voljega yes! Tell me if I'm wrong, but system says 18.07.13.

                  voljega 1 Reply Last reply Reply Quote 0
                  • voljega
                    voljega Banned @krlitosmtnez last edited by

                    @krlitosmtnez hmmm so not exactly latest version (6.0 RC2)

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

                    Want to support us ?

                    63
                    Online

                    98.7k
                    Users

                    28.1k
                    Topics

                    187.0k
                    Posts

                    Copyright © 2021 recalbox.com