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

    Mouse not working in lr-mame2003

    Scheduled Pinned Locked Moved Help and Support
    mousemame2003
    54 Posts 8 Posters 8.9k 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.
    • G
      grant2258 Banned
      last edited by

      not necessarily the older ra could have used linuxraw as the input driver. I guess we can just wait for feedback. I would suggest a reboot though as emulation station is already running

      H 1 Reply Last reply Reply Quote 0
      • H
        hhromic @grant2258
        last edited by

        @grant2258 yes agreed, a reboot would be a definitive approach

        1 Reply Last reply Reply Quote 0
        • A
          albecacif
          last edited by

          @grant2258 said in Mouse not working in lr-mame2003:

          ls -al /dev/input/

          Hi,

          I changed the user´s persmissions:

          pi@retropie:~ $ ls -al /dev/input/
          total 0
          drwxr-xr-x 4 root root 240 Dec 11 17:24 .
          drwxr-xr-x 15 root root 3420 Dec 11 17:24 ..
          drwxr-xr-x 2 root root 140 Dec 11 17:24 by-id
          drwxr-xr-x 2 root root 140 Dec 11 17:24 by-path
          crw-rw---- 1 root input 13, 64 Dec 11 17:24 event0
          crw-rw---- 1 root input 13, 65 Dec 11 17:24 event1
          crw-rw---- 1 root input 13, 66 Dec 11 17:24 event2
          crw-rw----+ 1 root input 13, 67 Dec 11 17:24 event3
          crw-rw----+ 1 root input 13, 0 Dec 11 17:24 js0
          crw-rw---- 1 root input 13, 63 Dec 11 17:24 mice
          crw-rw---- 1 root input 13, 32 Dec 11 17:24 mouse0
          crw-rw---- 1 root input 13, 33 Dec 11 17:24 mouse1

          But still the same failure :(

          INFO] [udev]: Keyboard #0 (/dev/input/event0).
          [INFO] [udev]: Keyboard #1 (/dev/input/event2).
          [INFO] [udev]: Keyboard #2 (/dev/input/mouse1).
          [ERROR] [udev] Failed to open device: /dev/input/event1 (Success).
          [INFO] [udev]: Mouse #0 (/dev/input/mouse0).
          [ERROR] [udev] Failed to open device: /dev/input/event2 (Success).
          [INFO] [udev]: Mouse #1 (/dev/input/mouse1).
          [INFO] [udev]: Plugged pad: 8Bitdo NES30 Arcade (0:0) on port #0.
          [INFO] [udev]: Pad #0 (/dev/input/event3) supports 0 force feedback effects.

          H 1 Reply Last reply Reply Quote 0
          • H
            hhromic @albecacif
            last edited by

            @albecacif just to confirm, can you execute groups ? this should show you all the groups the user belongs to. Did you reboot right?

            1 Reply Last reply Reply Quote 0
            • A
              albecacif
              last edited by

              pi@retropie:~ $ groups
              pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi

              Yes, I rebooted the system

              1 Reply Last reply Reply Quote 0
              • G
                grant2258 Banned
                last edited by grant2258

                can you the output of

                 ls -al /dev/input/by-path/
                

                and

                ls -al /dev/input/by-id/
                
                1 Reply Last reply Reply Quote 0
                • A
                  albecacif
                  last edited by

                  @grant2258 said in Mouse not working in lr-mame2003:

                  ls -al /dev/input/by-path/
                  pi@retropie:~ $ ls -al /dev/input/by-path/
                  total 0
                  drwxr-xr-x 2 root root 140 Dec 11 17:54 .
                  drwxr-xr-x 4 root root 200 Dec 11 17:54 ..
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.2:1.0-event-kbd -> ../event0
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.2:1.1-event-mouse -> ../event1
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.2:1.1-mouse -> ../mouse0
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.4:1.2-event-mouse -> ../event2
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 platform-3f980000.usb-usb-0:1.4:1.2-mouse -> ../mouse1

                  pi@retropie:~ $ ls -al /dev/input/by-id/
                  total 0
                  drwxr-xr-x 2 root root 140 Dec 11 17:54 .
                  drwxr-xr-x 4 root root 200 Dec 11 17:54 ..
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-13ba_Barcode_Reader-event-kbd -> ../event0
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-13ba_Barcode_Reader-if01-event-mouse -> ../event1
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-13ba_Barcode_Reader-if01-mouse -> ../mouse0
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-Logitech_USB_Receiver-if02-event-mouse -> ../event2
                  lrwxrwxrwx 1 root root 9 Dec 11 17:54 usb-Logitech_USB_Receiver-if02-mouse -> ../mouse1

                  Note that I have a keyboard with an integrated pad (mouse) and the USB trackball connected

                  1 Reply Last reply Reply Quote 0
                  • G
                    grant2258 Banned
                    last edited by

                    is your Logitech working when you select mouse index 1 in RA?

                    1 Reply Last reply Reply Quote 0
                    • A
                      albecacif
                      last edited by

                      No, I´ve just set it in RA and is not responding

                      1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned
                        last edited by

                        i can tell you mouse is working fine in ra in my windows machine will need to plug a mouse and keyboard in my pi and see if it works there

                        1 Reply Last reply Reply Quote 0
                        • A
                          albecacif
                          last edited by

                          The keyboard is working fine. Only the mouse fails.

                          1 Reply Last reply Reply Quote 0
                          • G
                            grant2258 Banned
                            last edited by grant2258

                            i was asking because of this in your log

                            [INFO] [udev]: Keyboard #0 (/dev/input/event0).
                            [INFO] [udev]: Keyboard #1 (/dev/input/event2).
                            [INFO] [udev]: Keyboard #2 (/dev/input/mouse1).
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • G
                              grant2258 Banned
                              last edited by

                              test your mouse in mame2003 with outrun believe it or not.

                              left click will accelerate
                              moving the mouse will turn the car

                              1 Reply Last reply Reply Quote 0
                              • G
                                grant2258 Banned
                                last edited by

                                this isnt working on linux either ill try asking the retroarch ladies and gents

                                H 1 Reply Last reply Reply Quote 1
                                • H
                                  hhromic @grant2258
                                  last edited by

                                  @grant2258 after the feedback it looks like indeed it is an RA issue then.

                                  Great that you will scalate it to the RA guys. As a hint, my best guess of where the problem might be is in this post: https://retropie.org.uk/forum/topic/20004/mouse-as-a-zapper-lr-fceumm-rpi-3-b/29
                                  I don't have time nowadays to debug it myself unfortunately :( Thanks!

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    albecacif
                                    last edited by

                                    Hi,

                                    The outrun version that I have only runs on FBalpha.

                                    Thanks a lot for your help :) I think this is a RA issue since it works fine in a 1.6.x version.

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

                                      Maybe it's this issue in the RetroArch's issue tracker ?

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        grant2258 Banned
                                        last edited by

                                        @mitu i have fixed this i have a pull req it
                                        https://github.com/libretro/RetroArch/pull/7730

                                        H 1 Reply Last reply Reply Quote 1
                                        • H
                                          hhromic @grant2258
                                          last edited by

                                          @grant2258 good stuff! hope it gets merged

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            grant2258 Banned
                                            last edited by grant2258

                                            well its one line change and is identical to the touchpad condition not sure what the issue is there with merging it i mean.

                                            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.