Re: Install analog joystick

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Jul 2005 01:18:33 -0500, Javier Perez wrote
> Hi
> I am running a generic 2-axis 3 button joystck that  sticks to the 9
> pin joystick port in the back of the computer.
> 
> The sysetm does not detect it on startup.
> 
> Javier
> 
> On 7/17/05, Wolfgang Gill <wolfgang@xxxxxxxxxx> wrote:
> > On Sun, 17 Jul 2005 14:07:24 -0500, Javier Perez wrote
> > > Hi
> > >
> > > I read the joystick.txt file and some other analog joystick stuff on
> > > the net but they all assume that i am compiling the kernel or doing
> > > Make.
> > >
> > > My question is very simple, How do I install the Analog joystick on FC4?
> > >
> > > I do not even have the /dev/input/jsX files
> > >
> > > I tried placing in modprobe.conf
> > >
> > > alias char-major 13 joydev
> > > options joydev js_an=0x201,0x33
> > >
> > > but no dice, It seems to be ignored on reboot.
> > >
> > > could somebody please help me understand the steps I need and why?
> > >
> > > thanks
> > >
> > > --
> > > ------------------------------
> > >  /\_/\
> > >  |O O|  pepebuho@xxxxxxxxxxx
> > >  ~~~~         Javier Perez
> > >  ~~~~                 While the night runs
> > >  ~~~~                 toward the day...
> > >   m m         Pepebuho watches
> > >                           from his high perch.
> > 
> > Your joystick should have been automaticly detected and setup (Assuming FC4 is
> > anything like RHEL4 which also uses a 2.6 kernel). The only thing that you
> > would need to do, is to create a symlink to /dev/input/js0 as the 2.6 kernel
> > creates the joystick device there. So you need to create the symlink in /dev
> > where the apps look for it like this. (/dev/js0 is the old location which is
> > used in previous kernels)
> > 
> > ln -s /dev/input/js0 /dev/js0
> > 
> > The test apps and other programs like games which can use the joystick should
> > now find it.. There is another way to do it, but I'm not on my RHEL4 box right
> > now.. (This system here still runs RH9, so it's different).
> > 
> > Oh, and you don't mention the brand of joystick your trying to configure. I
> > use a CH Products Combatstick 568 USB on my system, which it detects and
> > configures automatically, but I still have to change the location and/or
> > symlink to the new location like I mentioned above. And it works great in UT,
> > UT2K4 etc just fine. Or whether your running a Joystick port type Joystick or
> > a USB one like I have.
> > 
> > Hope this Helps,
> > Wolf
> > --
> > Open WebMail Project (http://openwebmail.org)

I forgot to add that you may need to read this part too, as it refers to
Joystick port joysticks.. (As Mine is a USB joystick that stuff isn't needed)

2.4 Modules needed 
~~~~~~~~~~~~~~~~~~
  For all joystick drivers to function, you'll need the userland interface
module in kernel, either loaded or compiled in:

	modprobe joydev

  For gameport joysticks, you'll have to load the gameport driver as well;

	modprobe ns558

  And for serial port joysticks, you'll need the serial input line
discipline module loaded and the inputattach utility started:

	modprobe serport
	inputattach -xxx /dev/tts/X &

  In addition to that, you'll need the joystick driver module itself, most
usually you'll have an analog joystick:

	modprobe analog
	
  For automatic module loading, something like this might work - tailor to
your needs:

	alias tty-ldisc-2 serport
	alias char-major-13 input
	above input joydev ns558 analog
	options analog js=gameport

Wolf
--
Open WebMail Project (http://openwebmail.org)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux