Recalbox Forum

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

    Nintendo Adapter Box

    Your recalbox
    nintendo adapter
    6
    33
    12073
    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.
    • acris
      acris last edited by

      I need your archive (recalbox-support.sh)
      In theory I think you need usb quirks or others things udev rules.

      in recalbox.conf you can tested to switch auto driver in sdl2 or udev.

      ## If you don't have issues with your controllers, let auto
      global.inputdriver=auto
      

      reboot you raspberry if you modifed
      sorry for my english.

      1 Reply Last reply Reply Quote 0
      • lackyluuk
        lackyluuk Translator last edited by

        @acris Thank you for your help. I will do the modifications and the support file tomorrow amd let you know

        Your english is quite good, mine is not really better, haha 😄

        NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

        1 Reply Last reply Reply Quote 0
        • lackyluuk
          lackyluuk Translator last edited by lackyluuk

          @acris
          I have changed global.inputdriver=auto to sdl2 and udev. Same behaviour, SNES and NES controller still only work in ES.

          Here are my support.sh files:

          • Only adapterbox connected to recalbox (no controllers connected to box):
            http://www52.zippyshare.com/v/VAAnNWtd/file.html

          • SNES controller connected to adapterbox (Works fine in ES):
            http://www52.zippyshare.com/v/hbrvTfUM/file.html

          NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

            @lackyluuk
            try this idea :

            mount -o remount,rw /
            

            edit this file : /etc/modprobe.d./usbhid.conf

            add theses lines at the end :

            #raphnet.net 4nes4snes v1.5
            options usbhid quirks=0x289b:0x0003:0x040
            

            save and reboot your raspberry.
            Try SNES gamepad.

            but I think theses adapters need patch kernel.

            1 Reply Last reply Reply Quote 0
            • lackyluuk
              lackyluuk Translator last edited by

              @acris
              Thanks for your help. Unfortunately it does not work. I saw that the 4NES4SNES adapter is already in the /usbhid.conf file.
              Could it be possible that the new version v1.5 is the problem?

              Is there anything else I could try to figure out?

              NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                @lackyluuk
                not it s another
                your id vendor and id product are differents, you need to add my informations and try if you didn t do it.

                https://github.com/recalbox/recalbox-buildroot/blob/master/board/recalbox/fsoverlay/etc/modprobe.d/usbhid.conf#L5

                oh not raphnet need a kernel patch too

                @Substring , @ian57

                1 Reply Last reply Reply Quote 0
                • lackyluuk
                  lackyluuk Translator last edited by

                  @acris yes I have tried your info, but no luck 😞

                  NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                    i think kernel patch is missing in recalbox 4.1

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

                      Ni idea if it requires a patch to the kernel, i don't think so as it works fine in es, right ?

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      1 Reply Last reply Reply Quote 0
                      • lackyluuk
                        lackyluuk Translator last edited by

                        @Substring yes, in ES it does what it should. But no response at all in a game. This only occurs with the 4NES4SNES adapter. The one for N64 works fine.
                        I have connected these two adapters with a small usb hub.

                        NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                        Substring 1 Reply Last reply Reply Quote 0
                        • Substring
                          Substring @lackyluuk last edited by

                          @lackyluuk ok, this is what you should do :

                          • test pads with evtest, i think they should work
                          • same goes with sdl2-jstest
                            => if both of them work, then it's a retroarch problem
                          • out of curiosity, try to remap the pads in retroarch so that we can see if retroarch can see them afterall

                          Give a try to https://github.com/recalbox/recalbox-os/issues/1244#issuecomment-2981808465 because it has an updated retroarch version, i know i had to rewrite 1 patch regarding inputs, so maybe that would do.

                          Still, if it works in ES, it means it works with SDL and linux kernel, so that is a retroarch problem. You could eventually try some non retroarch emulators with these pads (mupen scummvm, advancemame, reicast)

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                          1 Reply Last reply Reply Quote 0
                          • lackyluuk
                            lackyluuk Translator last edited by

                            @Substring thanks a lot! I will try these points and give a feedback then.

                            NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                            1 Reply Last reply Reply Quote 0
                            • lackyluuk
                              lackyluuk Translator last edited by lackyluuk

                              @Substring I have found some patches for this problem I think. They are from raphnet itself. Do you think this could work?

                              http://www.raphnet-tech.com/support/retropie/

                              (And we should let him know about recalbox, haha ;))

                              NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                              Substring 1 Reply Last reply Reply Quote 0
                              • Substring
                                Substring @lackyluuk last edited by

                                @lackyluuk 4.4 kernel doesn't seem to require these patches. Anyway please test what I suggested. The quriks are not necessary (or were they already applied when you submitted your support archive ?).

                                So, still, i believe it's a RA problem.

                                Former dev - Please reply with @substring so that i am notified when you answer me
                                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                1 Reply Last reply Reply Quote 0
                                • lackyluuk
                                  lackyluuk Translator last edited by

                                  @Substring Yes of course, I will test it tonight when I am home.
                                  The quirks from @acris were not implemented when I created the support archives.

                                  Yes, the quirks from the second point are only for pre-4.2 kernel. But do you think that the first point "Issue with initial values" (the 3 patches) is also covered through the updated kernel?
                                  http://www.raphnet-tech.com/support/retropie/usbhid_iostart.diff
                                  http://www.raphnet-tech.com/support/retropie/usbhid_start_before_connect.diff
                                  http://www.raphnet-tech.com/support/retropie/jsdev_initial_value.diff

                                  NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                                  Substring 1 Reply Last reply Reply Quote 0
                                  • Substring
                                    Substring @lackyluuk last edited by

                                    @lackyluuk your controller does work with ES, so i'd say yes. I'll have a look at the kernel code though

                                    Former dev - Please reply with @substring so that i am notified when you answer me
                                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                    1 Reply Last reply Reply Quote 0
                                    • lackyluuk
                                      lackyluuk Translator last edited by

                                      @Substring

                                      Results:

                                      • evtest works super fine

                                      • sdl2-jstest works fine as well

                                      • Config in retroarch not successful

                                      • TADAA: I have tested Mupen and the SNES pad worked even in-game... so definitely a retroarch problem

                                      • Installed the unofficial new version with retroarch 1.5 --> no success

                                      Maybe let them know about this 4NES4SNES v1.5 adapter?

                                      ..pheww..

                                      NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                                      Substring 1 Reply Last reply Reply Quote 0
                                      • Substring
                                        Substring @lackyluuk last edited by

                                        @lackyluuk even switching to the input mode to sdl (or sdl2 i'm not sure) did not help ?

                                        Former dev - Please reply with @substring so that i am notified when you answer me
                                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                        1 Reply Last reply Reply Quote 0
                                        • lackyluuk
                                          lackyluuk Translator last edited by

                                          @Substring I have tried 'udev' and 'sdl2' with the previous version. I should try it tonight with the new verzion again. This went out of my mind..I'll let you know

                                          NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                                          Substring 1 Reply Last reply Reply Quote 0
                                          • Substring
                                            Substring @lackyluuk last edited by

                                            @lackyluuk I think it won't help ... i should eventually ask retroarch (the problem is that we slightly patch RA regarding inputs).

                                            Please send me a reminder next week regarding this issue, this week is a busy IRL recalbox week (we're all going to HFS Summer 3 and will be having a conference there to talk about Recalbox).

                                            Former dev - Please reply with @substring so that i am notified when you answer me
                                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

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

                                            Want to support us ?

                                            82
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com