Aimtrak Installation Issue
-
On the latest version of Emulationstation and Retropie. Installed Optional Package for Aimtrak light gun, it installed without a problem.
I go to Options select newly installed "Gunconf" and it shows my gun detected. Tells me to press trigger and it says "Gun Detected. Loading Configuration..." then nothing happens.
I select Quit and this error pops up. Can't figure out what I did wrong. Thanks
-
I don't think RetroPie has such package - you're probably using a 3rd party image, in which case you best contact the author of the image to ask for troubleshooting advice.
-
https://github.com/gunpadawan/gunconf only reason i know this is ive been looking up how dolphin bar and aimtrack devices are working. I dont have these devices but ive put some code together to test if i ever get one. I need to check how and if ra maps them once i know how they are mapping in RA the code is trivial.
-
@mitu said in Aimtrak Installation Issue:
I don't think RetroPie has such package - you're probably using a 3rd party image, in which case you best contact the author of the image to ask for troubleshooting advice.
Sorry I wasn't specific. The instructions for Gunconf has you install optional package mame 1.4 and the Gunconf script which all worked. But then I get that error and I don't know what it means "python" etc.
-
@Garavar
I don't know, perhaps a reset, or reinstallation. -
@Garavar Python is the scripting language which is used by the calibration script, the error is specific to the script - so I don't think you did something wrong. How are you running the script ?
-
@mitu said in Aimtrak Installation Issue:
@Garavar Python is the scripting language which is used by the calibration script, the error is specific to the script - so I don't think you did something wrong. How are you running the script ?
I followed the directions from site (below). They all worked except sudo cp utils/aimtrak.rules /etc/udev/rules.d/99-aimtrak.rules which did nothing and sudo udevadm control --reload-rules which said "no directory found"
Directions followed...
sudo apt install apt-transport-https python-dev python-pygame python-setuptools
Get the source
git clone https://github.com/gunpadawan/gunconfInstall python module
cd gunconfsudo python setup.py install
Udev rules
Application requires access to the aimtrak usb device. It is usually necessary to configure udev to let your specific user access that device.To let any user access the device, do:
sudo cp utils/aimtrak.rules /etc/udev/rules.d/99-aimtrak.rules
sudo udevadm control --reload-rules
Launch
To launch application, you can execute utils/gunconf.shWhen I get here, it launches application, detects gun but does nothing else. When I exit I get those errors.
-
@Garavar
You should have this file in the gunconf/utils/ subfolder:
https://github.com/gunpadawan/gunconf/blob/master/utils/aimtrak.rulesand it needs to go here "/etc/udev/rules.d/99-aimtrak.rules"
sudo mkdir -p /etc/udev/rules.d
cd
cd gunconf/utils
sudo cp aimtrak.rules /etc/udev/rules.d/99-aimtrak.rules
sudo udevadm control --reload-rules
-
@Garavar said in Aimtrak Installation Issue:
I followed the directions from site (below). They all worked except sudo cp utils/aimtrak.rules /etc/udev/rules.d/99-aimtrak.rules which did nothing and sudo udevadm control --reload-rules which said "no directory found"
That's not needed, if the gun is detected as a mouse, the running user should be able to access the mouse device.
-
@mitu
but it also has a specific vendor id that is not registered anywhere elseSUBSYSTEMS=="usb", ATTRS{idVendor}=="d209", MODE="0666"
-
it can be detected as a mouse or joystick or both the wiimote does the same thing you only need that is you are using the joystick. I dug my old wii mote out a and set it up seems to be working ok ill need to get a sensor bar for it at some point to test the ir though
-
@Efriim said in Aimtrak Installation Issue:
@Garavar
You should have this file in the gunconf/utils/ subfolder:
https://github.com/gunpadawan/gunconf/blob/master/utils/aimtrak.rulesand it needs to go here "/etc/udev/rules.d/99-aimtrak.rules"
sudo mkdir -p /etc/udev/rules.d
cd
cd gunconf/utils
sudo cp aimtrak.rules /etc/udev/rules.d/99-aimtrak.rules
sudo udevadm control --reload-rules
I cant even find my gunconf/utils/ folder...is there a permission I am missing?
-
@Garavar
it should be in the directory where you cloned the github for gunconf.
maybe
cd ~/gunconf/
-
@Efriim said in Aimtrak Installation Issue:
@Garavar
You should have this file in the gunconf/utils/ subfolder:
https://github.com/gunpadawan/gunconf/blob/master/utils/aimtrak.rulesand it needs to go here "/etc/udev/rules.d/99-aimtrak.rules"
sudo mkdir -p /etc/udev/rules.d
cd
cd gunconf/utils
sudo cp aimtrak.rules /etc/udev/rules.d/99-aimtrak.rules
sudo udevadm control --reload-rules
Tried this, still gets stuck on configuration and went I quit I get the same index error from photo ;(
-
@Garavar Do you have more than one mouse device connected ? You didn't gave much details about your actual system - maybe the configuration utility incorrectly chooses you mouse device.
Can you runcat /proc/bus/input/devices
with the gun connected and post the output here ? -
@Garavar said in Aimtrak Installation Issue:
@Efriim said in Aimtrak Installation Issue:
@Garavar
You should have this file in the gunconf/utils/ subfolder:
https://github.com/gunpadawan/gunconf/blob/master/utils/aimtrak.rulesand it needs to go here "/etc/udev/rules.d/99-aimtrak.rules"
sudo mkdir -p /etc/udev/rules.d
cd
cd gunconf/utils
sudo cp aimtrak.rules /etc/udev/rules.d/99-aimtrak.rules
sudo udevadm control --reload-rules
Tried this, still gets stuck on configuration and went I quit I get the same index error from photo ;(
I think I figured out the problem but don't know how to fix it. When I go to file manager all the folders and files are there (utils, pgu) but the Gunconf folder with drivers and files like conversion.py aren't there. Don't know why.
I followed the download steps it should be there.
-
make sure you are using python 2.x and not 3
try running with gunconf/utils/gunconf_w_logs.sh aand post the log
also post a
sudo udevadm test -a add $(udevadm info -q path -n /dev/input/js0 )
replace path with relevant joystick and mice
-
@grant2258 said in Aimtrak Installation Issue:
make sure you are using python 2.x and not 3
try running with gunconf/utils/gunconf_w_logs.sh aand post the log
also post a
sudo udevadm test -a add $(udevadm info -q path -n /dev/input/js0 )
replace path with relevant joystick and mice
Error log phot attached, I also tried reinstalling and got similar error
-
any more information in ~/.gunconf.log ?
-
Hi
I have exactly the same issue. The gun works ok as I cheated and calibrated it on a windows laptop on the same external screen so it sorta works but id still like to know why I detects the Gun but never proceeds past into the following screen for calibration
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.