READ2448(1)

NAME
read2448 - a utility that dumps CD audio data plus subchannels into files

SYNOPSIS
read2448 [-o offset] [-q] [-v] [-V] [-n sectors] [-l buffers] [-N] [-H] [-D device] [-A auxdevice] [-S speed] [audio.sub]

DESCRIPTION
read2448 can retrieve raw sectors with subchannels from CDROM drives. Right now, only Plextor and MMC drives will work.

OPTIONS

-D device  --device
    uses device as the source for CDDA reading: Bus,ID,Lun for the generic scsi interface. The setting of the environment variable CDR_DEVICE is overridden by this option.

-A auxdevice  --auxdevice
    uses auxdevice as CDROM drive for ioctl usage.

-n sectors  --sectors-per-request
    reads sectors per request.

-l buffers  --buffers-in-ring
    uses a ring buffer with buffers total.

-o offset  --offset
    starts offset sectors behind start track (one sector equivalents 1/75 seconds).

-d duration  --duration
    sets recording time in seconds or 0 for whole track.

-v  level  --verbose-level
    prints verbose information about the CD. Level is a sum of powers of two in the range 0 up to 63. Each power of two controls the type of information to be reported.
    Power | Description
    1 | show table of contents
    2 | show a summary of the recording parameters
    4 | determine and display index offsets
    8 | retrieve and display the media catalog number MCN
    16 | retrieve and display all Intern. Standard Recording Codes ISRC
    32 | show the table of contents in start sector notation
    64 | show the table of contents with track titles (when available)

-N  --no-write
    does not write to a file, it just reads (for debugging purposes).

-S  speed --speed-select
    sets the cdrom device to one of the selectable speeds for reading.

-q  --quiet
    quiet operation, no screen output.

-V  --verbose-SCSI
    enable SCSI command logging to the console. This is mainly used for debugging purposes.

Defaults depend on the
    Makefile and environment variable settings.

ENVIRONMENT VARIABLES
CDR_DEVICE is used to set the device name. This is compatible with the popular cdrecord package from Jörg Schilling.

HINTS ON OPTIONS

Options
    Most of the options are used to control the format of the WAV file. In the following text all of them are described.

Select Device
    -D device selects the CDROM drive device to be used. The SCSI devices used with the generic SCSI interface are addressed with their SCSI-Bus, SCSI-Id, and SCSI-Lun instead of the generic SCSI device descriptor!!! One example for a SCSI CDROM drive on bus 0 with SCSI ID 3 and lun 0 is -D0,3,0.

Set start sector offset
    -o sectors increments start sector of the track by sectors. By this option you are able to skip a certain amount at the beginning.

Select cdrom drive reading speed
    -S speed allows to switch the cdrom drive to a certain level of speed in order to reduce read errors. The actual speed factor cannot generally be given completely freely, since there are often less settings than factors possible. Details depend very much on the cdrom drives. An argument of 0 is the default speed of the drive, a value of 1 selects single speed, all other values can yield different speeds on different cdrom models. Higher argument values give higher speed factors. 4 is the current maximum speed setting but not the factor, which depends on the cdrom drive model.

Set the transfer size
    -n sectors will set the transfer size to the specified sectors per request.

Set number of ring buffer elements
    -l buffers will allocate the specified number of ring buffer elements.

Verbose option
    -v level prints more information. A binary mask allows selection of different information.

    0 keeps quiet

    1 displays the table of contents

    2 displays a summary of recording parameters

    4 invokes the index scanner and displays start positions of indices

    8 retrieves and displays a media catalog number

    16 retrieves and displays international standard recording codes

    32 displays track start positions in absolute sector notation

    To combine several requests just add the numbers and give the sum as argument.

No file output
    -N this debugging option switches off writing to a file.

Verbose SCSI logging
    -V this option switches on logging of SCSI commands. This will produce a lot of output, which is needed for debugging purposes. The format is the same as being used with the cdrecord package from Jörg Schilling. I will not describe it here.

Quiet option
    -q suppresses all screen output except error messages. Further it avoids any sub q channel requests for position reports in the recording display. That reduces cpu time resources and allows feeding a soundcard with audio data on the fly.