/dev/lp0 not detected...

/dev/lp0 not detected...

Post by Brent Edward » Tue, 19 Oct 1999 04:00:00



I have installed RedHat 6.0 on a system.  Upgraded to kernel 2.2.12...
I am using an Abit BP6 motherboard (ATX built in parallel port).

The problem I am having is that the printer port is not being detected.
I have made sure the interface isn't disabled in the bios, and read
through the printer how-to's, and don't see anything that could be
causing my problem.

When I run the print RedHat Print manager nothing is detected on lp0,
lp1, or lp2 (when you add a local printer it tries to detect the port).

After doing a little reading it seems that the actual port is lp0, etc..
is assigned based on the address range being used.  I haven't tried
forcing the printer port to a specific address in the Bios.  Other than
that I can't seem to find any hints.

Thanks in advance,

Brent Edwards

 
 
 

/dev/lp0 not detected...

Post by jenu.. » Tue, 19 Oct 1999 04:00:00



> I have installed RedHat 6.0 on a system.  Upgraded to kernel 2.2.12...
> I am using an Abit BP6 motherboard (ATX built in parallel port).
> The problem I am having is that the printer port is not being detected.
> I have made sure the interface isn't disabled in the bios, and read
> through the printer how-to's, and don't see anything that could be
> causing my problem.
> When I run the print RedHat Print manager nothing is detected on lp0,
> lp1, or lp2 (when you add a local printer it tries to detect the port).
> After doing a little reading it seems that the actual port is lp0, etc..
> is assigned based on the address range being used.  I haven't tried
> forcing the printer port to a specific address in the Bios.  Other than
> that I can't seem to find any hints.

I don't know much about Redhat's print manager, but I would suspect
that something strange is happening with it.

Was the parallel port detected during the boot sequence.  Maybe try
dmesg | grep par and see if a port was detected.  Mine returns
something like this

gateway:~> dmesg | grep par
parport0: PC-style at 0x378 [SPP,PS2]
lp0: using parport0 (polling).
gateway:~>

You might then want to check to see if the parallel ports are
writable by you.  Try ls -l /dev/lp* and see what happens.
Mine does this.

gateway:~> ls -l /dev/lp*
crw-rw----   1 root     daemon     6,   0 Apr 27  1995 /dev/lp0
crw-rw----   1 root     daemon     6,   1 Apr 27  1995 /dev/lp1
crw-rw----   1 root     daemon     6,   2 Apr 27  1995 /dev/lp2
gateway:~>

Then you might want to see if you can write to the printer (I assume that
is the device connected to the printer).

cat >> /dev/lp0
hello there
^l
^d

If that works, then you may have to figuire up how to set up the printer.

You may just have a problem with a cable that is not bi-directional or
something like that.

--
Best regards,

Stephen Jenuth

Quidquid latine dictum sit, altum viditur.

 
 
 

/dev/lp0 not detected...

Post by Ale » Sat, 23 Oct 1999 04:00:00


I'm having the same sort of problem.  /dev/lp0 doesn't exist.  I've
tried compiling parallel port support into the kernel and using
modules.

I've edited my conf.modules with the following lines:
alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7

When I run dmesg | grep par I get:
parport0: PC-style at 0x378, irq 7 [SPP,PS2,EPP]
parport0: no IEEE-1284 device present.

When I try cat >> /dev/lp0, it returns a no such device error.  

If I boot to DOS, I can use dir >lpt1 and a directory will print so it
looks like the port is working.  What am I missing in Linux?
I'm running SUSE 6.2 with kernel 2.2.12 (2.2.10 had same problem) on
an Abit BP6 motherboard.  

When I type in lpq it says:
Warning: queue is not active (no server present).
  printing disabled                            

When I type in lpc start all, I get:
lpc: connect: Connection refused
        couldn't start daemon

Any ideas out there?  It look like Linux isn't find lpt1 on boot up
and thus not mapping /dev/lp0.  Printing worked for me about a month
ago and then all of a sudden stopped.  I've been struggling with this
problem for a long time and haven't been able to get anywhere.  Any
gurus out there have an answer?  Please send me e-mail or post here.

Thanks,
Alex



>> I have installed RedHat 6.0 on a system.  Upgraded to kernel 2.2.12...
>> I am using an Abit BP6 motherboard (ATX built in parallel port).

