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

    up & down (y-axis) not working in 3.8

    Scheduled Pinned Locked Moved Help and Support
    115 Posts 26 Posters 80.8k 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
      Fabpie
      last edited by

      @retropiepghguy Thanks in advance... If you do you'll be my hero! finger crossing ;)

      R 1 Reply Last reply Reply Quote 0
      • R
        retropiepghguy @Fabpie
        last edited by

        @Fabpie from what I am reading, getting the hex editor installed is the tough part. I may ftp the file off, edit it on Windows, and ftp it back. Luckily I have a test system.

        1 Reply Last reply Reply Quote 0
        • F
          Fabpie
          last edited by

          Thanks again!
          Just a little question, do I have to give you my hid.dr.ko file?

          1 Reply Last reply Reply Quote 0
          • F
            Fabpie
            last edited by

            Just discovered that with another pad with USB pad driver, daphne works.
            So it seems it is a hid-dr.ko driver problem or something else.
            Hope this could be a clue for you!
            thanks

            R 1 Reply Last reply Reply Quote 0
            • R
              retropiepghguy @Fabpie
              last edited by

              @Fabpie Thanks. It does work with another gamepad. I tested that. I got the up and down to work after making changes to the driver. Now left and right does not work. Very odd!!!!

              1 Reply Last reply Reply Quote 0
              • F
                Fabpie
                last edited by

                it does not recognize the 0 axis, 30 in HEX. The strange thing is that works with "Y" axis and actually look at the driver, this make sense. I mean once you switch from 33 ("Rx" based to the Joystick scheme) to 31 ("Y" based to the Joystick scheme) to fix "Y" as above, solvethe issue as should be. So for "X" it looks like the "0" value is not really appreciated.
                I hope there is a solution to fix this. So frustrating ;)

                1 Reply Last reply Reply Quote 0
                • F
                  Fabpie
                  last edited by

                  Based on my internet readings The issues cuold be:

                  • Debian Bug report logs - #785606
                    HID support broken for some devices (incl. DragonRise USB joystick)

                  • Driver problem (hid-dr.ko)

                  • Other Kernel issues

                  • I've also found articles talking about ways to PATCH this problem but, onestly, I can't manage to figure it out.


                  Can we just tell the joystick to use another driver and emuate an USB GAMEPAD?
                  Can we fix the firmware?

                  This is all I basically have in my mind / dreams ;) . Really hope to find out a solution. As Daphne would say... Save Me! ;)

                  1 Reply Last reply Reply Quote 0
                  • R
                    retropiepghguy
                    last edited by

                    Thanks. Also, I edited the file in Windows. I was able to copy and past the changed file into the proper directories (after a backup of the file just in case) by manually editing /etc/ssh/sshd_config. I changed the PermitRootLogin to yes and rebooted. I was able to ssh and FTP in as root, giving me the permissions to overwrite the files. So do you think there is a fix for this issue? Dragon's Lair is not playable with the Dragonrise with it!

                    1 Reply Last reply Reply Quote 0
                    • F
                      Fabpie
                      last edited by

                      I'm wondering if anyone here can explain if there is a solution, at least how to patch this issue.
                      Very sad about it.

                      1 Reply Last reply Reply Quote 0
                      • R
                        retropiepghguy
                        last edited by

                        So doing what I did got the Y axis to work in Daphne, but took out a bunch of other joystick functions. And it still didn't fix the X axis in Daphne. I had to re-image my entire system! This is a bad issue for sure.

                        1 Reply Last reply Reply Quote 0
                        • F
                          Fabpie
                          last edited by

                          Even stranger. I will try by patching it. But it's quite tricky ;)

                          1 Reply Last reply Reply Quote 0
                          • F
                            Fabpie
                            last edited by

                            I've found this recent patch that looks like it would be helpful for this issue.
                            Only one little / big problem for me.
                            No idea in how to patch it ;)
                            I've tried few things but i couldn't been able to patch it.

                            Does anybody have suggestions?

                            [PATCH v2 1/2] Revert "HID: dragonrise: fix HID Descriptor for 0x0006 PID"
                            http://www.spinics.net/lists/linux-input/msg47012.html

                            [PATCH v2 2/2] hid: hid-dr: add input mapping for axis selection
                            http://www.spinics.net/lists/linux-input/msg47013.html

                            Thanks in advance

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              retropiepghguy @Fabpie
                              last edited by

                              @Fabpie thanks for sending. I have no idea what it means however. If u ask me, our best bet is to find another encoder. Bummer!

                              1 Reply Last reply Reply Quote 0
                              • F
                                Fabpie
                                last edited by

                                I will fight for Daphne. I love that game since '83. It has to work ;)

                                R 1 Reply Last reply Reply Quote 1
                                • R
                                  retropiepghguy @Fabpie
                                  last edited by

                                  @Fabpie I want it to work. But that "fix" blew up my test machine. The Dragonrise is amazing except for this issue.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Fabpie
                                    last edited by

                                    Solved this issue by using an hardware way! It is a bit "analogic" but nice and functional.
                                    I'm basically building an arcade cabinet so just adding a button I fix it.

                                    That's how:

                                    I'm using a zero delay USB encoder that uses his partner in crime "Dragonrise" (driver hid-dr.ko).
                                    On this encoder there is a "MODE" input that switches X,Y,Z,Rx,Ry, to Hat0x and Hat0y.
                                    I quicly connected a button to this "MODE" input.
                                    When I play daphne i just need to press it and that will pass to daphne new types of axis (Hat0x, Hat0y).
                                    At this point due to my personal experiences what happens is that daphne recognize the joystick in both cases but it hasn't able to understand the X axis due to the driver hid-dr.ko (This needs a fix anyway), instead it is able to auto map the stick with this new axis that maybe are far from conflict with something else.

                                    I'm very very happy even if is a bit a DIY solution and it will cost a special button only for daphne and specially for my arcade cab.

                                    For now I'm fine with this solutio but as i said it would be great to add a "not analogic" fix ;)

                                    if you have a backup of the hid-dr.ko should solve your problem. I'm sorry for your buttons, I hope hasn't been my fault. For this thanks again for your research about this issue.

                                    Tonight I save Daphne !!!

                                    R 1 Reply Last reply Reply Quote 1
                                    • R
                                      retropiepghguy @Fabpie
                                      last edited by

                                      @Fabpie My god!!! Nice work!!!!!!

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        retropiepghguy
                                        last edited by

                                        And let me get this straight. Amazing work BTW!!!! I mean really!!! Wow. The "mode" button is right next to the pin-out for the "left" button. You wire a button to that. Just before firing up Dragon's Lair, you hit that button? That's it? And did you still have to make that goofy change to the hid-dr.ko driver? Being able to use that butotn without the HEX fix to the drivers would be even more amazing!!! Please advise!!!!!

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          retropiepghguy
                                          last edited by

                                          It's brilliant. I just tested it. No driver change needed. Wow. And the button can be pressed at anytime. Wow. Amazing work!!!!!

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            Fabpie
                                            last edited by

                                            Very
                                            happy it works for you as well !
                                            Is a nice fix... I think verybody who loves Daphne / lasergames should consider this way.
                                            When digital meets analog ;)

                                            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.