LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /dev/lp0 not recognized (https://www.linuxquestions.org/questions/linux-general-1/dev-lp0-not-recognized-218489/)

tiagobt 08-16-2004 06:02 PM

/dev/lp0 not recognized
 
I'm trying to install an EPSON Stylus Color 600 printer, but the parallel port
(/dev/lp0) doens't seem to be recognized. I've tried using "Add Printer
Wizard", but when I get to "Local Port Selection", there's nothing under
"Parallel". The commands "modprobe parport lp" and "/etc/init.d/cupsys
restart" didn't seem to help. Also, the command "text.txt > /dev/lp0" returns
the message "bash: /dev/lp0: No such device or address". Any thoughts on what
may be happening? Just to let you know, I may be making a very stupid mistake,
since I'm new at Linux.

Thanks for the help,
Tiago

sharper 08-16-2004 09:22 PM

Couple of questions that you've probably allready checked, but it doesn't hurt to make sure.

What does ls -l /dev/lp0 show? If there is no /dev/lp0 you'll need to create the device.

Is parallel support compiled into the kernel in both places? Using menuconfig there is a group called Parallel Port Support that need to be picked, and further down under Character Devices is an entry for Parallel Printer Support

tiagobt 08-17-2004 04:23 PM

The command ls -l /dev/lp0 returns the following:
crw-rw-rw- 1 root lp 6, 0 2001-04-14 21:44 /dev/lp0

About the second question, I'm not really sure, since I don't know where to find menuconfig (if you could help me on this one...). By the way, i use a Brazilian distro called Kurumin (www.guiadohardware.info), which is based on Knoppix.

Thanks for the help

sharper 08-17-2004 10:07 PM

To run make menuconfig you need to be in the directory where the kernel source is (on mine it is /usr/src/linux). I would probably try to get hold of somebody that understands cups and make sure that is all correct before trying anything with the kernel.

If you do anything with the kernel make sure you read the documentation first. If you mess that up your system is unusable.

JZL240I-U 08-18-2004 08:02 AM

What does your BIOS say? Is the parallel port known and its base address displayed?

tiagobt 08-19-2004 02:24 PM

Quote:

Originally posted by JZL240I-U
What does your BIOS say? Is the parallel port known and its base address displayed?
How do I know that? I'm sorry...

JZL240I-U 08-20-2004 02:21 AM

In the first seconds after switching on your computer several messages are displayed, e.g. "To enter BIOS-Setup press <Del>" (or some other key). Do that and look at the entries until you find the page about the serial and parallel ports...

Oh, btw. when you want to get out of the setup you'll have to enter y(es) or n(o) from an american(!) keyboard layout which might differ from yours (dunno where you live you left your user-CP empty...)

comprookie2000 08-20-2004 05:52 PM

If you are trying to set it up in KDE make sure you are in admin. mode for cups to see your printer.

halil 09-27-2004 01:26 PM

lp0
 
Try this:
modprobe lp lp0


All times are GMT -5. The time now is 03:16 AM.