diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:15 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:55:15 -0400 |
| commit | 253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch) | |
| tree | adf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man4/cmpci.4 4.html | |
| parent | a9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff) | |
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man4/cmpci.4 4.html')
| -rw-r--r-- | static/netbsd/man4/cmpci.4 4.html | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/static/netbsd/man4/cmpci.4 4.html b/static/netbsd/man4/cmpci.4 4.html new file mode 100644 index 00000000..43b31d2c --- /dev/null +++ b/static/netbsd/man4/cmpci.4 4.html @@ -0,0 +1,136 @@ +<table class="head"> + <tr> + <td class="head-ltitle">CMPCI(4)</td> + <td class="head-vol">Device Drivers Manual</td> + <td class="head-rtitle">CMPCI(4)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">cmpci</code> — <span class="Nd">C-Media + CMI8x38 audio device driver</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp"><code class="Cd">cmpci* at pci? dev ? function ?</code> + <br/> + <code class="Cd">audio* at audiobus?</code> + <br/> + <code class="Cd">mpu* at cmpci?</code> + <br/> + <code class="Cd">opl* at cmpci? flags 1</code></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">cmpci</code> device driver supports C-Media + CMI8x38 based sound cards.</p> +<p class="Pp">The device has SPDIF input/output interfaces, 16bit CODEC with + analog mixer, OPL3 FM Synthesizer, and MPU401 compatible MIDI I/O port + interface.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="MIXER_DEVICE"><a class="permalink" href="#MIXER_DEVICE">MIXER + DEVICE</a></h1> +<p class="Pp">The mixer device of <code class="Nm">cmpci</code> driver can be + accessed via <a class="Xr">mixerctl(1)</a> command. The complex structure is + analyzed as follows.</p> +<div class="Bd Pp Li"> +<pre>SPDIF in ---------------------- +#1(coax)->|spdin1 | R ----------------------- +#2(opt)-->|spdin2 spdif.input |--*->--|spdin spdif.output |--> SPDIF + -->|spdout | | -->|playback | output + | ---------------------- | | ----------------------- + --------------------<------+-* + ---------<-------------------+-+---------------------------------- + | ------------------------ | | ----------------------- | + -->|legacy spdif.output. |--+-*-->|spdout | | + -->|wave playback | ----->|spdin spdif.monitor |---- | + | ------------------------ NC-|off | | | + ---------<-- spdif ----------------------- | | + -------+------- dac ------------ ----------------- v | +wave -->|playback.mode|---->|inputs.dac|-*->|inputs.dac.mute|->----- | +playback --------------- ------------ R ----------------- | + | | + ----------------- --------------------- |mix| | +FM synthesizer -->|inputs.fmsynth |--*->|inputs.fmsynth.mute|-->----- | + ----------------- R --------------------- *->-- +CD ---------------------- --------------------------- v +LINE-IN ->|inputs.{cd,line,aux}|-*>|inputs.{cd,line,aux}.mute|->----- +AUX ---------------------- R --------------------------- | | + ------------------ | | +PC-SPK -->| inputs.speaker |----------------------------------->| + | + ------------------ | | + ------------------- ------------ ----------------- |mix| +MIC --*-->|inputs.mic.preamp|->|inputs.mic|->|inputs.mic.mute|->| | + | ------------------- ------------ ----------------- ----- + | ------------ ----------------- | + --->|record.mic|-->| | v + ------------ | record.source |-->to ----------- + *R-->| (select, mix) | recording |outputs.*|--> + ----------------- ----------- SPK + (front)</pre> +</div> +<p class="Pp">Note the 2nd SPDIF input exists only on CMI8738/PCI-6ch + versions.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="MIXER_EXAMPLES"><a class="permalink" href="#MIXER_EXAMPLES">MIXER + EXAMPLES</a></h1> +<p class="Pp">Here are examples about wave playback and SPDIF input/output + ports.</p> +<dl class="Bl-tag"> + <dt>Playback to speaker, SPDIF input to SPDIF output</dt> + <dd> + <div class="Bd Bd-indent"><code class="Li">mixerctl -w playback.mode=dac + spdif.output=spdin spdif.monitor=off</code></div> + </dd> + <dt>Playback to SPDIF output, SPDIF input to speaker</dt> + <dd> + <div class="Bd Bd-indent"><code class="Li">mixerctl -w playback.mode=spdif + spdif.output=playback spdif.output.playback=wave + spdif.monitor=spdin</code></div> + </dd> + <dt>SPDIF input to both SPDIF output and speaker</dt> + <dd> + <div class="Bd Bd-indent"><code class="Li">mixerctl -w spdif.output=spdin + spdif.monitor=spdin</code></div> + </dd> + <dt>Playback to both SPDIF output and speaker</dt> + <dd> + <div class="Bd Bd-indent"><code class="Li">mixerctl -w playback.mode=spdif + spdif.output=playback spdif.output.playback=wave + spdif.monitor=spdout</code></div> + </dd> + <dt>Mix playback and SPDIF input to speaker</dt> + <dd> + <div class="Bd Bd-indent"><code class="Li">mixerctl -w playback.mode=dac + spdif.monitor=spdin</code></div> + </dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">mixerctl(1)</a>, <a class="Xr">audio(4)</a>, + <a class="Xr">midi(4)</a>, <a class="Xr">mpu(4)</a>, + <a class="Xr">opl(4)</a>, <a class="Xr">pci(4)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">The <code class="Nm">cmpci</code> device driver appeared in + <span class="Ux">NetBSD 1.5</span>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1> +<p class="Pp">4ch/6ch playback is not yet available. Joystick port is not + supported.</p> +<p class="Pp"><code class="Dv">spdif.output.playback=legacy</code> does not seem + to work properly.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">June 22, 2005</td> + <td class="foot-os">NetBSD 10.1</td> + </tr> +</table> |
