High Definition Audio AC 97

Aus Linupedia.org
Version vom 5. Juni 2007, 20:21 Uhr von Misiu (Diskussion | Beiträge) (Bei Problemen mit Intels High Definition Audio kann folgendes helfen (SuSE10.2):)
Wechseln zu: Navigation, Suche

Bei Problemen mit Intels High Definition Audio kann folgendes helfen (SuSE10.2):

Ob ein HDA-Chip am Werk sei kann in der Textkonsole mit:

lspci 

überprüft werden:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Was kann ich unternehmen?:

1. Neuere Alsa-Pakete installieren.

2. Soundkarte statt mit YaST , mit "alsaconfig" in der Textkonsole konfigurieren.

3. Die Model-Einstellungen in:

/etc/modprobe.d/sound

die normalerweise so aussehen:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=?????

durch andere ersetzen. Weitere Model-Optionen können aus dem:

/usr/src/linux-2.6.18.2-34/Documentation/sound/alsa/ALSA-Configuration.txt

entnommen werden.

Zitat daraus:

"Abschnitt HDA (INTEL ICH 6/7/8)
Module snd-hda-intel
Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8),
ATI SB450, SB600, RS600,
VIA VT8251/VT8237A,
SIS966, ULI M5461
model	- force the model name
position_fix - Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size)
single_cmd  - Use single immediate commands to communicate with
codecs (for debugging only)
This module supports one card and autoprobe.
Each codec may have a model table for different configurations.
If your machine isn't listed there, the default (usually minimal)
configuration is set up.  You can pass "model=<name>" option to
specify a certain model in such a case.  There are different
models depending on the codec chip.
Model name	Description
ALC880
3stack	3-jack in back and a headphone out
3stack-digout	3-jack in back, a HP out and a SPDIF out
5stack	5-jack in back, 2-jack in front
5stack-digout	5-jack in back, 2-jack in front, a SPDIF out
6stack	6-jack in back, 2-jack in front
6stack-digout	6-jack with a SPDIF out
w810		3-jack
z71v		3-jack (HP shared SPDIF)
asus		3-jack
uniwill	3-jack
F1734		2-jack
lg		LG laptop (m1 express dual)
lg-lw		LG LW20 laptop
test		for testing/debugging purpose, almost all controls can be adjusted.  Appearing only when compiled with $CONFIG_SND_DEBUG=y
auto		auto-config reading BIOS (default)
ALC260
hp		HP machines
fujitsu	Fujitsu S7020
acer		Acer TravelMate
basic		fixed pin assignment (old default model)
auto		auto-config reading BIOS (default)
ALC262
fujitsu	Fujitsu Laptop
basic		fixed pin assignment w/o SPDIF
auto		auto-config reading BIOS (default)
ALC882/885
3stack-dig	3-jack with SPDIF I/O
6stck-dig	6-jack digital with SPDIF I/O
auto		auto-config reading BIOS (default)
ALC883/888
3stack-dig	3-jack with SPDIF I/O
6stack-dig	6-jack digital with SPDIF I/O
6stack-dig-demo  6-stack digital for Intel demo board
auto		auto-config reading BIOS (default)
ALC861/660
3stack	3-jack
3stack-dig	3-jack with SPDIF I/O
6stack-dig	6-jack with SPDIF I/O
auto		auto-config reading BIOS (default)
CMI9880
minimal	3-jack in back
min_fp	3-jack in back, 2-jack in front
full		6-jack in back, 2-jack in front
full_dig	6-jack in back, 2-jack in front, SPDIF I/O
allout	5-jack in back, 2-jack in front, SPDIF out
auto		auto-config reading BIOS (default)
AD1981
basic		3-jack (default)
hp		HP nx6320
thinkpad	Lenovo Thinkpad T60/X60/Z60
AD1986A
6stack	6-jack, separate surrounds (default)
3stack	3-stack, shared surrounds
laptop	2-channel only (FSC V2060, Samsung M50)
laptop-eapd	2-channel with EAPD (Samsung R65, ASUS A6J)
AD1988
6stack	6-jack
6stack-dig	ditto with SPDIF
3stack	3-jack
3stack-dig	ditto with SPDIF
laptop	3-jack with hp-jack automute
laptop-dig	ditto with SPDIF
auto		auto-confgi reading BIOS (default)
STAC7661(?)
vaio		Setup for VAIO FE550G/SZ110
If the default configuration doesn't work and one of the above matches with your device, report 
it together with the PCI subsystem ID (output of "lspci    -nv") to ALSA BTS or alsa-devel ML (see the section "Links and Addresses").
Note 2: If you get click noises on output, try the module option
position_fix=1 or 2.  position_fix=1 will use the SD_LPIB
register value without FIFO size correction as the current
DMA pointer.  position_fix=2 will make the driver to use
the position buffer instead of reading SD_LPIB register.
(Usually SD_LPLIB register is more accurate than the
position buffer.)
NB: If you get many "azx_get_response timeout" messages at
loading, it's likely a problem of interrupts (e.g. ACPI irq
routing).  Try to boot with options like "pci=noacpi".  Also, you
can try "single_cmd=1" module option.  This will switch the
communication method between HDA controller and codecs to the
single immediate commands instead of CORB/RIRB.  Basically, the
single command mode is provided only for BIOS, and you won't get
unsolicited events, too.  But, at least, this works independently
from the irq.  Remember this is a last resort, and should be
avoided as much as possible...
The power-management is supported."

