Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-21-2012, 07:46 PM
|
#1
|
|
Member
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199
Rep:
|
gamepad on raspberry pi
I am trying to get a gamepad working on raspberry pi (model B rev 2 512 mb ram).
I am trying to find some software that will recognize it, I have not been able to find any software that will recognize to calibrate or map it to keys/mouse events.
But, I have found that the command 'lsusb' recognizes the device as a gamepad. It is a Logitech F310 Gamepad in X input mode.
I am running the Raspbian OS version from raspberrypi.org (2012-10-28). I have installed jscal, joy2key, and joystick - all via apt-get.
Neither jscal nor joy2key recognize a joystick/gamepad being available. There is no js0 in the /dev directory, and it is not in /dev/input. (at one point I thought I saw a /dev/input/js0, but it is no longer there, I think it may have been right after I installed the 'joystick' driver, but disappeared after I rebooted).
I have tried using 'modprobe joydev', which sadly did not work either.
The games I want to use the gamepad with are doom and quake3, I am not sure if either support gamepads or if I will have to map it to keyboard/mouse controls, either way I have not making any progress besides seeing the device listed with lsusb's output.
Anyone know how to get this gamepad working?
|
|
|
|
11-21-2012, 09:09 PM
|
#2
|
|
Member
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199
Original Poster
Rep:
|
Well just found out it's rated 5V and 500mA. I think this is the problem, will get a powered usb hub to try.
|
|
|
|
11-29-2012, 12:06 AM
|
#3
|
|
Member
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199
Original Poster
Rep:
|
Just got a powered usb hub.
js0 now appears in /dev/input.
I have tried with controller in X and D input mode.
The controller is still not recognized by jscal.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|