FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-17-2008, 05:04 PM
Account for Debian group mail
 
Default Cannot find /dev/parport0

Hello,

I just upgraded our print server/samba machine from sarge to etch.

In the /var/log/dmesg file i see:

parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
parport0: Printer, Hewlett-Packard HP LaserJet 6MP

This looks correct.


In the /etc/printcap file I have:

lp|Our Printer:
:lp=/dev/parport0:
:sd=/var/spool/lpd/lp:
:af=/var/log/lp-acct:
:lf=/var/log/lp-errs:
l#66:
w#80:
c#150:
:mx#0:
:sh:

When I do a "checkpc" I get:

Warning - lp: cannot stat lp device '/dev/parport0' - No such file or directory


What is it that I'm doing wrong?

Thanks,

Ken



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-18-2008, 07:54 AM
"David Fox"
 
Default Cannot find /dev/parport0

On Thu, Jul 17, 2008 at 10:04 AM, Account for Debian group mail
<debian@pcez.com> wrote:
> In the /etc/printcap file I have:
>
> lp|Our Printer:
> :lp=/dev/parport0:
> :sd=/var/spool/lpd/lp:

I don't think the printer was ever actually called parport0 in dev.
Was it that way in Sarge? I never ran sarge. I haven't been using
parallel ports for anything for a while, but try using /dev/lp0
instead. That should be the right device for parallel printers.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-18-2008, 09:43 PM
Michelle Konzack
 
Default Cannot find /dev/parport0

Am 2008-07-17 10:04:33, schrieb Account for Debian group mail:
> parport: PnPBIOS parport detected.
> parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
> parport0: Printer, Hewlett-Packard HP LaserJet 6MP

This is the same as with serial drivers which are called ttyS00, ttyS01
but in real they are /dev/ttyS0 and /dev/ttyS1

> This looks correct.
>
>
> In the /etc/printcap file I have:
>
> lp|Our Printer:
> :lp=/dev/parport0:
> :sd=/var/spool/lpd/lp:
> :af=/var/log/lp-acct:
> :lf=/var/log/lp-errs:
> l#66:
> w#80:
> c#150:
> :mx#0:
> :sh:
>
> When I do a "checkpc" I get:
>
> Warning - lp: cannot stat lp device '/dev/parport0' - No such file or directory

Because the name is /dev/lp0, /dev/lp1 and /dev/lp2

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
 

Thread Tools




All times are GMT. The time now is 09:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org