Fedora Linux Support Community & Resources Center
  #1  
Old 30th June 2005, 08:30 AM
kRogue Offline
Registered User
 
Join Date: Jun 2005
Posts: 56
how to get joysticks in FC4 working?

o my system I have a couple of joysticks (namely 2 very old sidewinder gamepads and 1 Sidewinder USB joystick). In Fedora Core 1 I added the lines:

################################################
###### Get the joysticks working ###############

action "Loading joydev module: " insmod joydev
action "Loading gameport module: " insmod gameport

######## choose physical gameport device #########
## uncomment below to use gameport on SBLive! card
## action "Loading emu10k-gp module: " insmod emu10k1-gp ##

## load the generic gameport driver:
action "Loading ns558 (Genertic ISA gameport driver):" insmod ns558

#### now load sidewinder module #####
action "Loading sidewinder module: " insmod sidewinder


to rc.sysinit... now if I do modprobe by hand the above modules, whn I run jstest, it syas there are no joysticks... hmm... so what do I do?

Update: chagned since FC1, the joystick devices are now in /dev/input/ instead of /dev, however, at this point it only finds the USB joystick, the Sidewinder are MIA.

Update: the startup sequence apparently automaticly loadsup the module for my aging SBLive's gameport (emu10k1_gp), bt the sidewinder pads are hooked up to the Moterboards (builtin) gameport [this is becuase under Win9x, the SBLive gameport is flaky). after (by hand) removing emu10k1_gp via rmmod, and then doing the above the sidewinders appeared. Though, would one remove the emu10k1_gp loading for the boot up sequence?

Last edited by kRogue; 30th June 2005 at 08:38 AM.
Reply With Quote
  #2  
Old 1st July 2005, 09:09 AM
kRogue Offline
Registered User
 
Join Date: Jun 2005
Posts: 56
(bump) and update and someone help me please.

Well, this is what I thought would work to get the sidewinders reconized:

I added the following to my rc.sysinit:

action "Loading joydev module: " modprobe joydev
action "Loading gameport module: " modprobe gameport
action "Removing EMU10K1-gp module: " rmmod emu10k1_gp
action "Loading ns558 (Genertic ISA gameport driver):" modprobe ns558
action "Loading sidewinder module: " modprobe sidewinder

just before the command

# Load modules (for backward compatibility with VARs)
if [ -f /etc/rc.modules ]; then
/etc/rc.modules
fi


as of this time, at boot the joypads (but not the joystick) is missing in action. Agian if I log in as root and do:

rmmod sidewinder
rmmod emu10k1_gp
rmmod gameport
modprobe joydev
moprobe gameport
modprobe ns558
modprobe sidewinder

then they are apear.. so... what can I do to get this to work at boot?! is there a way to pass a parameter to sidewinder telling it to use the ns558 gameport and not the SBLive!'s ?

Best Regards
Reply With Quote
  #3  
Old 1st July 2005, 05:31 PM
SuperNu's Avatar
SuperNu Offline
Registered User
 
Join Date: Mar 2004
Posts: 617
As I have posted here, you could always try adding emu10k1_gp to /etc/hotplug/blacklist to prevent hot plug from automatically loading emu10k1_gp. Another tip on preventing modules from loading is here. If these two methods do not work, you could always add the rmmod/modprobe command lines to /etc/rc.d/rc.local so they run after everything else has run on system initialization.

--SN
Reply With Quote
  #4  
Old 3rd July 2005, 08:31 AM
kRogue Offline
Registered User
 
Join Date: Jun 2005
Posts: 56
well, I first tried to add emu10k1_gp to /etc/hotplug/blacklist, the module still got loaded at boot. then I tried adding the line:

install emu10k1_gp /bin/true

to modules.conf, now the module does not get loaded, BUT the joypads are still not reconized after booting even though I added:

/sbin/modprobe joydev
/sbin/modprobe gameport
/sbin/modprobe ns558
/sbin/modprobe sidewinder

to /etc/rc.d/rc.local

but if I run a script which is just the following:

/sbin/rmmod sidewinder
/sbin/rmmod ns558
/sbin/rmmod emu10k1_gp
/sbin/rmmod joydev
/sbin/rmmod gameport
/sbin/modprobe joydev
/sbin/modprobe gameport
/sbin/modprobe ns558
/sbin/modprobe sidewinder

after logging in, then the joypads get reconzied and work... jsut wierd.... I also ran lsmod to see what modules where loaded, and sure enough at boot the modules: joydev, ns558, gameport and sidewinder are loaded, BUT the joypads are not reconized. but by unloading then and then re-loading them then they are ok... wierd.. any ideas?


Best Regards
Reply With Quote
  #5  
Old 9th September 2005, 08:36 AM
allmain Offline
Registered User
 
Join Date: Jan 2005
Location: Brisbane Australia
Posts: 84
I think it will be ns558 module which is causing the problem. On my system i added to /etc/rcd/rclocal
/sbin/modprobe ns558
/sbin/modprobe analog
/sbin/modprobe joydev
/sbin/rmmod ns558
/sbin/modprobe ns558

now joystick works after boot

Regards
Allmain
Reply With Quote
Reply

Tags
fc4, joysticks, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 and joysticks hiberphoptik Hardware & Laptops 0 5th March 2007 06:24 AM
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci Using Fedora 0 5th April 2006 06:50 AM
Gameport joysticks not working - not detected. kerrysl Hardware & Laptops 3 29th June 2005 01:44 AM
joysticks and FC3 LinuxHippy Hardware & Laptops 2 13th January 2005 10:48 AM


Current GMT-time: 06:40 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat