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

    Joystick Conflicts

    Scheduled Pinned Locked Moved Help and Support
    joystickubuntujoystick clash
    26 Posts 3 Posters 1.2k 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.
    • FoxsecF
      Foxsec @Halvhjearne
      last edited by

      @Halvhjearne

      Deffo ran update-grub from /usr/sbin/, tried it again and the quirks are still null.

      It's a joystick and buttons connected to a little encoder, not sure of the make or model because it isn't branded. I may just end up buying another one ;(

      HalvhjearneH 1 Reply Last reply Reply Quote 0
      • HalvhjearneH
        Halvhjearne @Foxsec
        last edited by

        @Foxsec

        not sure how it wouldnt work, except if you forgot to run update-grub or restart.

        lsusb or usb-devices commands can usually give you a clue to the make and model name.

        you didnt answer what happends when you run jstest?
        on ubuntu you can get a version with gui called jstest-gtk

        FoxsecF 1 Reply Last reply Reply Quote 0
        • FoxsecF
          Foxsec @Halvhjearne
          last edited by

          @Halvhjearne

          Just lists it as twin usb joystick. I can copy and paste all of the info from it if that helps?

          Did a jstest-gtk and it shows that the joysticks work but it picks up both players as player 1.

          HalvhjearneH 1 Reply Last reply Reply Quote 0
          • HalvhjearneH
            Halvhjearne @Foxsec
            last edited by Halvhjearne

            @Foxsec

            not sure what you are doing wrong, the quirks should be added, even if the joystick is not connected.
            it does sounds like its a clone of the xin-mo, so im guessing it should work.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              You can check that the quirks have been added to the boot command line by running

              cat /proc/cmdline
              

              Can you copy the output of the command and post it here ? Alternatively, as @Halvhjearne mentioned, try using modprobe to apply the options from a command line:

              rmmod usbhid && modprobe usbhid quirks=0x0810:0xe001:0x040
              
              1 Reply Last reply Reply Quote 0
              • FoxsecF
                Foxsec
                last edited by

                rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'usbhid': Operation not permitted
                rmmod: ERROR: could not remove module usbhid: Operation not permitted
                

                Is what I get when I run the rrmod command?

                And I get the below when I type the cmdline in

                BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=9c1664a3-6dc6-4ad4-afc8-334c7e46342b ro quiet splash vt.handoff=1
                

                Think it's worth just getting another encoder so I'll have one for each joystick? seems like it just doesn't want to work, thanks a lot for you help btw guys, really appreciate it.

                mituM HalvhjearneH 2 Replies Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @Foxsec
                  last edited by

                  @Foxsec said in Joystick Conflicts:

                  rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'usbhid': Operation not permitted
                  rmmod: ERROR: could not remove module usbhid: Operation not permitted
                  

                  Is what I get when I run the rrmod command?

                  Yeah, forgot about that. Prefix the commands with sudo:

                  sudo rmmod usbhid && sudo modprobe usbhid quirks=0x0810:0xe001:0x040
                  

                  And I get the below when I type the cmdline in

                  BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=9c1664a3-6dc6-4ad4-afc8-334c7e46342b ro quiet splash vt.handoff=1
                  

                  That means your Grub modifications have not added the usbquirks necessary for the joystick.

                  Think it's worth just getting another encoder so I'll have one for each joystick? seems like it just doesn't want to work, thanks a lot for you help btw guys, really appreciate it.

                  No, you're very close of making this one work, so there's no need to get another one.

                  1 Reply Last reply Reply Quote 0
                  • HalvhjearneH
                    Halvhjearne @Foxsec
                    last edited by

                    @Foxsec said in Joystick Conflicts:

                    BOOT_IMAGE=/boot/vmlinuz-5.0.0-23-generic root=UUID=9c1664a3-6dc6-4ad4-afc8-334c7e46342b ro quiet splash vt.handoff=1
                    

                    are you sure you edited the line correctly in /etc/default/grub and ran update-grub?

                    perhaps show us the content of it

                    FoxsecF 1 Reply Last reply Reply Quote 0
                    • FoxsecF
                      Foxsec @Halvhjearne
                      last edited by

                      @Halvhjearne

                      @Halvhjearne

                      I was writing down every step and making a code box for everything that came up and I tried that rmmod that Mitu suggested and i checked the quirks file after and it worked!

                      Both set of joysticks and buttons are now configured

                      Thanks so much for your help guys, really really appreciate it :)

                      HalvhjearneH 1 Reply Last reply Reply Quote 0
                      • HalvhjearneH
                        Halvhjearne @Foxsec
                        last edited by

                        @Foxsec said in Joystick Conflicts:

                        I was writing down every step and making a code box for everything that came up and I tried that rmmod that Mitu suggested and i checked the quirks file after and it worked!

                        Both set of joysticks and buttons are now configured

                        Thanks so much for your help guys, really really appreciate it :)

                        thats wierd, for me it would not work with modprobe and i remember reading somewhere that it was supposedly blocked, but whatever.

                        atleast it works for you now.

                        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.