LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-04-2005, 08:51 AM   #1
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Rep: Reputation: 15
/dev/lp0 gone after kernel upgrade


I upgraded my Slackware "current" from 2.4.29 to 2.6.10. I made initrd.gz and I checked to make sure udev was being used. The udev.conf file does not mention any lp0's for parallel ports. The two unsupported.conf files do mention them at different locations. One mentions them at /dev/lp0, the other at /dev/printers/lp0.

What is the best way for me to get my parallel port listed in the devices folder?
 
Old 02-04-2005, 09:57 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Udev will make /dev/lp0 if you compile support for a parallel port printer into the kernel. Did you enable

Parallel port support --->[*] Parallel port support[*] PC-style hardware

Character devices --->[*] Parallel printer support
 
Old 02-04-2005, 12:53 PM   #3
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Original Poster
Rep: Reputation: 15
I didn't compile the kernel. I used the standard one from /testing in Slackware "current". I would think Patrick would include parallel ports in a generic kernel. Perhaps I need to modprobe for it.
 
Old 02-04-2005, 03:19 PM   #4
ValidiusMaximus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
Be a man! Download the latest kernel source and custom compile a kernel. www.kernel.org

If you do, dont forget to get the latest module-init-tools as well or modprobe, lsmod, and insmod will be broken.
 
Old 02-04-2005, 03:28 PM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Quote:
Originally posted by trigggl
I didn't compile the kernel. I used the standard one from /testing in Slackware "current".
My mistake. I didn't know you could download new kernels for Slack. To be honest the standard Slack kernels don't work very well on my hardware so the first thing I do when I install Slack is roll my own.
Quote:
Perhaps I need to modprobe for it.
modprobe parport
modprobe lp
 
Old 02-04-2005, 04:07 PM   #6
ValidiusMaximus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge
Posts: 169

Rep: Reputation: 30
Quote:
Originally posted by Andrew Benton
My mistake. I didn't know you could download new kernels for Slack. To be honest the standard Slack kernels don't work very well on my hardware so the first thing I do when I install Slack is roll my own.
modprobe parport
modprobe lp
Precompiled kernels never work as well as custom ones.
 
Old 02-04-2005, 05:12 PM   #7
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Original Poster
Rep: Reputation: 15
Excuse Me?!

Quote:
Originally posted by ValidiusMaximus
Be a man! Download the latest kernel source and custom compile a kernel. www.kernel.org

If you do, dont forget to get the latest module-init-tools as well or modprobe, lsmod, and insmod will be broken.
I am not one who shies away from compiling my own kernel and I have done it before, but my Slackware install is the one I'm trying to get my whole family to use and they won't use it if I'm constantly breaking things, like I am now. The whole reason I even put the 2.6 kernel on my Slackware install was to use it to build my Linux From Scratch installation. In fact, I wouldn't even be working on the printing problem right now if my wife weren't constantly trying to print. If I don't fix it, she'll be back on the Windows install in a flash.


Thanks Andrew, I see that you and I have the same taste in Linux. I have a feeling that that is exactly what I need to do.
 
Old 02-04-2005, 06:33 PM   #8
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Original Poster
Rep: Reputation: 15
Something still isn't happening. The parallel port was placed at /dev/printers/0. In CUPS, that was labeled as the Parallel Port. I modprobed and it still won't print. There are four jobs that are just sitting there waiting.
 
Old 02-04-2005, 08:38 PM   #9
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
This has helped me in the past http://www.linuxquestions.org/questi...48#post1154848
 
Old 02-04-2005, 08:49 PM   #10
trigggl
Member
 
Registered: Dec 2004
Location: Jacksonville, AR
Distribution: Debian Etch, AIX, Slackware
Posts: 117

Original Poster
Rep: Reputation: 15
Well, when in doubt, start at the rc.S file and work your way forward. I finally found the answer. rc.S calls rc.modules. rc.modules is a sym link to rc.modules-2.6.10. The parallel port and parallel printer sections were commented out. I uncommented them, rebooted and pointed the printer back where it was in the first place. It's printing as I type.
 
Old 08-13-2007, 02:19 PM   #11
schlabs
LQ Newbie
 
Registered: Aug 2007
Posts: 20

Rep: Reputation: 1
Smile In Suse 10.1 happen too

I have a server with SuSE 10.1, and the same problem

"modprobe LP"

work, but still dont find a way to solve automatically.
Regards
 
  


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
/dev/lp0 doesn't exists conio Linux - Hardware 26 01-12-2013 12:28 PM
Why no /dev/lp0 in CUPS sharper Slackware 0 12-25-2004 08:19 PM
/dev/lp0 not recognized tiagobt Linux - General 8 09-27-2004 02:26 PM
Who stole my /dev/lp0 ? Timer Linux - Hardware 0 07-13-2004 04:26 PM
Redirection > /dev/lp0 XT8088 Linux - Newbie 2 09-20-2003 07:36 PM


All times are GMT -5. The time now is 09:47 PM.

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