>> The problem I am having is that the printer port is not being detected.
>> I have made sure the interface isn't disabled in the bios, and read
>> through the printer how-to's, and don't see anything that could be
>> causing my problem.

>> When I run the print RedHat Print manager nothing is detected on lp0,
>> lp1, or lp2 (when you add a local printer it tries to detect the port).

>> After doing a little reading it seems that the actual port is lp0, etc..
>> is assigned based on the address range being used.  I haven't tried
>> forcing the printer port to a specific address in the Bios.  Other than
>> that I can't seem to find any hints.

>I don't know much about Redhat's print manager, but I would suspect
>that something strange is happening with it.

>Was the parallel port detected during the boot sequence.  Maybe try
>dmesg | grep par and see if a port was detected.  Mine returns
>something like this

>gateway:~> dmesg | grep par
>parport0: PC-style at 0x378 [SPP,PS2]
>lp0: using parport0 (polling).
>gateway:~>

>You might then want to check to see if the parallel ports are
>writable by you.  Try ls -l /dev/lp* and see what happens.
>Mine does this.

>gateway:~> ls -l /dev/lp*
>crw-rw----   1 root     daemon     6,   0 Apr 27  1995 /dev/lp0
>crw-rw----   1 root     daemon     6,   1 Apr 27  1995 /dev/lp1
>crw-rw----   1 root     daemon     6,   2 Apr 27  1995 /dev/lp2
>gateway:~>

>Then you might want to see if you can write to the printer (I assume that
>is the device connected to the printer).

>cat >> /dev/lp0
>hello there
>^l
>^d

>If that works, then you may have to figuire up how to set up the printer.

>You may just have a problem with a cable that is not bi-directional or
>something like that.

 
 
 

/dev/lp0 not detected...

Post by Adam Finkelste » Mon, 25 Oct 1999 04:00:00



Lucid description of brain wracking and befuddling "missing /dev/lp*"
problem deleted.

Quote:>Any ideas out there?  It look like Linux isn't find lpt1 on boot up
>and thus not mapping /dev/lp0.  Printing worked for me about a month
>ago and then all of a sudden stopped.  I've been struggling with this
>problem for a long time and haven't been able to get anywhere.  Any
>gurus out there have an answer?  Please send me e-mail or post here.

>Thanks,
>Alex

Hear, hear. Moi, aussi, Right on. This _is_ a mystery.

Anybody brave and bold enough to solve it?
Thanks!
Adam
--
Adam J. Finkelstein

http://metalab.unc.edu/bees/adamf

 
 
 

/dev/lp0 not detected...

Post by <i.. » Wed, 27 Oct 1999 04:00:00


Yes,

I have compiled parallel printer support into the kernel.  I've tried
loading it up as a module also.  This problem occurs with version 2.2.10
and 2.2.12 of the kernel.  I don't know exactly when everything died but
it was during the time I was trying to resolve a problem with IPchains and
FTP timeouts.  I was all e*d about resolving that one until this
problem showed up.

Alex






> >Lucid description of brain wracking and befuddling "missing /dev/lp*"
> >problem deleted.

> >>Any ideas out there?  It look like Linux isn't find lpt1 on boot up
> >>and thus not mapping /dev/lp0.  Printing worked for me about a month
> >>ago and then all of a sudden stopped.  I've been struggling with this
> >>problem for a long time and haven't been able to get anywhere.  Any
> >>gurus out there have an answer?  Please send me e-mail or post here.

> >>Thanks,
> >>Alex

> >Hear, hear. Moi, aussi, Right on. This _is_ a mystery.

> >Anybody brave and bold enough to solve it?
> >Thanks!
> >Adam

> Not sure which version of the kernel you are running, but have you
> compiled support for parallel printer support in the kernel?  When it
> stopped working, was it a result of an upgrade and perhaps you need to
> recompile in the kernel?

> -
> --
> -----------------------------------
> Curtis Newton

> http://www.veryComputer.com/
> -----------------------------------

> Due to USENET spamming, I had to modify
> my reply to email address.

> Please delete  ".remove"  to reply.

> By US Code Title 47, Sec.227(a)(2)(B), a computer/modem/printer meets
> the definition of a telephone fax machine.  By Sec.227(b)(1)(C), it is
> unlawful to send any unsolicited adverti*t to such equipment.  By
> Sec.227(b)(3)(C), a violation of the aforementioned Section is
> punishable by action to recover actual monetary loss, or $500, whichever
> is greater, for each violation.

