Help - Search - Members - Calendar
Full Version: Parallel Port Conflict
Linuxhelp > Support > Technical Support
glibdud
Greetings. I think this is a fairly simple problem, and I hope it has a solution short of rebuilding the kernel. smile.gif

I'm trying to get a couple of old-school Nintendo controllers hooked up via the parallel port as described in the joystick-parport.txt document shipped with the kernel (2.4.20). I think I'm almost there... For now I'm passing the 'gc=...' line to the kernel at the LILO prompt, but it appears lp0 gets a hold of the parallel port just before the joystick driver does. From my syslog:

CODE
Feb  5 19:22:16 pollux kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE]
...
Feb  5 19:22:16 pollux kernel: lp0: using parport0 (polling).
Feb  5 19:22:16 pollux kernel: parport0: cannot grant exclusive access for device gamecon
Feb  5 19:22:16 pollux kernel: gamecon.c: parport busy already - lp.o loaded?


lp0 doesn't need to be messing with the parallel port at all. How can I disable this? (To the best of my recollection, all relevent kernel options are compiled in, rather than built as modules... if any specific knowledge is needed, I can look it up.)

Thanks,
-David Murphy
glibdud
Follow-up: I've done some more research, and thought I had found the answer to my question. A tip from a help dialog in the kernel 'make menuconfig' led me to the file drivers/char/lp.c, which says that when parallel printer support is compiled into the kernel (which it is, in my case), then passing 'lp=off' to the kernel should do the trick. Sadly, this appears not to be the case. I passed 'lp=off gc=..." at the LILO prompt, and I still got the same messages on bootup as above: lp0 still grabs onto the port.

Any other ideas?

Thanks,
-David Murphy
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.