Daraus entnommen kann es z.B. so aussehen:

/etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack

Bei weiteren Problemen kann noch die Option:

position_fix=1

hinzugefügt werden, dabei kann der Wert 0, 1, 2 oder 3 betragen.

Die Optionszeile könnte dann so aussehen:

options snd-hda-intel model=3stack position_fix=1

Nach der änderung ALSA zuerst stoppen, dann neu starten:

rcalsasound stop
rcalsasound start

Bei KDE evtl. Den Sound-Mixer neu starten:

-> Alt+F2
-> kmix

Die Optionen für i810 (Modul "i810_audio und snd-intel8x0")sind:

Module snd-intel8x0
Module for AC'97 motherboards from Intel and compatibles.
Intel i810/810E, i815, i820, i830, i84x, MX440, ICH5, ICH6, ICH7, ESB2
SiS 7012 (SiS 735)
NVidia NForce, NForce2, NForce3, MCP04, CK804, CK8, CK8S, MCP501
AMD AMD768, AMD8111
ALi m5455
ac97_clock	  - AC'97 codec clock base (0 = auto-detect)
ac97_quirk    - AC'97 workaround for strange hardware
See "AC97 Quirk Option" section below.
buggy_irq     - Enable workaround for buggy interrupts on some
motherboards (default yes on nForce chips,otherwise off)
buggy_semaphore - Enable workaround for hardwares with buggy
semaphores (e.g. on some ASUS laptops)   (default off)
This module supports one chip and autoprobe.
Note: the latest driver supports auto-detection of chip clock.
if you still encounter too fast playback, specify the clock
explicitly via the module option "ac97_clock=41194".
Joystick/MIDI ports are not supported by this driver.  If your
motherboard has these devices, use the ns558 or snd-mpu401
modules, respectively.
The power-management is supported.
  
Module snd-intel8x0m
Module for Intel ICH (i8x0) chipset MC97 modems.
Intel i810/810E, i815, i820, i830, i84x, MX440 ,ICH5, ICH6, ICH7
SiS 7013 (SiS 735)
NVidia NForce, NForce2, NForce2s, NForce3
AMD AMD8111
ALi m5455
ac97_clock	  - AC'97 codec clock base (0 = auto-detect)
This module supports one card and autoprobe.
Note: The default index value of this module is -2, i.e. the first
slot is excluded.
The power-management is supported.

Viel Spass beim ausprobieren!

Neuere Alsa-Pakete installieren:

1. Paket "Driver" runterladen von: http://www.alsa-project.org/

2. entpacken

./configure
make
(als root) checkinstall
rpm -Uhv /usr/src/packages/RPMS/i386/alsa-driver-1.0.14rc3-1.i386.rpm
ldconfig
depmod -a

SYSTEM Neustart Optional können die übersetzten Pakete auch einfach mit YaST installiert werden. Bemerkung: Für die Erstellung von dem RPM-Paket wird Paket "checkinstall" benötigt, evtl. mit YaST nachinstallieren.

Zurück zu Hardware