Is /dev/lp0 there? Does it exist. ls /dev/lp0 and see if you get
anything. If not, then...
cd /dev
./MAKEDEV lp0
and then try again. If it does exist, do a 'file /dev/lp0' and it will tell
you the major and minor numbers, and what type of device it is (character,
block, etc).
Probably not this, but you'd never know.
Gary
> -----Original Message-----
> From: Leo Talbot [SMTP:leo at maths.tcd.ie]
> Sent: Tuesday, September 12, 2000 10:56 AM
> To: ilug at linux.ie> Subject: [ILUG] More Upgrade woes
>> I've run into more trouble after my upgrade at the weekend. Now the
> printer
> isn't working. I've switched the device from lp1 to lp0, but when printing
> is attempted, I get
>> Status: cannot open '/dev/lp0' - 'No such device', attempt 1, sleeping 10
> at 10:51:08.850
>> when I run lpq. The parallel ports are being picked up on bootup, with the
>> following messages:
>> Sep 8 21:39:09 vangogh kernel: parport0: PC-style at 0x378 (0x778)
> [SPP,ECP,ECP
> PS2]
> Sep 8 21:39:09 vangogh kernel: parport0: detected irq 7; use procfs to
> enable i
> nterrupt-driven operation.
> Sep 8 21:39:09 vangogh kernel: parport1: PC-style at 0x278 [SPP]
>> The boot messages mention procfs, so I do a bit of digging. In
> /proc/parport/0 the 'hardware' file contains the following
>> base: 0x378
> irq: none
> dma: none
> modes: SPP,ECP,ECPPS2
>> while the 'irq' file contains
>> none
>> Will switching on interrupts make the printer work again, and if it will,
> how
> do I do it?
>> Leo
> --
> I've got green eyes, red hair, and I'm left handed. A hundred
> years ago, I'd have been considered in league with the Devil.
>http://www.cs.tcd.ie/Leo.Talbot> PGP: 0xD4225B61 fp=141B83BE A6F44EEF 8E379887 F6338DE7 D4225B61
>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> information.
> List maintainer: listmaster at linux.ie**********************************************************************
This e-mail and any attachment contains information which is private
and confidential and is intended for the addressee only.
If you are not an addressee, you are not authorised to read, copy or
use the e-mail or any attachment.
If you have received this e-mail in error, please notify the sender
by return e-mail and then destroy it.
**********************************************************************
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!