LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2004, 09:48 PM   #16
shack
Member
 
Registered: Dec 2003
Distribution: Debian Sid
Posts: 77

Rep: Reputation: 15

OK, if your joystick port is on a soundcard, then look through ALSA's doccies for the soundcard module and see if it has mpu-401 support built in. If it doesn't, or you have an IO/card with the joystick port on it, then you will need the ALSA module mpu-401 ... probably another kernel module as well ...
 
Old 06-02-2004, 12:20 AM   #17
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
If you are using Mandrake And an USB pad
Then you need to load some extra modules:

Code:
modprobe usb-uhci
modprobe joydev
modprobe hid
If the above works, you might want to add "usb-uhci", "joydev" and "hid"(without the word modprobe) to your /etc/modules so it will make the pad/stick to work on boot .
 
Old 06-02-2004, 08:13 AM   #18
shack
Member
 
Registered: Dec 2003
Distribution: Debian Sid
Posts: 77

Rep: Reputation: 15
On the other hand, if you're using a 15pin joystick, then my above comment still stands. joydev will also help.

And uhci is one of three modules you might need. The others are ehci and ohci. ONE of these will work.
 
Old 06-02-2004, 11:33 AM   #19
Mr.Ampersand()
Member
 
Registered: Mar 2004
Location: United States, New York, Carmel via Putnam County
Posts: 80

Rep: Reputation: 15
Hi,

I've gotten my joystick to work on linux. I'm using Mandrake Linux 10. I had problems getting it to work. I have a 15 pin analog joystick. I had done some research on this forum and found some stuff on modprobing. I looked up the manual on modprobe by entering the linux bash shell and typing:

man modprobe

I found some stuff on jstest also but jstest wasnt a command. I even tried it in super user mode but that didnt work. I decided to do a rpm search on google. I found a rpm search engine and typed in jstest. I got a rpm package for jstest and immediatly installed it. After that I logged in as superuser and did the following.

Code:
su
modprobe analog
jstest /dev/js0     or    jstest /dev/input/js0
Now you should be able to see the coords moving when you move your joystick or attatched device.
Congradulations.

bye hope that helps,
George
 
Old 06-03-2004, 05:18 AM   #20
shack
Member
 
Registered: Dec 2003
Distribution: Debian Sid
Posts: 77

Rep: Reputation: 15
My 2.6.4 kernel doesn't have module "analog" ...
 
Old 06-16-2004, 08:06 PM   #21
deadbird
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Angry mandrake 10

I have been trying for 2 days to get mandrake 10 recognise any of my many gamepads but no luck. I did get my joystick working but it is usb and is considered a huma interface device (hid) and not a joystick.

I did

modprobe joydev
modprobe adi

for my gamepad, and nothing. so i did the vebose modprobe joydev and found the insmod command it used, when I tried that is gave me an error saying the module was invalad module format. I think the modules are from a diffrent version or something.

I may try compiling a new kernel, or just use the dam keyboard.

 
Old 06-16-2004, 08:12 PM   #22
deadbird
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
I also have been trying to get a sega genesis controller working. I made an adaptor and the db9 module said there was no such device.

I tried the modprobe analog with my analog gamepad, but js0 never showed up.
 
Old 06-16-2004, 09:34 PM   #23
deadbird
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
get it working

I figured out the solution

to use a 15 pin (gameport) contoller you have to first load the gameport module with

modprobe ns558

then your driver

so my config steps looked like this

modprobe joydev
mofprobe ns558
modprobe adi

then it wokrd fine

see this site for more info

http://www.linuxhq.com/kernel/v2.4/8...n/joystick.txt
 
  


Reply



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
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
root@localhost:~# xf86config -bash: xf86config: command not found klemen Slackware 17 01-06-2005 02:56 AM
where is the XF86config-4 or XF86config file in the fedora? u2911 Fedora 4 07-24-2004 08:38 PM
adding a modeline to XF86Config (where and how) abs Slackware 4 02-14-2004 04:08 AM
Adding Joystick Sergeus Linux - General 1 03-24-2003 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration