LinuxQuestions.org
Visit Jeremy's Blog.
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 05-11-2003, 03:47 AM   #1
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
No hope to my joypads :'(


Hi again!!!

I've been trying to make a single joystick/pad to work on Linux for really, years. I've been in each and every forum around and I never could get it work. I've tried even external drivers but they were useless. Anyway, I've heard I should not need any external drivers to make a joystick work. Here is what I'm doing

Into the kernel, /usr/src/linux I type "make menuconfig"

Into that menu, I've changed my configurations like this to find my joypad:

Input core support --->
<*> Input core support
<*> Joystick support
Character devices --->
Joysticks --->
<*> Game port support
<M> SoundBlaster Live! gameports
--- Joysticks
<M> Classic PC analog joysticks and gamepads

after that, I did "make dep"

I've tried with somes joysticks. MS Sidewinder Force Feed back pro, Gravis, saitek p750 and 6series and a USB device, Rockfire PSX bridge.
All of those joystick/pads are connected to my sound card, which is a Zoltrix 4 channel speakers, with exception of PSX Bridge, which is an USB device. The sound card works greatly with any application, but it's not there into my menu config, so I've enabled only

<*> Game port support

as you can see above. I've tried as well the commands:

make bzImage (fails, says my kernel is too big)
make modules (takes hours, really hours)
make modules_install

into my kernel, after changing the configurations into the menu config.

Why can't I use my joysticks?

- I've a crappy sound card
- I've only unsupported joypads/sticks
- I'm doing totally wrong

Besides, into the menuconfig, there's many options as "Y" (Enables), "N", (Excludes), "*" (built.in) and so on. What do I really have to do? set Y, * or M to enable joypads. There's a HUGE joydevices in my menu config, all have "M" before, should I exclude them all and set only mine or what?

Sorry for a long message like this, but I would like someone could share the joystick usage under linux cause it's really poorly documented over the internet. Feel free to even suggest me to buy another sound card or joypads, although, I think Linux should use a generic joystick anyway.

Thanks a lot in advance.

P.S: I'm trying to use a joypad/stick with emulators and yes, I've created these files in /dev already:

cd /dev
rm js*
mkdir input
mknod input/js0 c 13 0
mknod input/js1 c 13 1
mknod input/js2 c 13 2
mknod input/js3 c 13 3
ln -s input/js0 js0
ln -s input/js1 js1
ln -s input/js2 js2
ln -s input/js3 js3
 
Old 05-11-2003, 03:50 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 64
Two things I've forgotten:

into

<*> Game port support

there's a huge list of sound cards and joystick ports, but it does not seems like mine is listed.

I've tried the above proceed under Mandrake 9.0 and 9.1 with the same no success

Thanks
 
Old 09-28-2003, 01:13 PM   #3
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
I have the same problem, I've tried with several distributions and several different cards and joysticks/pads with no luck. Am I giving up too easily?!
At the mo I have a cmedia sound chip with gameport enabled and a gravis exterminator with "grip" module loaded:

Module Size Used by Tainted: P
grip 4120 0 (unused)
gameport 1436 0 [grip]
joydev 5696 0
input 3200 0 (autoclean) [grip joydev]
agpgart 35776 3 (autoclean)
nvidia 1628288 14 (autoclean)
cmpci 24976 0 (unused)
uhci 24560 0 (unused)
ehci-hcd 14632 0 (unused)
usbcore 58144 1 [uhci ehci-hcd]
tuner 9664 1 (autoclean)
msp3400 15180 1 (autoclean)
bttv 67936 1
i2c-algo-bit 6984 1 [bttv]
i2c-core 12708 0 [tuner msp3400 bttv i2c-algo-bit]
videodev 5632 4 [bttv]
btaudio 10508 0 (unused)
8139too 15272 1
mii 2240 0 [8139too]
snd-seq-midi 3552 0 (autoclean) (unused)
snd-opl3-synth 9348 0 (autoclean) (unused)
snd-seq-instr 4832 0 (autoclean) [snd-opl3-synth]
snd-seq-midi-emul 4736 0 (autoclean) [snd-opl3-synth]
snd-ainstr-fm 1844 0 (autoclean) [snd-opl3-synth]
snd-seq-oss 26112 0 (unused)
snd-seq-midi-event 3264 0 [snd-seq-midi snd-seq-oss]
snd-seq 33648 2 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-midi-emul snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 36964 0
snd-mixer-oss 11992 0 [snd-pcm-oss]
snd-cmipci 17792 0
snd-pcm 55968 0 [snd-pcm-oss snd-cmipci]
snd-page-alloc 6004 0 [snd-pcm]
snd-opl3-lib 5764 0 [snd-opl3-synth snd-cmipci]
snd-hwdep 4832 0 [snd-opl3-lib]
snd-timer 13252 0 [snd-seq snd-pcm snd-opl3-lib]
snd-mpu401-uart 3136 0 [snd-cmipci]
snd-rawmidi 12480 0 [snd-seq-midi snd-mpu401-uart]
snd-seq-device 3904 0 [snd-seq-midi snd-opl3-synth snd-seq-oss snd-seq snd-opl3-lib snd-rawmidi]
snd 27492 0 [snd-seq-midi snd-opl3-synth snd-seq-instr snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3332 12 [cmpci bttv btaudio snd]
apm 9608 2
ipt_TOS 952 34 (autoclean)
ipt_LOG 3384 141 (autoclean)
ipt_TCPMSS 2360 3 (autoclean)
iptable_nat 14904 1 (autoclean)
ipt_tos 440 0 (unused)
iptable_mangle 2072 1
ipt_tcpmss 792 0 (unused)
iptable_filter 1644 1
ipt_multiport 664 0 (unused)
ip_conntrack_ftp 3888 0 (unused)
ipt_state 536 13
ip_conntrack 18016 3 [iptable_nat ip_conntrack_ftp ipt_state]
ipt_limit 856 144
ip_tables 11768 13 [ipt_TOS ipt_LOG ipt_TCPMSS iptable_nat ipt_tos iptable_mangle ipt_tcpmss iptable_filter ipt_multiport ipt_state ipt_limit]

(sorry for listing all the other guff) No joy (pun intended)
 
Old 11-12-2003, 02:09 PM   #4
dr_van_nostrand
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware 9.1
Posts: 77

Rep: Reputation: 15
I also have the same problem
My soundcard is a Zoltrix 4 channel something with the c-media 8738 chip.
I use Alsa sound. There are options for the gamepad with oss drivers (haven't tried them), but i rather use Alsa.

The kernel(2.6 test-9) documentation file (Documentation/sound/alsa/CMIPCI.txt) for c-media cards says:
Quote:
Joystick and Modem
------------------

The joystick and modem should be available by enabling the control
switch "Joystick" and "Modem" respectively. But I myself have never
tested them yet.
I don't understand what i should do

Maybe i test oss instead.
 
Old 11-12-2003, 04:27 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,618

Rep: Reputation: 104Reputation: 104
You do not mention anything about making an alias for the gameport to tell the system that you have a joystick connected to it on my system in the /etc/modutils/aliases I have:
Code:
# Added by me for Sidewinder Joystick
alias char-major-13     sidewinder
pre-install sidewinder modprobe joydev ; modprobe emu10k1-gp
Which tells the system that I have a joystick using the Sidewinder module connected to the port. You may want to check into a similar option for your distro you do not mention which one you are using for this.
 
  


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
Hope for newbies! ahp123 SUSE / openSUSE 5 11-29-2005 01:43 AM
"Rumble" joypads under Linux R4cOOn Linux - Games 1 02-14-2005 01:52 PM
Hotplug mixes up two USB joypads SAM_site Linux - General 0 07-08-2004 02:04 AM
Hope 10 is better then 9.2 /home/kyle General 3 03-12-2004 05:34 AM
You all are my last hope..... Cap'n Ahab Linux - Newbie 8 07-19-2003 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration