How to set up the Logitech F310 on Ubuntu 13.10, so it actually works!
First things first. Check the back of the controller and make sure the switch is on the "X" position.
After that, plug it into your USB port and open up a terminal. Type in "lsusb" and you should see something like...
- Bus 003 Device 004: ID 046d:c21d Logitech, Inc. F310 Gamepad [XInput Mode]
If you see the above then your are set to continue reading, if you do not see the above then check the switch on the back of the controller is definitely on the "X" position and re-plug the controller back in until you see the above is listed. You can keep doing lsusb over and over until you finally see the controller has been connected.
Now you will need a program called "jstest" in order to make sure the controller actually works. Grab jstest by doing the following in a terminal.
- sudo apt-get install jstest-gtk
Open up "jstest" and see if your controller is listed. If it looks like the pic below then you are all set! Chances are it will be empty, in which case don't worry, keep reading.
If the controller isn't being recognized then all you have to do is enter the following into a terminal.
Then fire up "jstest" again and see if your controller is there! It should be.
To make this fix stick after a reboot you will need to edit a file. Simple copy and paste this into your terminal.
and type in "xpad" without the quotes at the bottom of the document and save it. It should look like this when finished.
Congratulations! You can now start using your controller with what you wanted it for! I use it for the pcsx emulator and find that it works great after I properly set up the buttons/controls via pcsx's controller plugin page. Make sure if using pcsx that you click the "device" box and choose "generic x-box pad".