User:Srunyon
From Immersive Visualization Lab Wiki
Contents |
Starting Joystick
- Joystick is plugged into USB port.
- Open Terminal window. Note: CalVR and VRPN for joystick tracking will be run in separate terminal windows.
- Navigate to directory containing Joystick tracking executable.
cd /home/neuro/CalVR/bin
- The "vrpn.xml" configuration file should already be in this directory, but if not, the most up to date file location is: "/home/neuro/CalVR/applications/vrpn_libusb_general/vrpn.xml"
- Type the following command into the terminal
./libusb_general_server
- There are a few possible ways that this command may not run properly.
- If the output from the terminal indicates that the "vrpn.xml" configuration file was not found, use the following command:
./libusb_general_server XXX
Where "XXX" is the absolute path to the "vrpn.xml" configuration file. - If the terminal output indicates that:
libusb couldn't open USB device /dev/bus/usb/XXX/XXX
There are two solutions:- Run the previous command again as a
sudo
command.sudo ./libusb_general_server
- Modify permissions of the USB joystick.
sudo chmod a+rw /dev/bus/usb/XXX/XXX
- Note: Both solutions require sudo privileges.
- Run the previous command again as a
- If the output from the terminal indicates that the "vrpn.xml" configuration file was not found, use the following command:
Troubleshooting
- To confirm that the Joystick is plugged in to the head node, open a terminal and type in the command
lsusb
and hit enter.
You should see
Logitech, Inc. ATK3 (Attack III Joystick)
among the listed USB devices.