LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-14-2004, 10:55 AM   #1
jimbob1234
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 21

Rep: Reputation: 15
Question Cannot use parallel port under 2.6.4


I have been unable to get my parallel port to work under kernel 2.6.4, slackware 9.1. I have searched all of the forums for help without any success. I have tried compiling lp, parport and portport_pc as modules and as part of the kernel, nothing has worked. If I boot with the default 2.4.3 kernel the port is set up perfectly and my printer works fine. I am using a HP Deskjet 722c winprinter with a pnm2ppa driver.

Is there something else i should be compiling into the kernel?

I have also tried all of the different parallel port settings in the BIOS.

Any help will be greatly appreciated!!


Thanks
 
Old 03-14-2004, 12:57 PM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Try uncommenting the entire code bits in rc.modules relating to pc style parallel port if it isn't already - I know I had to for 2.6.4 but with 2.4 I didn't have to.
 
Old 03-14-2004, 08:34 PM   #3
jimbob1234
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 21

Original Poster
Rep: Reputation: 15
Smile

I tried uncommenting the parallel port lines in rc.modules and it allowed me to see the port, but it would not route jobs to the printer.

I did find a modprobe option in rc.modules that will allow me to use my printer though.

I just do the following after boot:

modprobe parport_pc io=0x378 irq=7
modprobe lp

And everything works great. If I leave those lines uncommented in rc.modules it doesn't work.

Thanks for pointing me in the right direction!!

Does anyone know a way for me to pass these parameters to the parport_pc module at boot time?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where is the parallel port? kwyjibo99 Linux - Hardware 5 07-20-2005 05:47 PM
What's using my parallel port?! DiBosco Linux - Hardware 10 06-20-2004 10:18 AM
Parallel Port CD-RW dbrook42 Linux - Hardware 3 09-30-2003 07:54 PM
Parallel Port Crashed_Again Linux - Hardware 1 01-20-2003 08:52 PM
Parallel port scanner edenyard Linux - Hardware 0 06-01-2002 01:24 AM


All times are GMT -5. The time now is 04:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration