Re: [PARPORT] Changing EPP mode 2 to mode 5

From: Joerg Schilling (schilling@fokus.gmd.de)
Date: Tue Jan 08 2002 - 09:10:17 EST

  • Next message: Glyn: "[PARPORT] Freecom"

    >From: Javier =?ISO-8859-1?Q?Andr=E9s=20P=E9rez?= Barrientos
    > <ra_atonp@yahoo.com>

    >here is all the output of the modules and cdrecord (parport bios mode EPP)

    >#insmod pg drive0=0x378,0,0,-1,-1,0 verbose=1

    >#dmesg
    >parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
    >parport0: Found 4 daisy-chained devices
    >parport0: only read 126 of 1000 ID bytes
    >parport0: device reported incorrect length field (34950, should be 127)
    >parport0 (addr 0): Legacy device
    >parport0 (addr 1): Printer, Canon BJC-1000
    >parport0 (addr 2): Printer, Canon BJC-1000
    >parport0 (addr 3): Printer, Canon BJC-1000
    >parport0: Printer, Canon BJC-1000
    >parport_pc: Via 686A parallel port: io=0x378
    >....
    >paride: version 1.06 installed (parport)
    >paride: epat registered as protocol 0
    >pg: pg version 1.02, major 97
    >pg0: 0x378 is parport0
    >pg0: epat: port 0x378, mode 0, ccr 0, test=(255,0,0)
    >pg0: epat: port 0x378, mode 1, ccr 0, test=(255,0,0)
    >pg0: epat: port 0x378, mode 2, ccr 0, test=(255,0,0)
    >pg0: epat: port 0x378, mode 3, ccr 0, test=(255,12,32)
    >pg0: epat: port 0x378, mode 4, ccr 0, test=(255,13,26)
    >pg0: epat: port 0x378, mode 5, ccr 2, test=(255,9,17)
    >pg0: Sharing parport0 at 0x378
    >pg0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 2 (8-bit), delay 0
    >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 dev=0,0 fs=32m speed=1 cdimage.iso

    >Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
    >TOC Type: 1 = CD-ROM
    >scsidev: '0,0'
    >scsibus: 0 target: 0 lun: 0
    >Using libscg version 'schily-0.5'
    >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
    >Drive buf size : 786432 = 768 KB
    >FIFO size : 33554432 = 32768 KB
    >Track 01: data 7 MB
    >Total size: 8 MB (00:47.81) = 3586 sectors
    >Lout start: 8 MB (00:49/61) = 3586 sectors
    >Current Secsize: 2048
    > ATIP start of lead in: -11625 (97:27/00)
    > ATIP start of lead out: 333750 (74:12/00)
    >Disk type: Phase change
    >Manuf. index: 0
    >Manufacturer: Illegal Manufacturer code
    >Blocks total: 333750 Blocks current: 333750 Blocks remaining: 330164
    >RBlocks total: 336246 RBlocks current: 336246 RBlocks remaining: 332660
    >Starting to write CD/DVD at speed 1 in write mode for single session.
    >Last chance to quit, starting real write in 0 seconds. Operation starts.
    >Waiting for reader process to fill input buffer ... input buffer ready.
    >Performing OPC...
    >Starting new track at sector: 0
    >Track 01: 2 of 7 MB written (fifo 100%).cdrecord: Input/output
    >error. write_
    >g1: scsi sendcmd: no error
    >CDB: 2A 00 00 00 04 30 00 00 10 00
    >status: 0x2 (CHECK CONDITION)
    >Sense Bytes: F0 00 03 00 00 00 00 19 00 00 05 F5 0C 09 00 00 FF FF
    >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.736s timeout 40s

    A buffer underrun, so please check your PP settings.

    Jörg

     EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
           js@cs.tu-berlin.de (uni) If you don't have iso-8859-1
           schilling@fokus.gmd.de (work) chars I am J"org Schilling
     URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix

    -- 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 2b29 : Tue Jan 08 2002 - 09:15:36 EST