SNES gamepad doesn't work with kernel 2.6.x
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm using a SNES gamepad at my parallel port. With kernel 2.4.x it works, but with kernel 2.6.x I get following error while inserting the module:
# modprobe gamecon gc=0,1,0,0,0,0 FATAL: Error inserting gamecon (/lib/modules/2.6.9/kernel/drivers/input/joystick/gamecon.ko): No such device
# modprobe gamecon gamecon.map=0,1,0,0,0,0 FATAL: Error inserting gamecon (/lib/modules/2.6.9/kernel/drivers/input/joystick/gamecon.ko): No such device
The module lp is not loaded while parport is. With kernel 2.4.x there are no problems - so is it a bug?
Thanks in advance,
Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBk5PLlLqZutoTiOMRAu+IAJ9wzegM5+BB7prIRZi626qqHAsVnQCeK/G/ 7LhnIybXM/ogsY5AqC3kMQc=
=BiN9
-----END PGP SIGNATURE-----
Hi,
Quoted 1 line
With kernel 2.4.x there are no problems - so is it a bug?
it works for me without problems. are you sure that you loaded parport_pc as well?
--
Aristeu
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aristeu Sergio Rozanski Filho wrote:
| it works for me without problems. are you sure that you loaded | parport_pc as well?
Yes, the modules parport and parport_pc are loaded. So what else is important and could cause this conflict?
Thanks in advance,
Alexander Fieroch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBk+s8lLqZutoTiOMRAgw3AJ4rvshTCJEt0/02CISC6GkRwoo7cgCfX+9F 5hrNg/yKv/+0J5PNgxOUubw=
=qZ1a
-----END PGP SIGNATURE-----
Hi!
Quoted 2 lines
Yes, the modules parport and
parport_pcare loaded. So what else is important and could cause this conflict?
could you send the output of 'dmesg' command? it may give a hint of what's going on.
thanks,
Signature · 1 line
Aristeu
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aristeu Sergio Rozanski Filho wrote:
| could you send the output of 'dmesg' command? it may give a hint of | what's going on.
hm, when I try to start the module with
# modprobe gamecon gamecon.map=0,1,0,0,0,0
or
# modprobe gamecon gc=0,1,0,0,0,0
I get "gamecon: Unknown parameter `gamecon.map'" in /var/log/syslog and dmesg.
Just trying to load it with
# modprobe gamecon
returns the error again and no message in /var/log/syslog or dmesg.
# modprobe gamecon FATAL: Error inserting gamecon (/lib/modules/2.6.9/kernel/drivers/input/joystick/gamecon.ko): No such device
So there are no further hints... :-/
How do you load the module? just with "modprobe gamecon" or any parameters?
Greetings,
Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBlP+WlLqZutoTiOMRAi0/AKCL0LfSeWZRZcSD58oUbwgP6IhYxgCfUAdz /oYUH19Oyd9RVKTEhm/lzhg=
=kf+m
-----END PGP SIGNATURE-----
Hi!
Quoted 8 lines
# modprobe gamecon gamecon.map=0,1,0,0,0,0or
# modprobe gamecon gc=0,1,0,0,0,0I get "gamecon: Unknown parameter `gamecon.map'" in
/var/log/syslogand dmesg.
maybe I'm wrong but the format foo.bar= is only used when it's compiled as built-in, not as module
then, try do:
modprobe gamecon map=0,1
it should work
Signature · 1 line
Aristeu
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aristeu Sergio Rozanski Filho wrote:
| maybe I'm wrong but the format foo.bar= is only used when it's | compiled as built-in, not as module | | then, try do: | modprobe gamecon map=0,1 | | it should work
Yes thanks, it works! Now I can load the module gamecon but the gamepad does not respond for example with jstest or jscalibrator.
So doesn't my parallel port supply the gameport with enough power?
Thanks,
Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBnTBtlLqZutoTiOMRAsQfAJ9QI5ZAZHQ0VvQrsNfCHbe1UjuXSACdFfHG akhsG0A630nNovd0Al/TY/w=
=JjMp
-----END PGP SIGNATURE-----