/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 |
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 |
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 |
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. |
What does your BIOS say? Is the parallel port known and its base address displayed?
|
Quote:
|
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...) |
If you are trying to set it up in KDE make sure you are in admin. mode for cups to see your printer.
|
lp0
Try this:
modprobe lp lp0 |
All times are GMT -5. The time now is 03:16 AM. |