--
Posted via CNET Help.com
http://www.veryComputer.com/
 
 
 

/dev/lp0 not detected...

Post by Alain Naigeo » Thu, 28 Oct 1999 04:00:00



Quote:

> Yes,

> I have compiled parallel printer support into the kernel.  I've tried
> loading it up as a module also.  This problem occurs with version 2.2.10
> and 2.2.12 of the kernel.

I have the same problem with a 2.2.11 version.

--

   Musique renaissance : http://listen.to/renmusic
   --> Several pages now available in English! <--

 
 
 

/dev/lp0 not detected...

Post by John » Thu, 28 Oct 1999 04:00:00





> Lucid description of brain wracking and befuddling "missing /dev/lp*"
> problem deleted.

> >Any ideas out there?  It look like Linux isn't find lpt1 on boot up
> >and thus not mapping /dev/lp0.  Printing worked for me about a month
> >ago and then all of a sudden stopped.  I've been struggling with this
> >problem for a long time and haven't been able to get anywhere.  Any
> >gurus out there have an answer?  Please send me e-mail or post here.

> >Thanks,
> >Alex

> Hear, hear. Moi, aussi, Right on. This _is_ a mystery.

> Anybody brave and bold enough to solve it?
> Thanks!
> Adam
> --
> Adam J. Finkelstein

> http://metalab.unc.edu/bees/adamf

add the following to /etc/conf.modules

alias parport_lowlevel parport_pc

and reboot

 
 
 

/dev/lp0 not detected...

Post by kuse » Sun, 31 Oct 1999 04:00:00


I have the same problem. I upgraded my kernel to 2.2.13 and now at
startup I get a message no devices for lp. I have  alias
parport_lowlevel parport_pc in conf.modules but I still get this
message. I have parallel port and parallel printer support builtin to
the kernel. Any other suggestions?

Quote:> add the following to /etc/conf.modules

> alias parport_lowlevel parport_pc

> and reboot

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

/dev/lp0 not detected...

Post by Adam Finkelste » Sun, 31 Oct 1999 04:00:00




>I have the same problem. I upgraded my kernel to 2.2.13 and now at
>startup I get a message no devices for lp. I have  alias
>parport_lowlevel parport_pc in conf.modules but I still get this
>message. I have parallel port and parallel printer support builtin to
>the kernel. Any other suggestions?

Try:  /usr/src/linux/Documentation/parport.txt

Adam
--
Adam J. Finkelstein

http://metalab.unc.edu/bees/adamf

 
 
 

/dev/lp0 not detected...

Post by kuse » Mon, 01 Nov 1999 03:00:00


I did try that and it didn't help. On startup I get the error
message: 'Root fs not mounted' when it loads parport modules. Then it
says: 'lp loaded but no devices found'

> Try:  /usr/src/linux/Documentation/parport.txt

> Adam
> --
> Adam J. Finkelstein

> http://metalab.unc.edu/bees/adamf

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

/dev/lp0 not detected...

Post by Paul » Mon, 01 Nov 1999 03:00:00


Em Sat, 30 Oct 1999, kuser escreveu:
Quote:>I have the same problem. I upgraded my kernel to 2.2.13 and now at
>startup I get a message no devices for lp. I have  alias
>parport_lowlevel parport_pc in conf.modules but I still get this
>message. I have parallel port and parallel printer support builtin to
>the kernel. Any other suggestions?

One that worked for me a while ago:
go to BIOS at startup and select EPP parallel port type. I had ECP and it
doesn't seem to work for kernel 2.2.10, at least. Also make sure you have a
symlink : /dev/lp -> /dev/lp0
 
 
 

/dev/lp0 not detected...

Post by Mickey Stei » Tue, 02 Nov 1999 04:00:00


sorry: haven't kept up with this thread so my suggestions may be useless
but............. :

after you made the kernel, (with parport and parport_pc hardware enabled) ,
did you do a "make modules" and then a "make module_install"(or
modules_install .. ) ? If not, then it won't make them and won't find them
either. It kind of sounds as if you've told the kernel you've got the
hardware but haven't made the modules for it to load. You can also compile
them right into the kernel but I'm not sure about what you've done.

            hope it works,

                  Mick

