Recalbox Forum

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

    Problems while building my arcade with - DragonRise Inc. Generic USB Joystick

    GamePad/GPIO/USB encoder
    while building arcade dragonrise inc
    5
    25
    22761
    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.
    • Dragu
      Dragu Banned last edited by Dragu

      @Substring
      I also messed around with sdl2, nothing changed. So this seems always a problem when you have 2 wired clone controllers. In game, the cores use both, but in Retroarch you cannot change the user assignement. As example very strange behavior in the Retroarch Menu interface.
      Settings --> Input --> User 1 Bind --> User 1 Device Index. In my case you can circle the options between : Dragonrise #0, Port #2, Port #3, Port #4, Disabled.
      You have seen that Port #1 is missing, so he just on USB ports, ignoring your nice ES, this from Retropie and Lakka.
      But worse, if you circle second time on Dragonrise #0, he pass the handle to your second controller and you must now continu in the Retroarch Menu with User 2.
      Nice Bulls**t. 😉

      1 Reply Last reply Reply Quote 0
      • Dragu
        Dragu Banned last edited by Dragu

        @Substring

        I found something interesting with dmesg :

        login as: root
        root@Recalbox's password:
        #
        # dmesg | grep DragonRise
        [    1.923431] usb 1-1.2: Manufacturer: DragonRise Inc.
        [    2.123462] usb 1-1.3: Manufacturer: DragonRise Inc.
        [    2.613596] input: DragonRise Inc.   Generic   USB  Joystick   as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0079:0006.0001/input/input0
        [    2.613853] dragonrise 0003:0079:0006.0001: input,hidraw0: USB HID v1.10 Joystick [DragonRise Inc.   Generic   USB  Joystick  ] on usb-3f980000.usb-1.2/input0
        [    2.615054] input: DragonRise Inc.   Generic   USB  Joystick   as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:0079:0006.0002/input/input1
        [    2.615295] dragonrise 0003:0079:0006.0002: input,hidraw1: USB HID v1.10 Joystick [DragonRise Inc.   Generic   USB  Joystick  ] on usb-3f980000.usb-1.3/input0
        #
        
        

        Is there an error in the last line and position, should it not be input 1 instead of input 0 ?

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

          @dragu should compare with 2 xinmos. I believe it's normal when a controller handles a single player

          As long as they are mapped on separate /dev/input/eventX

          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
          • Dragu
            Dragu Banned last edited by

            @Substring
            I totaly agree with you that 1 controller handles a single player. But here he just forget controller #1. So I think that you should be able to map controller #0 to all possible players, with controller #1 (not existing) should be the same.
            If I now define in Retroarch Menu, that Player 1 is not existing, after this he map the controller #0 to Player 2, also in game.

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

              @dragu do your encoders respond on separate events when you try evtest ?

              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
              • Dragu
                Dragu Banned last edited by

                @Substring
                Absolutely

                # evtest
                No device specified, trying to scan all of /dev/input/event*
                Available devices:
                /dev/input/event0:      DragonRise Inc.   Generic   USB  Joystick
                /dev/input/event1:      DragonRise Inc.   Generic   USB  Joystick
                /dev/input/event2:      1byone Keyboard
                Select the device event number [0-2]:
                

                and he even dont forget my keyboard 😉

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

                  @dragu so it's a pure 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
                  • Dragu
                    Dragu Banned last edited by

                    @Substring
                    Small chance that they resolve with newer version. 😉

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

                      @dragu have you checked their github to see if an issue points at your 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
                      • Dragu
                        Dragu Banned last edited by

                        @Substring
                        Not yet deep inside. Just find traces everywhere. So I will collect. We have 1.6.9 so that's important also.

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

                          @dragu they won't bother with a not up to date RA ...

                          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
                          • Dragu
                            Dragu Banned last edited by Dragu

                            @Substring
                            Perhaps, but the time that this story is trailing over the versions...
                            Discussion in Retropie : https://github.com/RetroPie/RetroPie-Setup/issues/1798
                            (The USB Socket toggeling remember Bells phone time with a lot of young ladies and electric plugs 😄 )
                            and in the Retroarch Github I found the following about controllers :
                            https://github.com/libretro/retroarch-joypad-autoconfig/tree/master/udev

                            What I cannot find in our version is the definition : input_device_display_name,
                            this is perhaps a possibility to distinct the twins ?

                            1 Reply Last reply Reply Quote 0
                            • Dragu
                              Dragu Banned last edited by

                              @Substring
                              May be one solution, if not resolved in new version to add usb port number in udev rules ? Like this you would have different device names.

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

                                @dragu what a pain

                                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
                                • Chrisitian Alonso
                                  Chrisitian Alonso last edited by

                                  Just made my own arcade an came up with the same problem when I set up one the other f**ks up. checked the device ID thing and the were both "ID 0079:0006"

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

                                  Want to support us ?

                                  88
                                  Online

                                  99.6k
                                  Users

                                  28.1k
                                  Topics

                                  187.1k
                                  Posts

                                  Copyright © 2021 recalbox.com