[PARPORT] HP 7200 and cdda2wav & cdrecord (1.9) Linux 7.1 2.4.9-12 kernel

From: Paul Brandariz x6546 (brandari@lore.kla-tencor.com)
Date: Mon Nov 26 2001 - 14:46:06 EST

  • Next message: Jaap Hogetoorn: "(no subject)"

    Hi:

         I have an HP 7200e CD-Writer Plus and have gotten it somehow to behave, but not completely.

         I have RH7.1 with the updated 2.4.9-12 kernel (386) .
         Running the OS supplied cdda2wav and cdrecord (1.9).

        I can't get cdda2wav nor cdrecord to work with the drive.

         The following is the output of the next 3 commands

         $ /sbin/insmod paride

         $ /sbin/insmod epat

         $ /sbin/insmod pcd

         $ /sbin/insmod pg

         Nov 24 22:24:33 localhost kernel: paride: version 1.06 installed
    (parport)
    Nov 24 22:24:34 localhost kernel: paride: epat registered as protocol 0
    Nov 24 22:25:31 localhost kernel: pg: pg version 1.02, major 97
    Nov 24 22:25:31 localhost kernel: pg0: Sharing parport1 at 0x20b0
    Nov 24 22:25:31 localhost kernel: pg0: epat 1.01, Shuttle EPAT chip c6
    at 0x20b0, mode 2 (8-bit), delay 1
    Nov 24 22:25:33 localhost kernel: pg0: HP CD-Writer+ 7200, slave
    Nov 24 22:25:33 localhost kernel: pcd: pcd version 1.07, major 46, nice
    0
    Nov 24 22:25:33 localhost kernel: pcd0: Sharing parport1 at 0x20b0
    Nov 24 22:25:33 localhost kernel: pcd0: epat 1.01, Shuttle EPAT chip c6
    at 0x20b0, mode 2 (8-bit), delay 1
    Nov 24 22:25:36 localhost kernel: pcd0: Slave: CD-Writer+ 7200
    Nov 24 22:25:36 localhost kernel: pcd0: mode sense capabilities
    completion: alt=0x51 stat=0x51 err=0x60 loop=0 phase=3
    Nov 24 22:25:36 localhost kernel: pcd0: mode sense capabilities: Sense
    key: 6, ASC: 29, ASQ: 0

        I can mount a CD using

        $ mount /dev/pcd0 /mnt/cdrom

        And I am able to view the data.

        When I use cdda2wav as follows..

        $ cdda2wav -D /dev/pcd0 -S 1 -B

             It starts reading but then locks up the system until I pull the plug on the drive.

        I then use cdda2wav on my ATAPI/CD-ROM drive to read the audio files.

        $ cdda2wav -D /dev/cdrom -S 1 -B

        Then use cdrecord to write them onto the HP 7200

        $ cdrecord -v speed=1 dev=/dev/pg0 -audio audio*.wav
    Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
    TOC Type: 0 = CD-DA
    cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
    cdrecord: WARNING: This causes a high risk for buffer underruns.
    cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
    cdrecord: Permission denied. WARNING: Cannot set priority using
    setpriority().
    cdrecord: WARNING: This causes a high risk for buffer underruns.
    cdrecord: Operation not permitted. shmctl failed to lock shared memory
    segment

    Am I incorrectly specifying the device ?

    I am out of Ideas... any clues out there ?

    Thanks in advance...

    --
    ___________________________________________________________________________
    Paul R. Brandariz           E-mail Internet: brandari@lore.kla-tencor.com
    KLA-Tencor  Corporation
    One Technology Dr.
    Milpitas, CA 95035
    

    -- 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 : Mon Nov 26 2001 - 14:44:32 EST