🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.redhat.misc
Article #72

Re: /dev/lp[0-2] not showing up

#72
From: Jim Nicholson
Date: Mon, 19 Jul 1999 00:00
46 lines
2222 bytes
drf03@uow.edu.au (Daniel Robert Franklin) writes:

> Rado Faletic <Rado.Faletic@anu.edu.au> writes:
> 
> >Hi,
> 
> >I've been trying to get my printer happening, but for some reason
> >/dev/lp* is not registering with the system. When I first installed
> >RH5.2 it worked, but since I've played with the kernel it's disappeared.
> >In the kernel builds I've included parallel port options.
> 
> Did you include support for _both_ parallel port and parallel printer
> support? It's under General Setup. You should also enable "PC-style
> hardware" which will appear when you select "Parallel port support".
> 
I found that I needed to add the necessary modprobe's into
/etc/rc.d/rc.modules as the entries in /etc/conf.modules didn't seem
to work.

my rc.modules says:

..
modprobe parport
modprobe parport_pc io=0x278 irq=auto
modprobe parport_probe
modprobe lp

Note that your io= setting may be different depending on which printer 
port your printer is connected to.

I should try executing the modprobes from a root shell with your
printer switched on and then have a look in /proc/parport - if all is
well you should have a directory /proc/parport/0 containing files:
autoprobe  devices  hardware  irq

If your printer supports IEEE1284, autoprobe should contain something
like:

CLASS:PRINTER;
MODEL:EPL-5700;
MANUFACTURER:EPSON;
COMMAND SET:PJL,EJL,ESCPL2-00,ESCP9-84,...

HTH

Jim
Technical Details
Message-ID: <m2so6kik5e.fsf@minusen.force9.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37928F14.84F87B03@anu.edu.au> <drf03.932352294@wumpus>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111240,e5ca3f762c46386d
X-Google-Attributes: gid111240,public
X-Google-Thread: 102983,e5ca3f762c46386d
X-Google-Attributes: gid102983,public
From: Jim Nicholson <jimn@minusen.force9.co.uk>
Subject: Re: /dev/lp[0-2] not showing up
Date: 1999/07/19
Message-ID: <m2so6kik5e.fsf@minusen.force9.co.uk>
X-Deja-AN: 502802428
References: <37928F14.84F87B03@anu.edu.au> <drf03.932352294@wumpus>
Followup-To: linux.redhat.misc
Content-Type: text/plain; charset=US-ASCII
X-Complaints-To: abuse@plus.net.uk
X-Trace: wards 932408143 212.56.124.60 (Mon, 19 Jul 1999 19:15:43 BST)
Mime-Version: 1.0 (generated by tm-edit 7.108)
NNTP-Posting-Date: Mon, 19 Jul 1999 19:15:43 BST
Newsgroups: linux.redhat.misc,aus.computers.linux