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

    Aimtrak Installation Issue

    Scheduled Pinned Locked Moved Help and Support
    aimtrakpythonoptional packag
    47 Posts 6 Posters 9.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.
    • A
      a1084426 @Efriim
      last edited by

      @Efriim that's fine I'm a windows admin so Raspberry and Linux is a little foreign. I've got some commands to run on the install "sudo python setup.py install /home/pi/gunconf/test.log 2>&1" this will log everything to a file on the install so I can see if anything gets a denied or error and then go from there. I do see a permission denied on some folder but it scrolls off to quick so I cant see if that's an issue or not.

      I also updated to latest Raspberry OS and made sure it is using python 2.7.
      the script actually mostly works and detects the trigger pull fine, just then doesn't goto the next step to read the gun config

      EfriimE 1 Reply Last reply Reply Quote 0
      • EfriimE
        Efriim @a1084426
        last edited by Efriim

        @a1084426
        What raspberry pi model, and which retropie image have you built up from?

        A 2 Replies Last reply Reply Quote 0
        • A
          a1084426 @Efriim
          last edited by

          @Efriim pi 3 b+ Debian - Stretch image, then everything on top, emulation station etc etc. I upgraded raspi config OS modules to the latest from the retropie setup menu. If you want specific version numbers I can get these when I get home and post. Retropie is 4.4.12 I think or updated last 3 weeks ago

          1 Reply Last reply Reply Quote 0
          • A
            a1084426 @Efriim
            last edited by

            @Efriim I also tried a pre built Stretch image from arcade punks 32gb one and updated and same issue, thinking its either version related or permission issue somewhere. I could try use the default image with noobs on it, just install emulation station and retropie, no upgrades then run this script or the Easy Hax to install advance mame and try again

            EfriimE 1 Reply Last reply Reply Quote 0
            • EfriimE
              Efriim @a1084426
              last edited by Efriim

              @a1084426
              Yeah, try this first python --version

              running the sudo python setup.py install, required an internet connection or at least used it when the script was executed. I'm wondering now how to uninstall

              sudo python setup.py install /home/pi/gunconf/test.log 2>&1
              did not work for me the command wasn't interpreted correctly and the install was ignored no log file created.

              EDIT
              I think I was able to uninstall by running
              sudo pip uninstall pyusb pgu gunconf
              and removing
              sudo rm /etc/udev/rules.d/99-aimtrak.rules

              you could give me a list of your installed python scripts by typing
              pip list

              also what is the shell environment you are using
              echo $0

              and
              python --version

              A 3 Replies Last reply Reply Quote 0
              • A
                a1084426 @Efriim
                last edited by

                @Efriim yeah the log didn't work either for me. I will try the above when I get back home and post. I also spoke to the Linux guys here about adding 0777 as the access on the rules fiel just incase it was a perms issue to the usb device

                1 Reply Last reply Reply Quote 0
                • A
                  a1084426 @Efriim
                  last edited by

                  @Efriim pip list
                  dnspython (1.15.0)
                  evdev (0.7.0)
                  gunconf (0.2.0rc2)
                  numpy (1.12.1)
                  pgu (0.18)
                  pip (9.0.1)
                  pycrypto (2.6.1)
                  pygame (1.9.3)
                  pygobject (3.22.0)
                  pyudev (0.21.0)
                  pyusb (1.0.2)
                  RPi.GPIO (0.5.11)
                  setuptools (33.1.1)
                  six (1.12.0)

                  running bash environment

                  1 Reply Last reply Reply Quote 0
                  • A
                    a1084426 @Efriim
                    last edited by

                    @Efriim python version 2.7.13

                    EfriimE 1 Reply Last reply Reply Quote 0
                    • EfriimE
                      Efriim @a1084426
                      last edited by

                      @a1084426
                      Everything looks good except for evdev (0.7.0) and RPi.GPIO (0.5.11)
                      I have evdev (1.2.0) and RPi.GIPO (0.6.5)
                      We could try uninstalling them they are easy to reinstall
                      pip uninstall evdev
                      pip uninstall RPi.GPIO
                      sudo apt-get install --reinstall apt-transport-https python-dev python-pygame python-setuptools
                      cd
                      cd gunconf
                      sudo python setup.py install
                      evdev should be installed with the setup.py script, an internet connection may be required for it to download, or you could try simply the command below, to see if it will update.
                      pip install evdev

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        a1084426 @Efriim
                        last edited by

                        @Efriim will try this when home. One issue I have atm with mame 2003 is with my Xarcade Tank stick and the lightgun install it sends the autoconfig haywire. so I have started to use advmame on all my arcade roms as this seems to play nicer with a light and 2 joysticks installed. Have you found mame 2003 with devices like lightguns is harder to config

                        EfriimE 1 Reply Last reply Reply Quote 0
                        • EfriimE
                          Efriim @a1084426
                          last edited by

                          @a1084426
                          No experience with light guns, the usual problems I encounter with Mame are finding the parent roms and Mame versions.

                          There was another thread before this one, where the solution we discovered for off screen aimtrak reticle drifit was solved by changing the Mame setting for mouse/device/lightgun sensitivity from 100 to %50.

                          I am %80 confident that the evdev being the correct version will solve the earlier problem with gunconf.

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            a1084426 @Efriim
                            last edited by

                            @Efriim sorry same error. ive even re-imaged to noob install no other updates other than default retropie basic install

                            python version

                            2.7.13

                            pip list

                            automationhat (0.1.0)
                            blinker (1.3)
                            blinkt (0.1.2)
                            buttonshim (0.0.2)
                            Cap1xxx (0.1.3)
                            chardet (2.3.0)
                            click (6.6)
                            colorama (0.3.7)
                            cryptography (1.7.1)
                            dnspython (1.15.0)
                            drumhat (0.1.0)
                            enum34 (1.1.6)
                            envirophat (1.0.0)
                            evdev (1.2.0)
                            ExplorerHAT (0.4.2)
                            Flask (0.12.1)
                            fourletterphat (0.1.0)
                            gpiozero (1.4.1)
                            gunconf (0.2.0rc2)
                            idna (2.2)
                            ipaddress (1.0.17)
                            itsdangerous (0.24)
                            Jinja2 (2.8)
                            keyring (10.1)
                            keyrings.alt (1.3)
                            MarkupSafe (0.23)
                            mcpi (0.1.1)
                            microdotphat (0.2.1)
                            mote (0.0.4)
                            motephat (0.0.2)
                            numpy (1.12.1)
                            oauthlib (2.0.1)
                            pantilthat (0.0.7)
                            pgu (0.18)
                            phatbeat (0.1.1)
                            pianohat (0.1.0)
                            picamera (1.13)
                            picraft (1.0)
                            piglow (1.2.4)
                            pigpio (1.38)
                            Pillow (4.0.0)
                            pip (9.0.1)
                            pyasn1 (0.1.9)
                            pycrypto (2.6.1)
                            pygame (1.9.3)
                            pygobject (3.22.0)
                            pyinotify (0.9.6)
                            PyJWT (1.4.2)
                            pyOpenSSL (16.2.0)
                            pyserial (3.2.1)
                            pyudev (0.21.0)
                            pyusb (1.0.2)
                            pyxdg (0.25)
                            rainbowhat (0.1.0)
                            requests (2.12.4)
                            requests-oauthlib (0.7.0)
                            RPi.GPIO (0.6.5)
                            RTIMULib (7.2.1)
                            scrollphat (0.0.7)
                            scrollphathd (1.2.1)
                            SecretStorage (2.3.1)
                            sense-emu (1.1)
                            sense-hat (2.2.0)
                            setuptools (33.1.1)
                            simplejson (3.10.0)
                            six (1.12.0)
                            skywriter (0.0.7)
                            sn3218 (1.2.7)
                            spidev (3.3)
                            touchphat (0.0.1)
                            twython (3.4.0)
                            unicornhathd (0.0.4)
                            urllib3 (1.19.1)
                            Werkzeug (0.11.15)
                            wheel (0.29.0)

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

                              the aimtrak firmware is 9.2 as well on the device if that helps too that's the only other thing I can think of

                              EfriimE 1 Reply Last reply Reply Quote 0
                              • EfriimE
                                Efriim @a1084426
                                last edited by Efriim

                                @a1084426
                                It's my fault for believing the resolution must exist in the guncon installation.
                                Perhaps then using the windows aimtrak utility to change the device mode and parameters. I'm at a loss. Either mouse mode and the device ids and firmware you have now, should all be okay.

                                The rpi model is rpi zero? Why not have installed the retropie image found on the website here?
                                I'll read about udev as I forgot my last question.
                                The gunconf script closes after which function?

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  a1084426 @Efriim
                                  last edited by

                                  @Efriim Raspberry pi 3 b+ with new noobs based raspberry pi 3 image, then a default Retropie image installed on it, from the main retropie uk website. So it's as vanilla as possible and as default as possible.

                                  The gunconf never closes it just sits there trying to read the gun config. The Exit button is highlighted and if you execute that, it then drops out to terminal mode.

                                  if you have a particular image I can try that as well as I have a few spare microsd cards

                                  EfriimE 1 Reply Last reply Reply Quote 0
                                  • EfriimE
                                    Efriim @a1084426
                                    last edited by Efriim

                                    @a1084426
                                    I don't have an image to suggest than the retropie one. It is information for a better frame of reference.

                                    Do you have any dtparams or dtoverlays enabled in /boot/config.txt?

                                    gunconf/utils/gunconf_w_logs.sh
                                    That is the guncon script with logs.
                                    I think it will create a file ~/.gunconf.log
                                    Have you been able to read this log previously, it may have info for what is happening?

                                    A 2 Replies Last reply Reply Quote 0
                                    • A
                                      a1084426 @Efriim
                                      last edited by

                                      @Efriim there enabled should they be turned off. ill get the log file out and post it

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        a1084426 @Efriim
                                        last edited by

                                        @Efriim INFO | 2019-05-07 21:27:40,809 | gunconf.drivers.AbsMouseManager | found 2 devices
                                        DEBUG | 2019-05-07 21:27:40,949 | gunconf.StateMachine | doTransition with state scanning and trans scan
                                        INFO | 2019-05-07 21:27:41,599 | gunconf.drivers.AbsMouseManager | found 2 devices
                                        DEBUG | 2019-05-07 21:27:41,759 | gunconf.StateMachine | doTransition with state scanning and trans connect
                                        INFO | 2019-05-07 21:27:41,759 | gunconf.StateMachine | scanning -> connecting
                                        DEBUG | 2019-05-07 21:27:41,760 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,780 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,781 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,801 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,802 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,823 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,823 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,844 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,844 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,865 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,865 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,886 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,887 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,907 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,908 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,928 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,929 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,949 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,950 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,971 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,971 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:41,992 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:41,992 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,013 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,013 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,034 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,034 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,055 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,056 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,076 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,077 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,097 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,098 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,119 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,119 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,140 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,140 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,161 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,162 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,182 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,183 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,203 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,204 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,225 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,226 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,247 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,248 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,268 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,269 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,289 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,290 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,310 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,311 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,332 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,332 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,353 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,353 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,374 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,375 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,395 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,396 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,416 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,417 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,437 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,438 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,459 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,459 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,480 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,480 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,501 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,502 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,522 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,523 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,543 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,544 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,564 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,565 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,586 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,586 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,607 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,607 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,628 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,629 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,650 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,650 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,671 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,671 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,692 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,692 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,713 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,714 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,734 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,735 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,755 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,756 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,776 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,777 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,798 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,798 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,819 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,819 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,840 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,840 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,861 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,868 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,889 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,890 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,910 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,911 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,931 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,932 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,953 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,953 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,974 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,974 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:42,995 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:42,995 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,016 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,017 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,037 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,039 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,059 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,060 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,080 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,081 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,101 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,102 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,123 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,123 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,144 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,144 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,165 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,165 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,186 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,187 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,207 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,208 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,228 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,229 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,250 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,250 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,271 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,271 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,292 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,293 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,313 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,314 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,334 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,335 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,355 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,356 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,377 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,377 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,398 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,399 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,420 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,420 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,441 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,441 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,462 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,463 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,483 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,484 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,504 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,505 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,525 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,526 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,547 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,547 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,568 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,568 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,589 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,590 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,610 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,611 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,631 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,632 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,652 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,653 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,674 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,674 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,695 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,695 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,716 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,717 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,737 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,738 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,759 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,760 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,780 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,781 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,802 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,803 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,824 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,824 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,845 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,845 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,866 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,867 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,887 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,888 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,908 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,909 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,930 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,930 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,951 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,951 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,972 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,973 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:43,993 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:43,994 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,014 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,015 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,036 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,036 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,057 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,057 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,078 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,079 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,099 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,100 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,120 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,121 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,141 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,142 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,163 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,163 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,184 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,184 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,205 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,206 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,226 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,227 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,247 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,249 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,269 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,270 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,290 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,291 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,312 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,312 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,333 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,333 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,354 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,355 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,375 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        DEBUG | 2019-05-07 21:27:44,376 | gunconf.drivers.AbsMouseManager | read: no event found
                                        DEBUG | 2019-05-07 21:27:44,396 | gunconf.StateMachine | doTransition with state connecting and trans connect
                                        INFO | 2019-05-07 21:27:44,397 | gunconf.drivers.AbsMouseManager | read: event found for /dev/input/event4
                                        DEBUG | 2019-05-07 21:27:44,398 | gunconf.StateMachine | doTransition with state connecting and trans connected
                                        INFO | 2019-05-07 21:27:44,398 | gunconf.StateMachine | connecting -> loading
                                        INFO | 2019-05-07 21:27:44,427 | gunconf.Controler | input device to read are: ['/dev/input/event4', '/dev/input/event3']
                                        DEBUG | 2019-05-07 21:27:44,752 | gunconf.drivers.Aimtrak | trying to connect to DEVICE ID d209:1601 on Bus 001 Address 005 =================
                                        bLength : 0x12 (18 bytes)
                                        bDescriptorType : 0x1 Device
                                        bcdUSB : 0x200 USB 2.0
                                        bDeviceClass : 0x0 Specified at interface
                                        bDeviceSubClass : 0x0
                                        bDeviceProtocol : 0x0
                                        bMaxPacketSize0 : 0x8 (8 bytes)
                                        idVendor : 0xd209
                                        idProduct : 0x1601
                                        bcdDevice : 0xa4 Device 0.104
                                        iManufacturer : 0x5 Ultimarc
                                        iProduct : 0x5 Ultimarc
                                        iSerialNumber : 0x3 9
                                        bNumConfigurations : 0x1
                                        CONFIGURATION 1: 500 mA ==================================
                                        bLength : 0x9 (9 bytes)
                                        bDescriptorType : 0x2 Configuration
                                        wTotalLength : 0x54 (84 bytes)
                                        bNumInterfaces : 0x3
                                        bConfigurationValue : 0x1
                                        iConfiguration : 0x2 ATRAK Device #1
                                        bmAttributes : 0x80 Bus Powered
                                        bMaxPower : 0xfa (500 mA)
                                        INTERFACE 0: Human Interface Device ====================
                                        bLength : 0x9 (9 bytes)
                                        bDescriptorType : 0x4 Interface
                                        bInterfaceNumber : 0x0
                                        bAlternateSetting : 0x0
                                        bNumEndpoints : 0x1
                                        bInterfaceClass : 0x3 Human Interface Device
                                        bInterfaceSubClass : 0x0
                                        bInterfaceProtocol : 0x0
                                        iInterface : 0x2 ATRAK Device #1
                                        ENDPOINT 0x81: Interrupt IN ==========================
                                        bLength : 0x7 (7 bytes)
                                        bDescriptorType : 0x5 Endpoint
                                        bEndpointAddress : 0x81 IN
                                        bmAttributes : 0x3 Interrupt
                                        wMaxPacketSize : 0x8 (8 bytes)
                                        bInterval : 0xa
                                        INTERFACE 1: Human Interface Device ====================
                                        bLength : 0x9 (9 bytes)
                                        bDescriptorType : 0x4 Interface
                                        bInterfaceNumber : 0x1
                                        bAlternateSetting : 0x0
                                        bNumEndpoints : 0x1
                                        bInterfaceClass : 0x3 Human Interface Device
                                        bInterfaceSubClass : 0x0
                                        bInterfaceProtocol : 0x0
                                        iInterface : 0x2 ATRAK Device #1
                                        ENDPOINT 0x82: Interrupt IN ==========================
                                        bLength : 0x7 (7 bytes)
                                        bDescriptorType : 0x5 Endpoint
                                        bEndpointAddress : 0x82 IN
                                        bmAttributes : 0x3 Interrupt
                                        wMaxPacketSize : 0x14 (20 bytes)
                                        bInterval : 0xa
                                        INTERFACE 2: Human Interface Device ====================
                                        bLength : 0x9 (9 bytes)
                                        bDescriptorType : 0x4 Interface
                                        bInterfaceNumber : 0x2
                                        bAlternateSetting : 0x0
                                        bNumEndpoints : 0x1
                                        bInterfaceClass : 0x3 Human Interface Device
                                        bInterfaceSubClass : 0x0
                                        bInterfaceProtocol : 0x0
                                        iInterface : 0x1 ATRAK Mouse
                                        ENDPOINT 0x83: Interrupt IN ==========================
                                        bLength : 0x7 (7 bytes)
                                        bDescriptorType : 0x5 Endpoint
                                        bEndpointAddress : 0x83 IN
                                        bmAttributes : 0x3 Interrupt
                                        wMaxPacketSize : 0x8 (8 bytes)
                                        bInterval : 0xa
                                        INFO | 2019-05-07 21:27:45,311 | gunconf.drivers.Aimtrak | operation timeout
                                        INFO | 2019-05-07 21:27:46,314 | gunconf.drivers.Aimtrak | operation timeout

                                        EfriimE 1 Reply Last reply Reply Quote 0
                                        • EfriimE
                                          Efriim @a1084426
                                          last edited by

                                          @a1084426
                                          I'm almost out of ideas.
                                          check out the folder /etc/udev/rules.d/ for duplicates or misnamed "99-aimtrak.rules"
                                          ls /etc/udev/rules.d

                                          I don't remember if you tried this already. On windows computer using the aimtrak utility to try updating the firmware again, maybe it got unplugged during update a loose connection or something while saving settings.

                                          I think that is all I've got, but if I think of something or stumble on something else I'll update you.
                                          Try contacting the the aimtrak people, there might be someone who would be happy to give you sound advice for that device.

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            a1084426 @Efriim
                                            last edited by

                                            @Efriim yeah thanks dude ive check all those things several times over, I think its just the fact it doesn't read the config of the gun or something like that on firmware 9.2.

                                            The only issue is the gun doesn't re-load when shot off screen and this is only really affecting games like lethal enforcers. Other than that the guns works ok mostly.

                                            If I could get the reload off screen to work otherways I would try it. It does reload in mameui64 on windows ok, so just something with it running on Linux / retropie

                                            EfriimE 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.