LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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

Reply
 
Search this Thread
Old 11-21-2012, 07:46 PM   #1
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Rep: Reputation: 32
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?
 
Old 11-21-2012, 09:09 PM   #2
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Original Poster
Rep: Reputation: 32
Well just found out it's rated 5V and 500mA. I think this is the problem, will get a powered usb hub to try.
 
Old 11-29-2012, 12:06 AM   #3
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Original Poster
Rep: Reputation: 32
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Enter the element14 Pi Day ‚??Raspberry RoadTest‚?Ě Challenge for a chance to win a Raspberry Pi c LXer Syndicated Linux News 0 03-08-2012 06:20 AM
[SOLVED] Best inexpensive linux compatible gamepad or Best pcsx* compatible gamepad? indubitableness Linux - Hardware 6 09-27-2009 06:49 AM
convert usb gamepad to wireless gamepad schneidz Linux - Hardware 1 06-12-2008 03:13 PM
gamepad nfsutim Linux - Newbie 3 02-11-2005 02:22 AM
Joystick/Gamepad help. ProtoformX Linux - Hardware 3 11-17-2004 11:24 AM


All times are GMT -5. The time now is 02:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration