Red Hat Bugzilla – Bug 841938
Make sure joysticks are supported for live games
Last modified: 2012-11-18 09:00:55 EST
Description of problem:
Joystick support is now in kernel-modules-extra and needs to be modprobed to allow joysticks to work. Given the emphasis of the games spin, this makes sense to do. systemd can be used to do the module load by adding a config file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
joydev is the joystick driver.
We also need a driver for joystick connections. analog and ns558 cover gameport cases. Serial port needs extra setup that doesn't seem worth trying to do at this point.
Then there are drivers specific to particular joysticks:
adi, sidewinder, grip, a3d, tmdc, cobra, gf2k, interact, lightning, pcigame, cs461x, emu10k1-gp.
Amiga joysticks aren't auto detected, so it's probably not worth trying them.
People messing with using parallel port to use console pads/joysticks probably isn't worth it either.
I need to test if just modprobing joydev is enough to get needed drivers loaded or if I need to load all drivers that might be used. (At home I just modprobe analog and things work for a gravis gamepad.)
The modprobes should be put in a file under /etc/modules-load.d/ in post. This isn't packaged, so belongs in /etc. For packages doing modeprobes stuff should go under /usr/lib/modules-load.d/.
i686 doesn't use PAE kernels for the live image so we can include just kernel-modules-extra in the package list.
The following commit attempts to address this:
My test build using rawhide had some other issues, so this isn't really tested yet. I'll look at using the rawhide kickstart with an f17 repo to see if that will work for testing.
I tested this using a f17 + updates for repos and it detected my game pad without me doing anything special.
I plan to rebuild the spin-kickstarts package shortly before alpha freeze and will leave this open until then.
Working on this prompted me to propose a joystick-support package that I had been meaning to do for a while. The review request is bug 842386. But given my floppy-support package didn't generate much interest, I don't expect this one too either. Still, you might find it useful to be able to set up joystick support with a package rather than doing it in %post in a ks file.
Let me know when you have some kind of a downloadable ISO somewhere.
I'll be happy to test the new (Logitech) X-input based gamepad support for you.
The live nightly composes have been hosed for a while. They were looked at today. They will eventually be available at: http://alt.fedoraproject.org/pub/alt/nightly-composes/ (There's links to build attempts now, but the builds are all failing. We'll need composes soon for QA to start testing, so I expect fixing builds to become a high priority item.
I downloaded the Fedora 18 Games Spin (Nightly Build) ISO, and the gamepad works nicely almost every game now!
Thanks for the great work.
* Dodgin' Diamond II
* Extreme Tux Racer
* Kobo Deluxe
Only SuperTuxKart seems to have a problem.
The movement works, but the fire-buttons don't.
I believe this is a different issue, so (if I can reproduce it) I'll register a different bug for that.
Thanks for testing this. At this point I think this can be closed.