[PARPORT] Re: Freecom Traveller CD-RW [Re: ioctl ??]

From: Mike Yates (mike@myates.demon.co.uk)
Date: Thu Oct 18 2001 - 14:46:31 EDT

  • Next message: Stephen Mollett: "Re: [PARPORT] Re: Freecom Traveller CD-RW [Re: ioctl ??]"

    On Sunday 14 October 2001 10:35, joerg@schily.isdn.cs.tu-berlin.de wrote:
    > >Track 01: 7 of 671 MB written (fifo 1%).cdrecord: Input/output error.
    > >
    > >write_g1: scsi sendcmd: no error
    > >CDB: 2A 00 00 00 0E 10 00 00 10 00
    > >status: 0x2 (CHECK CONDITION)
    > >Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00
    > >Sense Key: 0x5 Illegal Request, Segment 0
    > >Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
    > >Sense flags: Blk 0 (not valid)
    > >resid: 32768
    > >cmd finished after 0.003s timeout 40s
    >
    > This is a buffer underrun. If this is a writer on a parallel port, read
    > README.parallel else read README.ATAPI. This is caused by a miss
    > configuration.
     
    Can anyone suggest exactly what misconfiguration?
    I have a p200 with 128Mb which runs the Freecom at x4 speed in Windoze with
    no buffer underruns, even when playing games!
    I have a TEAC-W54E on IDE at work which works beautifully on cdrecord 1.10
    and xcdroast.

    Running
    modprobe friq
    modprobe pg drive0=0x378,0,0,-1,-1,-1 verbose=2
    gives
    Oct 18 17:50:32 myates kernel: pg: pg version 1.02, major 97
    Oct 18 17:50:33 myates kernel: 0x378: FIFO is 16 bytes
    Oct 18 17:50:33 myates kernel: 0x378: writeIntrThreshold is 16
    Oct 18 17:50:33 myates kernel: 0x378: readIntrThreshold is 16
    Oct 18 17:50:33 myates kernel: 0x378: PWord is 8 bits
    Oct 18 17:50:33 myates kernel: 0x378: Interrupts are ISA-Pulses
    Oct 18 17:50:33 myates kernel: 0x378: ECP port cfgA=0x10 cfgB=0x48
    Oct 18 17:50:33 myates kernel: 0x378: ECP settings irq=7 dma=<none or set by
    other means>
    Oct 18 17:50:33 myates kernel: parport0: PC-style at 0x378 (0x778)
    [PCSPP,TRISTATE,COMPAT,EPP,ECP]
    Oct 18 17:50:33 myates kernel: parport0: irq 7 detected
    Oct 18 17:50:33 myates kernel: parport0: cpp_daisy: aa5500ff(98)
    Oct 18 17:50:33 myates kernel: parport0: assign_addrs: aa5500ff(98)
    Oct 18 17:50:33 myates kernel: parport0: Printer, Canon BJC-4300
    Oct 18 17:50:33 myates kernel: pg0: 0x378 is parport0
    Oct 18 17:50:33 myates kernel: pg0: friq: port 0x378, mode 0, test=(0,256,0)
    Oct 18 17:50:33 myates kernel: pg0: friq: port 0x378, mode 1, test=(0,256,0)
    Oct 18 17:50:33 myates kernel: pg0: friq: port 0x378, mode 2, test=(0,256,128)
    Oct 18 17:50:33 myates kernel: pg0: friq: port 0x378, mode 3, test=(0,256,128)
    Oct 18 17:50:33 myates kernel: pg0: friq: port 0x378, mode 4, test=(0,256,128)
    Oct 18 17:50:33 myates kernel: pg0: Sharing parport0 at 0x378
    Oct 18 17:50:33 myates kernel: pg0: friq 1.01, Freecom IQ ASIC-2 adapter at
    0x378, mode 1 (8-bit), delay 1
    Oct 18 17:50:33 myates kernel: pg0: Reset (1) signature = 1 1 1 14 eb
    Oct 18 17:50:33 myates kernel: pg0: Command sent, dlen=36 packet= 12 00 00 00
    24 00 00 00 00 00 00 00
    Oct 18 17:50:33 myates kernel: pg0: Read 36 bytes
    Oct 18 17:50:33 myates kernel: pg0: TEAC CD-W54E, master

    It will accept mode 0 (4 bits) with a (surprising) slight improvement, but
    modes 2,3,5,6 are rejected or cause complete freeze-up.
    A delay of 0 causes slight improvement, but 2,3,4 are worse than 1
    What next?

    -- 
    Mike Yates         Frome,  Somerset,  England
    

    -- 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 : Thu Oct 18 2001 - 14:53:14 EDT