diff options
author | Rene Herman <rene.herman@keyaccess.nl> | 2006-03-28 05:38:20 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-31 10:58:59 -0500 |
commit | cf40a310a7aaf1944eea3e01e9c120b31850c3b6 (patch) | |
tree | a5e17b831899b2db25cd5f18b3e2f15eda0b3adf /Documentation/sound | |
parent | 060d77b9c04acd7aef60790398a53f731db8c8fe (diff) |
[ALSA] AdLib FM card driver
Attached you'll find an ALSA driver for AdLib FM cards. An AdLib card is
just an OPL2, which was already supported by sound/drivers/opl3, so only
very minimal bus-glue is needed. The patch applies cleanly to both
2.6.16 and 2.6.16-mm1.
The driver has been tested with an actual ancient 8-bit ISA AdLib card
and works fine. It also works fine for an OPL3 {,emulation} as still
found on many ISA soundcards but given that AdLib cards don't have their
own mixer, upping the volume from 0 might be a problem without the card
driver already loaded and driving the OPL3.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/sound')
-rw-r--r-- | Documentation/sound/alsa/ALSA-Configuration.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt index a8c3c7e847cf..0ee2c7dfc482 100644 --- a/Documentation/sound/alsa/ALSA-Configuration.txt +++ b/Documentation/sound/alsa/ALSA-Configuration.txt | |||
@@ -120,6 +120,34 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
120 | enable - enable card | 120 | enable - enable card |
121 | - Default: enabled, for PCI and ISA PnP cards | 121 | - Default: enabled, for PCI and ISA PnP cards |
122 | 122 | ||
123 | Module snd-adlib | ||
124 | ---------------- | ||
125 | |||
126 | Module for AdLib FM cards. | ||
127 | |||
128 | port - port # for OPL chip | ||
129 | |||
130 | This module supports multiple cards. It does not support autoprobe, so | ||
131 | the port must be specified. For actual AdLib FM cards it will be 0x388. | ||
132 | Note that this card does not have PCM support and no mixer; only FM | ||
133 | synthesis. | ||
134 | |||
135 | Make sure you have "sbiload" from the alsa-tools package available and, | ||
136 | after loading the module, find out the assigned ALSA sequencer port | ||
137 | number through "sbiload -l". Example output: | ||
138 | |||
139 | Port Client name Port name | ||
140 | 64:0 OPL2 FM synth OPL2 FM Port | ||
141 | |||
142 | Load the std.sb and drums.sb patches also supplied by sbiload: | ||
143 | |||
144 | sbiload -p 64:0 std.sb drums.sb | ||
145 | |||
146 | If you use this driver to drive an OPL3, you can use std.o3 and drums.o3 | ||
147 | instead. To have the card produce sound, use aplaymidi from alsa-utils: | ||
148 | |||
149 | aplaymidi -p 64:0 foo.mid | ||
150 | |||
123 | Module snd-ad1816a | 151 | Module snd-ad1816a |
124 | ------------------ | 152 | ------------------ |
125 | 153 | ||