LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-22-2002, 06:30 PM   #1
thenag
LQ Newbie
 
Registered: Dec 2002
Posts: 1

Rep: Reputation: 0
help me to install my joystick plzzz


ok i've a psx joystick connected to parallel port and i'm using mandrake 9. the problem is that every time i tried to "modprobe gamecon" it gives me this message:

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

i've tried anything to no avail now i'm really confused
anyone have any information pleasse help....

for reference here's what i did:

# modprobe joydev
# gc=0,7 (module parameter for gamecon)
# modprobe gamecon (failed here)
 
Old 07-19-2003, 06:57 PM   #2
warpath0007
LQ Newbie
 
Registered: Jul 2003
Location: Spring Hill, FL
Posts: 2

Rep: Reputation: 0
Actually....

You have a somewhat similar problem as I.

I already know that the error you got is caused by the "lp" module.
lp - Parallel "(L)ine" (P)rinter Support

If you don't mind doing this manually then this is how you'll get it to work.: (This is assuming of course you ONLY have 1 parallel port and it's set up as 0x378 (LPT1) )

In any console do this:

rmmod lp
modprobe joydev
modprobe gamecon gc=0,7

and viola, but here a catch.

due to a mistake in the kernel source, the delay for the PSX is set too high, so if you have a fast machine the controller will lose calibration very quickly and most games will run SLOWLY because of this.

So if you know how to compile your kernel you can fix it this way:

Search in your kernel source directory for gamecon.c
, edit it and look for a line that says (I think) PSX_DELAY = 60 (60usec) and change it to PSX_DELAY = 20 (20usec)

then type:
make dep
make modules
make modules_install

reboot, and hopefully you should have no problems after that.

This problem is ONLY on kernel sources 2.4.20 and earlier.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
urgent plzzz!!!! Mhamad Linux - Newbie 13 07-13-2005 04:53 PM
help plzzz Ammad Linux - Networking 1 11-15-2004 08:03 AM
new joystick install problem jeanvalery Linux - Hardware 0 07-22-2003 03:04 AM
Soundblaster Gameport / joystick install slightcrazed Linux - General 3 05-20-2003 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration