LINUX under the sound cartoon
Recommended: WEED Published: April 19, 2001 Readings: 380
-------------------------------------------------- ------------------------------
Some Linux users often ask questions: Can Linux compatible with XXX card? In fact, Linux is an open system, as long as Linux enthusiasts work, Linux can be compatible with any hardware.
Let's talk about the sound card. First, we must know the type of sound card, or some kind of sound card is compatible. If the kernel cannot detect this sound card, then the driver module of this sound card is required to install the sound card.
For example, the drive module used by the common sound card Creative Vibra 128 is ES1371, and the module used by the Creative PCI 128 is ES1370, and the like.
Redhatlinux is used to set the sound card with SNDConfig. If there is no module, you need to recompile the kernel (compile the latest release Linux kernel), if you can't do it, you have to use the ALSA sound driver.
The ALSA sound driver is originally written in the Linux core driver of the Gravis Ultrasound card. When an empirical this is very successful, it is compatible with OSS / Free and OSS / Linux sound driver (core drivers), but it has a better interface than the OSS driver.
The ALSA sound driver can be found at http://www.alsa-project.org/. The latest version is 0.5.9d ALSA sound driver is a module. Below is the type of sound card supported by ALSA.
Alsa Supported SoundCards
Advanced Linux Sound Architecture - Supported SoundCards
============================================================================================================================================================================================================= =========
ID: SoundCard Chipset / Type
SC: SoundCard Name
IF: Supported Interfaces (Mixer, PCM, Synth, Synth_MIDI, SEQ, OPL, MIDI, EMUL, HWDEP)
MA: maintainainer
CO: CODER
This File is maintained by jaroslav kysela.
NOTE: OPL -> RAW (NATIVE) OPL
NOTE: MIDI -> EXTERNAL MIDI Port
NOTE: Emul -> Midi Emulation
NOTE: SYNTH -> YEAH, WELL?
NOTE: SYNTH_MIDI -> Internal Synth That Handles MIDI DATA
NOTE: SEQ -> Kernel Client for ALSA SEQUENCER
Note: hwdep -> Various Hardware-Dependent Interfaces / DEVICES
=====
ID: AMD Interface
SC: Gravis Ultrasound Plug & Playsc: Dynasonic 3-D
SC: STB Sound Rage 32
SC: Ultrasound 32-Pro (STB)
SC: Med3210
IF: Mixer, PCM, MIDI, SYNTH
MA: Jaroslav Kysela
ID: Gravis Ultrasound Max
IF: Mixer, PCM, MIDI, SYNTH
MA: Jaroslav Kysela
ID: Gravis Ultrasound Extreme
IF: Mixer, PCM, MIDI, SYNTH
MA: Jaroslav Kysela
ID: Gravis Ultrasound Classic / Ace
IF: Mixer, PCM, SYNTH
MA: Jaroslav Kysela
ID: ESS Audiodrive ESX688
IF: Mixer, PCM, MIDI (1688)
MA: Jaroslav Kysela
ID: SoundBlaster 1.0 / 2.0 / pro
IF: Mixer (Pro ONLY), PCM, MIDI
CO: Jaroslav Kysela
MA: Chris Butler
ID: SoundBlaster 16 / AWE
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
ID: YAMAHA OPL3-SA2 / SA3
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
ID: Oak Mozart
IF: Mixer, PCM
CO: Jaroslav Kysela
MA:???
ID: S3 Sonicvibes PCI
SC: SCHUBERT 32 PCI (PINE)
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
ID: Ensoniq Audiopci (ES1370, ES1371)
SC: SoundBlaster PCI 64
SC: SoundBlaster PCI 128
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
ID: Cirrus Logic / Crystal Semiconductors CS4232 / CS4232A
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
ID: Cirrus Logic / Crystal Semiconductors CS4235 / CS4236 / CS4236B / CS4237B / CS4238B / CS4239
SC: Turtle Beach Malibu
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
ID: Cirrus Logic / Crystal Semiconductors CS4610 / CS4612 / CS4615 / CS4280
IF: Mixer, PCM
MA: Jaroslav Kysela
ID: ESS SOLO-1 ES1938
IF: Mixer, PCM
MA: Jaromir Koutek
ID: ESS ES18XX
IF: Mixer, PCM, MIDI
MA: Abramo Bagnara
ID: OPTI 82C9XX
SC: AUDIO 16 Pro EPC-SOUN9301 (82C930 BASED)
SC: EXPERTCOLOR MED-3931 V2.0 (82C931 Based)
SC: EXPERTMEDIA SOUND 16 MED-1600 (82C928 Based - AD1848)
SC: Mozart S601206-G (OTI601 BASED - CS4231)
SC: Sound Player S-928 (82C928 BASED - AD1848)
IF: Mixer, PCM, OPL, MIDI
MA: Massimo Piccioniid: Trident 4Dwave DX / NX
SC: Best Union Miss Melody 4DWave PCI
SC: HIS 4DWave PCI
SC: Warpspeed Onspeed 4DWave PCI
SC: Aztech PCI 64-Q3D
SC: Addonics SV 750
SC: chic True Sound 4DWave
SC: Shark Predator4D-PCI
SC: Jaton SonicWAVE 4D
SC: Hoontech Soundtrack Digital 4Dwave NX
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
ID: Fortemedia FM801
SC: DT-0398
IF: Mixer, PCM, MIDI
MA: perex@suse.cz
ID: SGI IND (HAL2)
IF: PCM
MA: ULF Carlsson
ID: Turtle Beach Wavefront
SC: Tropez Plus (Tropez )
SC: Tropez
SC: Maui (Models with CS4232; Others Use Opti 16 Which is not handled)
IF: Mixer, PCM, MIDI, OPL, SYNTH_MIDI, HWDEP
CO: pbd@op.net
MA: pbd@op.net
ID: C-Media CMI8330
IF: Mixer, PCM
MA: George Talusan
ID: C-Media CMI8338 / 8738
IF: Mixer, PCM, MIDI
MA: Takashi Iwai
ID: AVANCE Logic ALS100 / ALS120
IF: Mixer, PCM, MIDI
MA: Massimo Piccioni
ID: Diamond Technologies DT-0197H
IF: Mixer, PCM, MIDI
MA: Massimo Piccioni
ID: Aztech Sound Galaxy
IF: Mixer, PCM, MIDI
MA: Christopher Butler
ID: MOTU Miditimepiece Av MultiPort Midi Interface
IF: MIDI
MA: Michael T. Mayers
ID: EMU10K1
SC: Sound Blaster Live!
SC: Sound Blaster PCI 512
SC: E-MU APS
IF: Mixer, PCM, MIDI, SYNTH_MIDI
MA: Jaroslav Kysela
ID: RME DIGI9652 (Hammerfall, Hammerfall Light)
IF: PCM
Ma: Paul Barton-Davis
ID: Intel i810 / i820 / i830 / i840 / mx440
IF: Mixer, PCM
MA: Jaroslav Kysela
ID: ESS Maestro 1/2 / 2E
IF: Mixer, PCM
MA: Matze Braun
ID: VIA 82C686A (South Bridge)
IF: Mixer, PCM, MIDI
MA: Jaroslav Kysela
Please note that if you want to use the ALSA driver, you should not load any other sound drivers first. If you contain a sound driver in your core, it is necessary to compile the core. If you are using the old Sound.o module, you must release it. If you use Kerneld, this may be you want to delete the / lib / modules /
Steps to compile ALSA drivers:
TAR ZXVF ALSA-Driver-0.3.5.9d.tar.gz
TAR ZXVF ALSA-LIB-0.3.5.9d.tar.gz
TAR ZXVF ALSA-UTILS-0.3.5.9d.tar.gz
CD ALSA-Driver-0.3.5.9d
./configure
Make
Make Install
Cd ../alas-lib-0.3.5.9d
./configure
Make
Make Install
Cd ../alas-utils-0.3.5.9d
./configure
Make
Make Install
There is a command manuscript in the driver program (script) to install the / dev directory of the ALSA sound effect device file.
Insert ./snddevices in the drive program directory.
There are two ways to use the ALSA sound module:
A. Plug-in with ModProbe
If you have a PNP sound card, you should first set the correct (or at least known) IO / IRQ / DMA.
Two examples:
Gravis Ultrasound (GUS) and compatible card:
/ sbin / modprobe snd-gusclassic
For complete 16-bit SoundBlaster cards (SoundBlaster 16 (PNP), SoundBlaster AWE 32 (PNP), Sound Blasterawe 64 (PNP):
/ sbin / modprobe SND-SB16
B. Use kernel to load
Kerneld is an insertion module when needed, and unloading their service program (daemon) when no longer use.
Edit /etc/conf.modules
Execute MODPROBE SND-Card, where SND-Card is your sound card name.
This is the Gravis Ultrasound PNP sound card /etc/conf.modules:
Alias Char-Major-14 SND
Alias Snd-Minor-OSS-0 SND-Interface
Alias Snd-Minor-OSS-3 SND-PCM1-OSS
Alias SND-Minor-OSS-4 SND-PCM1-OSS
Alias SND-Minor-OSS-5 SND-PCM1-OSS
Alias Snd-Minor-OSS-12 SND-PCM1-OSS
Alias SND-CARD-0 SND-Interface
Options SND SND_MAJOR = 14 SND_CARDS_LIMIT = 1
Options Snd-Interface Snd_index = 1 SND_ID = "GUSPNP" SND_PORT = 0x220 SND_IRQ = 5
SND_DMA1 = 5 SND_DMA2 = 6
Author: hubertzou
Source: LinuxAID Professional Technical Services