1# [ @(#)$Id: tosharc,v 1.3 1998/12/22 22:51:57 olli Exp $ ]
2#
3#   Definitions for CD-DA reading on various SCSI CD-ROM drives.
4#
5#   Format:
6#
7#   "vendor" "product" "version" readcmd mdchng dens swab blocks jitter
8#
9#   Fields are separated by white space.  There must be exactly
10#   nine fields in one line to describe one CD-ROM entry.
11#
12#   The first three fields are strings (enclosed in double
13#   quotes) that are used to identify the CD-ROM drive.
14#   The strings are matched at the beginning with the given
15#   length, so "FOO" will match both "FOO" and "FOOBAR".  Since
16#   tosha takes the first match, "FOOBAR" should precede "FOO"
17#   in this list.  For the same reason, a zero-length (empty)
18#   string matches anything, therefore the catch-all (default)
19#   entry must come last.  When this entry is matched, a
20#   warning is printed ("drive type not recognized").
21#
22#   The maximum length of the strings (in characters) are:
23#      vendor  string:  8
24#      product string: 16
25#      version string:  4
26#
27#   The last six fields specify the parameters to use for
28#   reading CD-DA with this CD-ROM drive:
29#    - the code of the read command (byte),
30#    - whether to change the mode/density (boolean),
31#    - the density code (byte),
32#    - whether to swap the bytes of audio data (boolean),
33#    - the default number of blocks per access (1-26),
34#    - The number of overlapping blocks for jitter correction
35#         (0 = no jitter correction).
36#   Note that byte values can be specified in decimal (0-255),
37#   hexadecimal (0x00-0xFF) and octal (0000-0377).  Boolean
38#   values must be either 1 (on) or 0 (off).
39#
40#   Needless to say, empty lines are ignored, and comments
41#   start with "#" in the first column.
42#
43#   If you make any changes to this file to get tosha work with
44#   your CD-ROM drive, please send me that entry, so I can
45#   update it in the next release!  (Email to olli@fromme.com)
46#   I'm especially looking for working parameter sets for
47#   SANYO, MATSHITA, MATSUSHITA and PANASONIC drives.
48#
49
50"TOSHIBA"  ""         ""     0x28 1 0x82 0 10 0
51"DEC"      ""         ""     0x28 1 0x82 0 10 0
52"IBM"      ""         ""     0x28 1 0x82 0 10 0
53
54"NEC"      ""         ""     0xd4 0 0x00 0 10 0
55
56"PHILIPS"  ""         ""     0x28 1 0x00 1 10 0
57"IMS"      ""         ""     0x28 1 0x00 1 10 0
58"KODAK"    ""         ""     0x28 1 0x00 1 10 0
59"HP"       ""         ""     0x28 1 0x00 1 10 0
60"PLASMON"  ""         ""     0x28 1 0x00 1 10 0
61"GRUNDIG"  "CDR100IP" ""     0x28 1 0x00 1 10 0
62"MITSUMI"  "CDR"      ""     0x28 1 0x00 1 10 0
63
64"SONY"     ""         ""     0xd8 0 0x00 0 10 0
65"PLEXTOR"  ""         ""     0xd8 0 0x00 0 10 0
66
67#   This one was tested with "MATSHITA" "PD-1 LF-1001" "A105":
68
69"MATSHITA" "PD-1"     ""     0x28 1 0x00 0 10 0
70
71#   Someone reported the following setting for his
72#   "YAMAHA" "CRW4260" "1.0e" and "1.0h".  (Maybe it
73#   also works better with MATSHITA?  Don't know.)
74#   I don't know whether this works with other YAMAHA
75#   drives, though, so I keep the old setting for those.
76#   The CRW4416 entry is known to work with
77#   "YAMAHA" "CRW4416S" "1.0e".
78
79"YAMAHA"   "CRW4260"  ""     0xd8 0 0x00 0 10 0
80"YAMAHA"   "CRW4416"  ""     0xd8 0 0x00 0 10 0
81"YAMAHA"   ""         ""     0x28 1 0x00 0 10 0
82
83"MATSHITA" ""         ""     0x28 1 0x00 0 10 0
84
85#   This one was tested with the following drives:
86#   "TEAC" "CD-R55S" "1.0J"
87#   "TEAC" "CD-516S" "1.0B" and "1.0D"
88
89"TEAC"     ""         ""     0xd8 0 0x00 0 10 0
90
91#   This one was tested with the following drives:
92#   "PIONEER" "CD-ROM DR-U10X" "1.07"
93#   "PIONEER" "DR-U06S" "1.05"
94
95"PIONEER"  ""         ""     0xd8 0 0x00 0 10 0
96
97#   This one was tested with "RICOH" "MP6200S" "1.20":
98
99"RICOH"    ""         ""     0xd8 0 0x00 0 26 0
100
101#   This one was tested with "NRC" "MBR-7" "110" (Nakamichi jukebox):
102
103"NRC"      ""         ""     0xd8 0 0x00 0 10 0
104
105#   Remember that the (empty) default entry must come last!
106
107""         ""         ""     0xd8 0 0x00 0 10 0
108
109#--
110