# [ @(#)$Id: tosharc,v 1.3 1998/12/22 22:51:57 olli Exp $ ]
#
#   Definitions for CD-DA reading on various SCSI CD-ROM drives.
#
#   Format:
#
#   atapi "vendor" "product" "version" readcmd mdchng dens swab blocks jitter
#
#   Fields are separated by white space.  There must be exactly
#   nine or ten fields in one line to describe one CD-ROM entry.
#   The optional field is the first, the ATAPI flag, if left out
#   tosha assumes the device is a real SCSI drive.
#
#   The first field should be 1 if we are to match entries for
#   ATAPI drives, it defaults to 0 if left out.
#   The next three fields are strings (enclosed in double
#   quotes) that are used to identify the CD-ROM drive.
#   The strings are matched at the beginning with the given
#   length, so "FOO" will match both "FOO" and "FOOBAR".  Since
#   tosha takes the first match, "FOOBAR" should precede "FOO"
#   in this list.  For the same reason, a zero-length (empty)
#   string matches anything, therefore the catch-all (default)
#   entries must come last.  When such an entry is matched, a
#   warning is printed ("drive type not recognized").
#
#   The maximum length of the strings (in characters) are:
#      vendor  string:  8
#      product string: 16
#      version string:  4
#
#   The last six fields specify the parameters to use for
#   reading CD-DA with this CD-ROM drive:
#    - the code of the read command (byte),
#    - whether to change the mode/density (boolean),
#    - the density code (byte),
#    - whether to swap the bytes of audio data (boolean),
#    - the default number of blocks per access (1-26),
#    - The number of overlapping blocks for jitter correction
#         (0 = no jitter correction).
#   Note that byte values can be specified in decimal (0-255),
#   hexadecimal (0x00-0xFF) and octal (0000-0377).  Boolean
#   values must be either 1 (on) or 0 (off).
#
#   Needless to say, empty lines are ignored, and comments
#   start with "#" in the first column.
#
#   If you make any changes to this file to get tosha work with
#   your CD-ROM drive, please send me that entry, so I can
#   update it in the next release!  (Email to olli@fromme.com)
#   I'm especially looking for working parameter sets for
#   SANYO, MATSHITA, MATSUSHITA and PANASONIC drives.
#

# ATAPI drives
1 "TOSHIBA"  ""         ""     0xbe 0 0x00 0 10 0
1 "COMPAQ"   ""         ""     0xbe 0 0x00 0 10 0

# SCSI drives
0 "TOSHIBA"  ""         ""     0x28 1 0x82 0 10 0
0 "DEC"      ""         ""     0x28 1 0x82 0 10 0
0 "IBM"      ""         ""     0x28 1 0x82 0 10 0

0 "NEC"      ""         ""     0xd4 0 0x00 0 10 0

0 "PHILIPS"  ""         ""     0x28 1 0x00 1 10 0
0 "IMS"      ""         ""     0x28 1 0x00 1 10 0
0 "KODAK"    ""         ""     0x28 1 0x00 1 10 0
0 "HP"       ""         ""     0x28 1 0x00 1 10 0
0 "PLASMON"  ""         ""     0x28 1 0x00 1 10 0
0 "GRUNDIG"  "CDR100IP" ""     0x28 1 0x00 1 10 0
0 "MITSUMI"  "CDR"      ""     0x28 1 0x00 1 10 0

0 "SONY"     ""         ""     0xd8 0 0x00 0 10 0
0 "PLEXTOR"  ""         ""     0xd8 0 0x00 0 10 0

#   This one was tested with "MATSHITA" "PD-1 LF-1001" "A105":

0 "MATSHITA" "PD-1"     ""     0x28 1 0x00 0 10 0

#   Someone reported the following setting for his
#   "YAMAHA" "CRW4260" "1.0e" and "1.0h".  (Maybe it
#   also works better with MATSHITA?  Don't know.)
#   I don't know whether this works with other YAMAHA
#   drives, though, so I keep the old setting for those.
#   The CRW4416 entry is known to work with
#   "YAMAHA" "CRW4416S" "1.0e".

0 "YAMAHA"   "CRW4260"  ""     0xd8 0 0x00 0 10 0
0 "YAMAHA"   "CRW4416"  ""     0xd8 0 0x00 0 10 0
0 "YAMAHA"   ""         ""     0x28 1 0x00 0 10 0

0 "MATSHITA" ""         ""     0x28 1 0x00 0 10 0

#   This one was tested with the following drives:
#   "TEAC" "CD-R55S" "1.0J"
#   "TEAC" "CD-516S" "1.0B" and "1.0D"

0 "TEAC"     ""         ""     0xd8 0 0x00 0 10 0

#   This one was tested with the following drives:
#   "PIONEER" "CD-ROM DR-U10X" "1.07"
#   "PIONEER" "DR-U06S" "1.05"

0 "PIONEER"  ""         ""     0xd8 0 0x00 0 10 0

#   This one was tested with "RICOH" "MP6200S" "1.20":

0 "RICOH"    ""         ""     0xd8 0 0x00 0 26 0

#   This one was tested with "NRC" "MBR-7" "110" (Nakamichi jukebox):

0 "NRC"      ""         ""     0xd8 0 0x00 0 10 0

#   Remember that the (empty) default entries must come last!

0 ""         ""         ""     0xd8 0 0x00 0 10 0
1 ""         ""         ""     0xbe 0 0x00 0 10 0

#-- 
