Re: [PARPORT] Dell Optiplex GX1, HP Surestore 7200e and linux.


Dan Lilliehorn (dl@dl.nu)
Tue, 9 Mar 1999 14:10:31 +0100 (CET)


> Here's the basic outline of the experiments I'd like you to try.
>
> First, please get DOSemu onto your machine, and working with a real
> version of DOS (not Freedos).

Done.

> I'd prefer if you could find version
> 0.66.7 - it was a stable version that contained my tracing logic.

OK, done.

> Get the emulator configured and add the following ports statements
> into the dosemu.conf:
>
> ports { 0x378 0x379 0x37a 0x37b 0x37c 0x37d 0x37e 0x37f 0x778 0x779 0x77a }
> ports { 0x278 0x279 0x27a 0x27b 0x27c 0x27d 0x27e 0x27f 0x678 0x679 0x67a }
> ports { 0x3f0 0x3f1 0x3f2 0x3f3 0x3f4 0x3f5 }
> ports { 0x370 0x371 0x372 0x373 0x374 0x375 0x376 0x377 }
> ports { 0x108 0x109 0x15c }
> ports { 0x250 0x251 0x252 }
> ports { 0x26e 0x288 0x289 0x28a }
> ports { 0x368 }
> ports { 0x398 0x399 }
> ports { 0xcf8 0xcf9 0xcfa 0xcfb 0xe7a }

Yep.

> If it works (and reports that it worked) exit from the emulator and
> see what happens when you load the PARIDE drivers. You must not
> reboot, of course, between running testport and loading PARIDE.

Well, it worked (it reported that it worked anyway) but when I loaded the
modules and tried burning, the result was the same = crash after about
150MB due to loss of streaming.

> Then, if it actually works, please try repeating the above
> using
>
> dos -o testport.log -D+T
>
> to start the emulator. That should produce a log file with a trace
> of testport putting the port into EPP mode. This should be done from
> a freshly rebooted system - so we know that it is reprogramming
> the port from the state the BIOS leaves it in.

testport.log:
debug flags: +T
debug flags: +T
379 > 7
379 < 7
379 > 7
37a < 2c
378 > ff
378 < 0
378 > ff
378 < ff
37a < c
378 > ff
378 < 0
378 > 0
378 < ff
37a > cc
37a < 26
37a > e6
37a > e6
37a < c
37a > cc
77a > 35
77a > 35
77a < 15
77a > 15
77a < 35
77a > 35
77a < 35
77a < 35
37a > cc
37a < 2c
37a > ec
37a < c
77a < 15
37a > cc
37a < 2c
37a > ec
37a < c
77a < 75
37a > cc
37a < 2c
37a > ec
37a < c
77a < 15
77a < f5
778 > 14
779 > 40
77a < 15
77a < 35
77a > 35
26e < 0
26e > ff
26e > ff
398 < 0
398 > ff
398 > ff
15c < 0
15c > ff
15c > ff
77a < 35
77a > 35
77a < 95
77a > 95
279 > ff
279 < ff
279 > ff
27a < 2c
278 > ff
278 < 0
278 > ff
278 < ff
27a < c
278 > ff
278 < 0
278 > ff
278 < ff
27a > ff
27a < 15
27a > ff
27a > ff
27a < 15
289 > ff
289 < ff
289 > ff
28a < 2c
288 > ff
288 < 0
288 > ff
288 < ff
28a < c
288 > ff
288 < 0
288 > ff
288 < ff
28a > ff
28a < 15
28a > ff
28a > ff
28a < 15

dmesg (relevant part):
paride: version 1.02 installed
paride: epat registered as protocol 0
pg: pg version 1.02s, major 97
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 2 (8-bit), delay 0
pg0: HP CD-Writer+ 7200, slave

What next?

/dl

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Tue 09 Mar 1999 - 08:13:59 EST