Re: parport problems

David B. Rees (dbr@oto.dyn.ml.org)
Tue, 09 Jun 1998 17:38:36 -0700 (PDT)


On 09-Jun-98 Tim Waugh wrote:
> On Tue, 9 Jun 1998, David B. Rees wrote:
>
> Right. I think Alan's latest 2.1.105 patch ("ac2") fixes that.

OK, I'm recompiling right now with that patch (and ac3). Thanks Alan!

>> > With regard to printing not working, does typing "dmesg" reveal any
>> > messages from parport?
>
> And when you do a "modprobe parport; modprobe parport_pc"?

All the parport modules are loaded:

oto:~> lsmod
lp 4972 0 (autoclean) (unused)
parport_probe 2916 0
parport_pc 4684 1
parport 6192 1 [lp parport_probe parport_pc]

And /proc/parport/0 is there as well as devices, hardware and irq.

oto:~> cat /proc/parport/0/devices
lp
oto:~> cat /proc/parport/0/hardware
base: 0x378
irq: 7
dma: none
modes: SPP,PS2,EPP
oto:~> cat /proc/parport/0/irq
7

Here's the relevant syslogs that pop up after loading the modules:

parport0: PC-style at 0x378, irq 7 [SPP,PS2,EPP]
parport0: Printer, HEWLETT-PACKARD DESKJET 680C
lp0: using parport0 (interrupt-driven).

And ls -l /dev/lp* is:

crw-rw---- 1 root daemon 6, 0 Apr 27 1995 lp0
crw-rw---- 1 root daemon 6, 1 Apr 27 1995 lp1
crw-rw---- 1 root daemon 6, 2 Apr 27 1995 lp2

Then I start up lpd:

Jun 9 16:44:10 oto lpd[506]: unknown printer:
Jun 9 16:44:11 oto lpd[508]: unknown printer:

No go. Attempting to print results in:

oto:~> lpq
waiting for lp to become ready (offline ?)
Rank Owner Job Files Total Size
1st drees 86 test.txt 5 bytes

Any ideas?

-Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu