• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.0k 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.
  • S
    saulart
    last edited by 1 Jul 2016, 13:58

    My solution to this problem was to install Recalbox 4.0 beta 3.

    1 Reply Last reply Reply Quote 0
    • R
      robthedude81
      last edited by 21 Jul 2016, 13:36

      Hi

      I have this Dragonrise joystick too. it seems to work when navigating the menus, until i load into a game, once i have loaded a game up it totally screws up the config and my buttons and joystick no longer work the way i have configured them.

      How can i change this?

      Thanks

      1 Reply Last reply Reply Quote 0
      • D
        dpalmeira
        last edited by 22 Jul 2016, 20:51

        Hi robthedude81,
        I have the same problem using FBA game and Dradonrise joystick. I tried to copy:
        /opt/retropie/configs/all/retroarch-joypads/DragonRiseInc.GenericUSBJoystick.cfg
        into /opt/retropie/configs/fba/retroarch.cfg file, but it does not effect.

        Only change my insert coin and select buttons if I change the file /opt/retropie/configs/fba/fba2x.cfg , but with the stick up/down/left/right inside the game it doesn't works.

        Any idea??

        1 Reply Last reply Reply Quote 0
        • D
          dpalmeira
          last edited by 22 Jul 2016, 21:30

          I just changed the emulator:
          https://github.com/RetroPie/RetroPie-Setup/wiki/runcommand

          from pifba to lr-fba-next or lr-fba and the controls works well, but with mi RPI b+ it's too slow. When I use pifba the sound and game go much better but controls fails...

          any suggestion?

          1 Reply Last reply Reply Quote 0
          • S
            Swampy @Fluk3
            last edited by 6 Aug 2016, 14:02

            I also have the problem with the swapped axis in non libretro emulators!

            I looked at this site:
            https://github.com/raspberrypi/linux/issues/1527/

            Perhaps a kernel-problem?

            Linux is like wigwam: no Gates, no Windows and Apache inside.

            1 Reply Last reply Reply Quote 0
            • B
              BuZz administrators
              last edited by 6 Aug 2016, 14:07

              Looks like it - thanks for the link.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • L
                lohocla
                last edited by 7 Aug 2016, 06:58

                Anyone figure this out? I'm on 8 hours messing with this.

                S 1 Reply Last reply 8 Aug 2016, 14:10 Reply Quote 0
                • S
                  SeC @lohocla
                  last edited by 8 Aug 2016, 14:10

                  @lohocla I fixed this my hexediting HID driver for my USB arcade controller - there's two bytes needed to change - look at my issue reported here https://github.com/raspberrypi/linux/issues/1527/ to see which bytes must be swaped.

                  S B 2 Replies Last reply 8 Aug 2016, 14:29 Reply Quote 1
                  • S
                    Swampy @SeC
                    last edited by Swampy 8 Aug 2016, 20:20 8 Aug 2016, 14:29

                    Is it possible to publish this fix in the main linux kernel?
                    My linux main-system (Ubuntu 16.04/kernel 4.4.0-31-generic) also has this problem with the joypad!

                    GitHub driver:
                    https://github.com/torvalds/linux/blob/c05c2ec96bb8b7310da1055c7b9d786a3ec6dc0c/drivers/hid/hid-dr.c

                    Linux is like wigwam: no Gates, no Windows and Apache inside.

                    1 Reply Last reply Reply Quote 1
                    • R
                      Ravneson
                      last edited by 13 Aug 2016, 19:15

                      Is there any way of implementing a quick fix? @SeC, is hexediting the driver something easily done? (googling has only led to a limited understanding of what hexediting is..)

                      S 1 Reply Last reply 16 Aug 2016, 12:07 Reply Quote 0
                      • S
                        SeC @Ravneson
                        last edited by 16 Aug 2016, 12:07

                        @Ravneson You need to install hex editor (ht for example, http://hte.sourceforge.net/, it should be in apt database). Then find hid-dr.so (find / -name hid-dr.so), edit it, look for byte pattern:
                        09 30 09 33 09 32 09 31 09 34
                        replace with
                        09 30 09 31 09 32 09 33 09 34

                        (swap 31 with 33 and vice-versa)

                        save file, restart, should be ok. Don't remember if driver name is as I wroted (I'm at work now, can't check). Let me know if you need more help as I can prepare simple script to make that change if you don't make it :)

                        R 1 Reply Last reply 16 Aug 2016, 21:02 Reply Quote 0
                        • R
                          Ravneson @SeC
                          last edited by 16 Aug 2016, 21:02

                          @SeC Got ht installed just fine, but stranded on finding the driver as you mentioned it. The closest I could find was "hid-dr.ko", but that couldn't be edited by ht (or at least didn't contain the expected content).. If it isn't too much of a bother it would be great if you could check the driver name as I gave a few suspicious candidates a try to no avail.. (a script would be very gracious of you, but I'm pretty sure I can manage to edit the patterns if I just find the right file :) )

                          Thanks ever so much for the help! :)

                          S 1 Reply Last reply 17 Aug 2016, 07:34 Reply Quote 0
                          • S
                            SeC @Ravneson
                            last edited by 17 Aug 2016, 07:34

                            @Ravneson Hey, there are 2 locations to edit:
                            lib\modules\4.4.11+\kernel\drivers\hid
                            lib\modules\4.4.11-v7+\kernel\drivers\hid

                            file name is hid-dr.ko

                            MAke changes to both files, as I don't know which one will be loaded for you. Save changes then reboot, Y axis should be fine.

                            Look at the picture below, I've marked pattern you need to change (just swap 33 with 31, keep in mind those are hex values, not text). Picture is from windows box, so don't worry :)

                            0_1471419141519_dr_hexedit.png

                            R 1 Reply Last reply 17 Aug 2016, 20:26 Reply Quote 1
                            • R
                              Ravneson @SeC
                              last edited by 17 Aug 2016, 20:26

                              @SeC Thank you!! :) :) That worked just brilliantly! (for anyone else having the same issue, hexcurse turned out to be a simple & fast hex-editor that can be installed & used on ones Pi)

                              Cheers!

                              1 Reply Last reply Reply Quote 0
                              • B
                                BuZz administrators @SeC
                                last edited by BuZz 17 Aug 2016, 20:41

                                @SeC said in up & down (y-axis) not working in 3.8:

                                @lohocla I fixed this my hexediting HID driver for my USB arcade controller - there's two bytes needed to change - look at my issue reported here https://github.com/raspberrypi/linux/issues/1527/ to see which bytes must be swaped.

                                Did you report this upstream btw as mentioned https://github.com/raspberrypi/linux/issues/1527/#issuecomment-225559930 ? (Would be good to get the fix in a future release).

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                S 1 Reply Last reply 18 Aug 2016, 07:29 Reply Quote 0
                                • S
                                  SeC @BuZz
                                  last edited by 18 Aug 2016, 07:29

                                  @BuZz Didn't have time to prepare proper patch with description, but I have this in my TODO list this week.

                                  Z 1 Reply Last reply 11 Sept 2016, 19:32 Reply Quote 1
                                  • R
                                    Roadkilluk
                                    last edited by 21 Aug 2016, 01:44

                                    Hi btw, hope you don't mind me popping in and getting some help, I seem to be having the same problem as you chaps ... now I'm a Linux noob (Boo) ok :/ I've done so well as to install hexcurse and also find the correct files to edit, I have edited these files but come across a write problem. 'Cannot write to file: bad permissions'

                                    Help me please, as I'm going 1 step forwards and 2 steps back.

                                    Thanks. Lee.

                                    R 1 Reply Last reply 21 Aug 2016, 07:45 Reply Quote 0
                                    • R
                                      Ravneson @Roadkilluk
                                      last edited by 21 Aug 2016, 07:45

                                      @Roadkilluk Are you running hexcurse as a superuser, i.e. "sudo hexcurse <filename>"? If not then that could explain why you don't have permission to write to the driver files.

                                      R 1 Reply Last reply 21 Aug 2016, 10:18 Reply Quote 0
                                      • R
                                        Roadkilluk @Ravneson
                                        last edited by 21 Aug 2016, 10:18

                                        @Ravneson said in up & down (y-axis) not working in 3.8:

                                        @Roadkilluk Are you running hexcurse as a superuser, i.e. "sudo hexcurse <filename>"? If not then that could explain why you don't have permission to write to the driver files.

                                        Spot on, thanks for that "Super User DO" ... I see :)

                                        Cheers, I'm now losing at Sensi Soccer with no excuses !!

                                        Lee.

                                        1 Reply Last reply Reply Quote 0
                                        • Z
                                          Zigurana @SeC
                                          last edited by 11 Sept 2016, 19:32

                                          @SeC said in up & down (y-axis) not working in 3.8:

                                          @BuZz Didn't have time to prepare proper patch with description, but I have this in my TODO list this week.

                                          Hey, did you find the time to make this happen?

                                          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                          1 Reply Last reply Reply Quote 1
                                          • 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received