Gentoo Archives: gentoo-server

From: "张韡武" <zhangweiwu@××××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] LPR printer no response
Date: Thu, 22 Jun 2006 12:40:24
Message-Id: 1150979790.29852.6.camel@joe.realss
In Reply to: Re: [gentoo-server] LPR printer no response by "张韡武"
1 Ah, I think the port should be in ECP mode. I found this:
2
3 parport0: PC-style at 0x1fff13043bc (0x1fff13047bc), irq 8687936, dma 0
4 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
5
6 That says "ECP, DMA".
7
8 Now it seems to be because of the cable...
9
10 在 2006-06-22四的 20:09 +0800,张韡武写道:
11 > Maybe this is interesting?
12 >
13 > 在 2006-06-22四的 18:38 +0800,张韡武写道:
14 >
15 > > lp0: using parport0 (interrupt-driven).
16 > [snip]
17 > > parport0: FIFO is stuck
18 > > parport0: BUSY timeout (1) in compat_write_block_pio
19 > > DMA write timed out
20 > > parport0: FIFO is stuck
21 > > parport0: BUSY timeout (1) in compat_write_block_pio
22 > > DMA write timed out
23 > > parport0: FIFO is stuck
24 > > parport0: BUSY timeout (1) in compat_write_block_pio
25 > > DMA write timed out
26 >
27 > I read some articles suggesting that in order to make printer work, the
28 > parallel port need to work in ECP mode, the cable has to be IEEE1284
29 > (bidirectional).
30 >
31 > 1) I don't know how to check if the port is in ECP mode. I used to check
32 > it with BIOS utilities on x86 but I don't know how to get this info on
33 > sparcs. A quick google search with 'ECP OBP' doesn't give needed info.
34 > 2) I don't know how to test the cable if it is bidirectional or not. But
35 > I thought it is difficult to get a unidirectional cable, so it might
36 > be...
37 >
38 > How do you suggest? Thanks in advance:)
39 >
40
41 --
42 gentoo-server@g.o mailing list