Howdy,

I am running RH 7.1 and am having a problem getting my printer to work.
The printer is an HP DeskJet 820Cse (one of those windows
software-controlled vice hardware-controlled printers) that uses the
pnm2ppa driver. I have configured it using printconf-gui (printtool) and
am certain it is set up properly, but believe the problem lies elsewhere,
maybe in the kernel config.

The below message was in response to someone asking for more info from my
posting in Usenet, but I never received a reply back. Can someone please
take a read through and see if they can determine what is wrong from the
info I provided? Any assistance would be much appreciated by this newbie
as I haven't been able to get the printer working for more than a month.

Thanks,

Chris
========================

Begin forwarded message:

Date: Wed, 16 Jan 2002 12:38:06 -0600
From: Chris Montgomery <[EMAIL PROTECTED]>
Newsgroups: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Can't Print to HP 820Cse


On Tue, 15 Jan 2002 05:27:43 -0500
"Yan Seiner" <[EMAIL PROTECTED]> wrote:

> In article <[EMAIL PROTECTED]>, "Chris
> Montgomery" <[EMAIL PROTECTED]> wrote:
> 
> > I have Red Hat 7.1 installed but I am unable to print to my HP 820Cse
> > parallel printer. The driver is pnm2ppa.conf.
> > 
> > On bootup in RH7.1, I see this:
> > 
> > Starting lpd: Warning DeskJet820CSE cannot open lp device '/dev/lp0'
No> > such device or address            [OK]
> 
> This is telling you that linux cannot find the printer port.  The
> question is why?

Good question. :)

> Did you recompile your kernel and forget to include printer support?

I've never recompiled the kernel, although I did do an "upgrade" from
2.4.2-2 to 2.4.9-12 thru the Red Hat Network. 

> What happens when you do /sbin/depmod -a?

As user:
[chris@cs66696-254 chris]$ /sbin/depmod -a
depmod: Can't open /lib/modules/2.4.9-12/modules.dep for writing

As root, nothing displays in terminal.

> What does /var/log/boot or /var/log/messages show about lp0?

/var/log/boot shows that lpd started successfully.

/var/log/messages show this:
Jan 16 09:15:44 cs66696-254 kernel: lp: driver loaded but no devices found
Jan 16 09:15:44 cs66696-254 lpd: lpd startup succeeded

> You either have no kernel support for lp0, your modules are not being
> loaded for some reason, or you have had a hardware failure.

No hardware failure, printer works fine under windows. Would the problem
be in the kernel? 

> first do a ls -l /dev/lp0
> you should see
> 
> [yan@oberon yan]$ ls -l /dev/lp0
> crw-rw----    1 root     lp         6,   0 z�� 12  2000 /dev/lp0

I get:
[chris@cs66696-254 chris]$ ls -l /dev/lp0
crw-rw----    1 chris    lp         6,   0 Mar 23  2001 /dev/lp0

> cat /etc/modules.conf should include the line:
> alias parport_lowlevel parport_pc

It does.

> then do 
> [root@oberon yan]# /sbin/modprobe parport_pc

I get:
[root@cs66696-254 /root]# /sbin/modprobe parport_pc
/lib/modules/2.4.9-12/kernel/drivers/parport/parport_pc.o: init_module:
Device or resource busy Hint: insmod errors can be caused by incorrect
module parameters, including invalid IO or IRQ
parameters/lib/modules/2.4.9-12/kernel/drivers/parport/parport_pc.o:
insmod /lib/modules/2.4.9-12/kernel/drivers/parport/parport_pc.o
failed/lib/modules/2.4.9-12/kernel/drivers/parport/parport_pc.o: insmod
parport_pc failed

> [root@oberon yan]# /sbin/lsmod
> Module                  Size  Used by
> parport_pc              7496   0  (unused)
> parport                 7312   0  [parport_pc]

I get:
[root@cs66696-254 /root]# /sbin/lsmod
Module                  Size  Used by
lp                      6336   0  (autoclean)
parport                25472   0  (autoclean) [lp]

But there is no line for parport_pc

> If you don't see the parport modules something is definitely broken,
most> likely with a kernel compile.  Post back with any errors.
> 
> --Yan



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to