RH6.1 device lp0 problem

RH6.1 device lp0 problem

Post by Laverne Krahenbi » Sun, 31 Dec 1899 09:00:00



I installed RH6.1 and all works well except printing doesn't work.

I've reinstalled 3 times with no luck.  Here's what I know:

Printer worked under WIN98 and previously RH6.0
Checked BIOS I have one parallel port, addr 378, IRQ 7.

When I use Print tool  and try to add a printer it states /dev/lp0, 1
and 2 not detected.

After boot-up I did a dmesg and get,
lp: driver loaded but no devices found

Viewed the following:
/proc/devices      found nothing pertaining to lp or parallel port

/proc/interrupts   found nothing pertaining, IRQ 7 not even assigned

/proc/ioports      found nothing pertaining, address space 378-37F not
assigned

/proc/modules      and got the following,
parport_probe 2980 0 (autoclean) (unused)
lp            4476 0 (autoclean) (unused)
parport       7124 0 (autoclean) [parport_probe lp]

tried:
echo "testing" > /dev/lp0 and get,
bash: /dev/lp0: no such device

tried:
ls -l /dev/lp0 and get,
crw_rw_ _ _ _ 1 root daemon 6, 0 May 6 1998 /dev/lp0

New at Linux, so I'm not even sure what to look for.  Would really like
some help, not sure what to do next.

Thanks

 
 
 

RH6.1 device lp0 problem

Post by Pim Tijmense » Sun, 31 Dec 1899 09:00:00



> I installed RH6.1 and all works well except printing doesn't work.

> When I use Print tool  and try to add a printer it states /dev/lp0, 1
> and 2 not detected.

Same problem occurs for serial ports.
Only serial port working is the one with a mouse attached.
On a machine with a ps/2 mouse, no serial port is working.

Has somebody a sollution ?

 
 
 

RH6.1 device lp0 problem

Post by Nico Emon » Sun, 31 Dec 1899 09:00:00




> > I installed RH6.1 and all works well except printing doesn't work.

> > When I use Print tool  and try to add a printer it states /dev/lp0, 1
> > and 2 not detected.

> Same problem occurs for serial ports.
> Only serial port working is the one with a mouse attached.
> On a machine with a ps/2 mouse, no serial port is working.

> Has somebody a sollution ?

It looks like your printer is /dev/lp0, I suggest you read the printing
HOWTO.
 
 
 

RH6.1 device lp0 problem

Post by Michael Jenne » Sun, 31 Dec 1899 09:00:00


It's a bug. You have to recompile kernel with support for parallel port.

Regards,

Michael



> > I installed RH6.1 and all works well except printing doesn't work.

> > When I use Print tool  and try to add a printer it states /dev/lp0, 1
> > and 2 not detected.

> Same problem occurs for serial ports.
> Only serial port working is the one with a mouse attached.
> On a machine with a ps/2 mouse, no serial port is working.

> Has somebody a sollution ?

 
 
 

RH6.1 device lp0 problem

Post by Steven Myrt » Sun, 31 Dec 1899 09:00:00


Adding

   alias parport_lowlevel parport_pc
   options parport_pc io=0x378 irq=7

to /etc/conf.modules worked for me.

See /usr/src/linux/Documentation/parport.txt for more information.

- Steven



>It's a bug. You have to recompile kernel with support for parallel port.

>Regards,

>Michael



>> > I installed RH6.1 and all works well except printing doesn't work.

>> > When I use Print tool  and try to add a printer it states /dev/lp0, 1
>> > and 2 not detected.

>> Same problem occurs for serial ports.
>> Only serial port working is the one with a mouse attached.
>> On a machine with a ps/2 mouse, no serial port is working.

>> Has somebody a sollution ?

 
 
 

1. Printing problem : ls > /dev/lp0 -- /dev/lp0 : No Such Device ?

Hello,
I have install a printer to the parellel port of my linux box then enter
the command :
        ls > /dev/lp0
but get this error message
        bash : /dec/lp0 : No Such Device
However, when I boot my linux box under MSDOS, the printer works, can
anybody help please ?

Thanks and Regards
Wong

2. Disabling server side Includes for EXEC

3. Printing Problem - /dev/lp0: No such device.

4. bridge not working with kernel 2.2.14

5. RH6.0 /dev/lp0 not working

6. Solaris 8 DSL Connectivity Problem

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

8. newsgroups and set up uder linux

9. cat file > /dev/lp0 gives "no such device"

10. /dev/lp0: No such device.

11. /dev/lp0: No such device

12. Unreachable printer devices (lp0, lp1, and lp2).

13. bash: /dev/lp0: no such device