[Nottingham] Re joystick, thanks.

jason nottingham at mailman.lug.org.uk
Sun Jan 12 21:25:00 2003


Just to say thankyou to Lee and Alan.
I need to look up the difference between insmod and modprobe and work thr=
ough=20
the things you've sent but I'm sure it'll get me there in the end.

So far:
Created /dev files as per joystick.txt
insmod'ed input and joydev and joystick support still not working.
Modprobe'd joydev. Then modprobing ns558 gives an error:

lib/modules/2.4.19-16mdk/kernel/drivers/char/joystick/ns558.o.gz: init_mo=
dule:=20
No such device
Hint: insmod errors can be caused by incorrect module parameters, includi=
ng=20
invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
modprobe: insmod=20
/lib/modules/2.4.19-16mdk/kernel/drivers/char/joystick/ns558.o.gz failed
modprobe: insmod ns558 failed

I'm guessing this is bad but I need to read up more about what is actuall=
y=20
being done to understand why the devide is missing I think.
Anyway, I'm further than I was so thankyou.

Oh yes, cat /dev/devices now gives:
Character devices:
  1 mem
  2 pty/m%d
  3 pty/s%d
  4 tts/%d
  5 cua/%d
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
116 alsa
128 ptm
136 pts/%d
162 raw
180 usb
195 nvidia

Block devices:
  1 ramdisk
  2 fd
  3 ide0
  9 md
 11 sr
 22 ide1

Which seems promising for 13 being input.

Now to work out the difference between modprobe and insmod. (Is modprobe =
just=20
a wrapper around insmod I wonder?)
Thanks again,
Jason