2 .\" Copyright (c) 1994 Keith E. Walker
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" 3. The name of the author may not be used to endorse or promote products
14 .\" derived from this software withough specific prior written permission
16 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 .Nd Mitsumi CD-ROM driver
36 .Cd "device mcd0 at isa? port 0x300 irq 10"
40 driver provides a data and audio interface to the Mitsumi-brand CD-ROM
41 player. The CD-ROM player must be interfaced to the ISA bus through
42 one of the Mitsumi proprietary controller boards. The controller
43 boards supported are the LU002S, LU005S, the FX001 and the quite
48 driver responds to disk-specific
59 commands will return an error.
63 driver also responds to special CD-ROM
65 commands. These commands
66 control the CD-ROM player's audio features.
69 .Bl -tag -width CDIOCREADSUBCHANNEL -compact -offset indent
70 .It CDIOCREADSUBCHANNEL
71 get sub-channel information on current status of disc playing
72 .It CDIOCREADTOCHEADER
73 get table of contents header
74 .It CDIOCREADTOCENTRYS
75 gets all of the table of contents
77 begins audio playing at location specified
82 begins audio playing at location specified
84 resumes playing a previously paused disc
90 stops a previously playing disc
92 opens the disc tray (there is no support for a corresponding un-eject
95 stops any play and resets the Mitsumi controller board
97 cause the kernel to print debug messages to the console about the
101 cause the kernel to quit printing debug messages about the
108 commands defined above are the only ones that the
110 driver supports. There are other CD-ROM related
117 and may be supported by future versions of the driver.
119 .Bl -tag -width /dev/(r)mcd0a -compact
121 accesses BSD partition on the disc.
122 Normally, there is only
123 one file system on a CD-ROM disc.
128 The character-mode devices for the
130 driver should only be used for accessing the audio features of the
131 CD-ROM player as the performance on data is abysmal.
133 The current version of the driver uses neither the DMA or IRQ
134 features of the interface board, although it has an interrupt handler
135 for any IRQ requests that are generated. Until the DMA features are
136 supported, the only interrupts that the board generates are those that
137 aren't supported by the driver anyway.
139 .Pa /usr/include/sys/cdio.h
141 The driver was written by
145 (audio part). Changes were
148 .An Andrew A. Chernov ,
150 .An Jordan K. Hubbard .