[PARPORT] Re: HP7200e on parallel port via PARIDE: data flow interruption


Michel G. Breitfellner (mbreitfe@iso.vilspa.esa.es)
Wed, 02 Dec 1998 12:18:44 +0100


I used the option "testport -epp" to set the parallel port to EPP but
I still get similar error when trying to write a CD (see logs below).

Best regards,
                                                               Michel

P.S. By the way, does my mailer finally work?
_______________________________________________________________________________

Check status of parallel port with DOS tool from Microsolutions
(http://www.micro-solutions.com/)

Parallel port hardware setting: Standard bidirect.

C:\DOS>testport
TestPort (980730) Copyright (C) Micro Solutions Inc., DeKalb IL. 1994-1998
Engineering's Parallel Port Diagnostic Wizard Utility.
*****************************************************************************
LPT = 0378, C0 C0 FF 00 07
Bidirectional
Chipset : Undetermined
*****************************************************************************

Parallel port hardware setting: ECP

C:\DOS>testport
TestPort (980730) Copyright (C) Micro Solutions Inc., DeKalb IL. 1994-1998
Engineering's Parallel Port Diagnostic Wizard Utility.
*****************************************************************************
LPT = 0378, C0 C0 FF 00 07
Bidirectional
ECR Detected, 35 10 4B E0 C0 C0 C0 C0 C0 Bidirectional
Chipset : Acme
Mode : Bidirectional
*****************************************************************************

C:\DOS>testport -help
TestPort (980730) Copyright (C) Micro Solutions Inc., DeKalb IL. 1994-1998
Engineering's Parallel Port Diagnostic Wizard Utility.

This is a diagnostic tool for use under the direction of Micro Solutions
staff. It is designed to provide a means of detecting known parallel port
chips for diagnostic purposes.
usage : TestPort [options]
        -unidir Unidirectional
        -bidir Bidirectional
        -epp EPP
        -ecp ECP

C:\DOS>testport -unidir
TestPort (980730) Copyright (C) Micro Solutions Inc., DeKalb IL. 1994-1998
Engineering's Parallel Port Diagnostic Wizard Utility.
*****************************************************************************
LPT = 0378, C0 C0 FF 00 07
Bidirectional
ECR Detected, 35 10 4B E0 C0 C0 C0 C0 C0 Bidirectional
Chipset : Acme
Setting : Unidirectional, Passed
Mode : Unidirectional
*****************************************************************************

C:\DOS>testport -bidir
TestPort (980730) Copyright (C) Micro Solutions Inc., DeKalb IL. 1994-1998
Engineering's Parallel Port Diagnostic Wizard Utility.
*****************************************************************************
LPT = 0378, E0 C0 00 00 07
Unidirectional
ECR Detected, 15 10 4B E0 C0 C0 C0 C0 C0 Unidirectional
Chipset : Acme
Setting : Bidirectional, Passed
Mode : Bidirectional
*****************************************************************************

C:\DOS>testport -ecp
TestPort (980730) Copyright (C) Micro Solutions Inc., DeKalb IL. 1994-1998
Engineering's Parallel Port Diagnostic Wizard Utility.
*****************************************************************************
LPT = 0378, C0 C0 FF 00 07
Bidirectional
ECR Detected, 35 10 4B E0 C0 C0 C0 C0 C0 Bidirectional
Chipset : Acme
Setting : ECP, Passed
Mode : ECP
*****************************************************************************

C:\DOS>testport -epp
*****************************************************************************
LPT = 0378, C0 C0 FF 00 07
Bidirectional
ECR Detected, 74 10 4B E0 C0 C0 C0 C0 C0 ECP
Chipset : Acme
Setting : EPP, Passed
Mode : EPP
*****************************************************************************
_______________________________________________________________________________

Trying to write CD

> insmod paride
> insmod epat
> insmod pg drive0=0x378,0 verbose=1

dmesg:

paride: version 1.02 installed
paride: epat registered as protocol 0
pg: pg version 1.01s, major 97
pg0: epat: port 0x378, mode 0, ccr 0, test=(255,0,0)
pg0: epat: port 0x378, mode 1, ccr 40, test=(255,224,448)
pg0: epat: port 0x378, mode 2, ccr 2d, test=(255,255,510)
pg0: epat: port 0x378, mode 3, ccr ff, test=(255,255,510)
pg0: epat: port 0x378, mode 4, ccr ff, test=(255,255,510)
pg0: epat: port 0x378, mode 5, ccr ff, test=(255,255,510)
pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 0 (4-bit), delay 1
pg0: Reset (1001) signature = ff ff ff ff ff (incorrect)
pg0: Reset (1) signature = 1 1 1 14 eb
pg0: HP CD-Writer+ 7200, slave

> ./cdrecord -v -dummy speed=1 dev=0,0 /home/cdrw/home.img

Cdrecord release 1.6.1 Copyright (C) 1995-1998 Jvrg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'HP '
Identifikation : 'CD-Writer+ 7200 '
Revision : '3.01'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Track 01: data 553 MB
Total size: 636 MB (63:00.77) = 283558 sectors
Lout start: 636 MB (63:02/58) = 283558 sectors
Current Secsize: -1
./cdrecord: Drive needs to reload the media to return to proper status.
  ATIP start of lead in: -11625 (97:27/00)
  ATIP start of lead out: 333750 (74:12/00)
Disk type unknown
Manufacturer: Old Ritek Co.???
Blocks total: 333750 Blocks current: 333750 Blocks remaining: 50192
RBlocks total: 336246 RBlocks current: 336246 RBlocks remaining: 52688
Starting to write CD/DVD at speed 1 in dummy mode for single session.
Last chance to quit, starting dummy write in 1 seconds.
Waiting for reader process to fill input-buffer ... input-buffer ready.
Starting new track at sector: 0
./cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB: 2A 00 00 00 06 B0 00 00 10 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: F0 00 03 00 00 00 00 19 00 04 8E 68 0C 09 00 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x09 (write error - loss of streaming) Fru 0x0
Sense flags: Blk 0 (valid)
cmd finished after 0.702s timeout 40s

write track data: error after 3506176 bytes
Sense Bytes: F0 00 00 00 00 00 00 19 00 04 93 01 00 00 00 00 00 00
Writing time: 22.834s
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time: 169.511s
./cdrecord: fifo had 235 puts and 108 gets.
./cdrecord: fifo was 0 times empty and 2 times full, min fill was 34%.

_______________________________________________________________________________

> insmod paride
> insmod epat
> insmod pg drive0=0x378,0,0,-1,-1,0 verbose=1
/lib/modules/2.0.35/misc/pg.o: init_module: Device or resource busy

dmesg:

pg: pg version 1.01s, major 97
pg0: epat: port 0x378, mode 0, ccr 0, test=(256,254,510)
pg0: epat: port 0x378, mode 1, ccr 59, test=(255,255,510)
pg0: epat: port 0x378, mode 2, ccr 2d, test=(255,255,510)
pg0: epat: port 0x378, mode 3, ccr ff, test=(255,255,510)
pg0: epat: port 0x378, mode 4, ccr ff, test=(255,255,510)
pg0: epat: port 0x378, mode 5, ccr ff, test=(255,255,510)
pg0: Adapter not found
pg: No ATAPI device detected
_______________________________________________________________________________

     Michel G. Breitfellner, PhD
     Calibration scientist for the
     Infrared Space Observatory (ISO) of the
     European Space Agency (ESA)

     ESA Villafranca del Castillo
     Satellite Tracking Station
     ISO Science Operation Center
     Apartado - P.O.Box 50727
     E-28080 Madrid
     SPAIN

     Office : B.34
     Tel. : +34 91 8131100 switchboard
                           318 office
     Fax : +34 91 8131308 SOC

     Internet : mbreitfe@iso.vilspa.esa.es
     WWW : http://www.iso.vilspa.esa.es/people/mgb.html
_______________________________________________________________________________




This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:18:49 EST