(oh--  you might want to re-resolve any symbolic links in /boot , like
/modules-info -> /modules-info-2.2.13, System.map -> System.map-2.2.13 and
of course vmlinuz -> vmlinuz-2.2.13. get System.map from /usr/src/linux,
modules-info from the one that's in /boot but rename it for the new kernel
and vmlinux from bzImage or whatever the output of the make kernel produced
in ./arch/i386/boot)(


> Typing dmesg this is what comes up

> request_module[parport_lowlevel]: Root fs not mounted
> request_module[parport_probe]: Root fs not mounted
> lp: driver loaded but no devices found

> I am using Mandrake 6.0 with kernel 2.2.13. I have EPP enabled in the
> BIOS. Any other suggestions? It feels like I've tried everything.

> > One that worked for me a while ago:
> > go to BIOS at startup and select EPP parallel port type. I had ECP and
> it
> > doesn't seem to work for kernel 2.2.10, at least. Also make sure you
> have a
> > symlink : /dev/lp -> /dev/lp0

> Sent via Deja.com http://www.deja.com/
> Before you buy.

 
 
 

/dev/lp0 not detected...

Post by kuse » Wed, 03 Nov 1999 04:00:00


Typing dmesg this is what comes up

request_module[parport_lowlevel]: Root fs not mounted
request_module[parport_probe]: Root fs not mounted
lp: driver loaded but no devices found

I am using Mandrake 6.0 with kernel 2.2.13. I have EPP enabled in the
BIOS. Any other suggestions? It feels like I've tried everything.

Quote:> One that worked for me a while ago:
> go to BIOS at startup and select EPP parallel port type. I had ECP and
it
> doesn't seem to work for kernel 2.2.10, at least. Also make sure you
have a
> symlink : /dev/lp -> /dev/lp0

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

/dev/lp0 not detected...

Post by kuse » Wed, 03 Nov 1999 04:00:00


I built the parallel port and parallel printer support right into the
kernel.  As for the symlinks in boot...I am not sure what you meant.  In
my /boot directory I have System.map, bzImage (kernel 2.2.13), and I
believe an old module-info and vmlinuz.  There is no
module-info-2.2.13.

Quote:> after you made the kernel, (with parport and parport_pc hardware
enabled) ,
> did you do a "make modules" and then a "make module_install"(or
> modules_install .. ) ? If not, then it won't make them and won't find
them
> either. It kind of sounds as if you've told the kernel you've got the
> hardware but haven't made the modules for it to load. You can also
compile
> them right into the kernel but I'm not sure about what you've done.

>             hope it works,

>                   Mick

> (oh--  you might want to re-resolve any symbolic links in /boot , like
> /modules-info -> /modules-info-2.2.13, System.map -> System.map-2.2.13
and
> of course vmlinuz -> vmlinuz-2.2.13. get System.map from
/usr/src/linux,
> modules-info from the one that's in /boot but rename it for the new
kernel
> and vmlinux from bzImage or whatever the output of the make kernel
produced
> in ./arch/i386/boot)(

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

1. /dev/lp0: not detected ?

hi there,

i installed pnm2ppa-1.04.i386.rpm

after "printool" (in gnome as 'root')
and clicked add local printer i got the following text

/dev/lp0: not detected
/dev/lp1: not detected
/dev/lp2: not detected

i clicked ok (i wanted to see furhter)

the hp 720 or 720c was not in the list

(i read some files in pnm2ppa-1.04.i386.rpm)

and tried the following in text-mode (login as root)

detect_ppa

the following return

*** script for testing installation of ppa print on linux
(requires 2.2.x kernel or later)
/usr/bin/detect_ppa: argument: command not found
*** errot cannot load/unload kernal module(s)
You must run this script as root

? i don't now wat it is,maybe is the hardware not detected right ? (see
/dev/lp0: not detected en so on)

hope you can help me

thanks

2. devfs v199.17 available

3. Red Hat 5.1 and /dev/lp0: Not detected

4. Building RAID 1/Redundancy on Existing E4500 System

5. /dev/lp0 Not detected !

6. current->need_reshed, can it be a global flag ?

7. Can't print; /dev/lp0 not detected; procfs?

8. Xwindows 1280x1024

9. /dev/lp0 not detected in redhat 6.1

10. Printtool not seeing my printer on /dev/lp0, /dev/lp1 or /dev/lp2

11. dev/lp0 (or lp1 or lp2) not detected for printer

12. /dev/lp0 nor /dev/lp1 getting detected

13. ls > /dev/lp0 fails--but /dev/lp0 exists