Ceci est une ancienne révision du document !
Table des matières
Audio and snd-hda-intel
Problématique
Ce HOWTO est relatif aux problèmes rencontrés avec les cartes son qui utilisent le chipset Intel HDA.
Avez-vous rencontré des problèmes audio comme :
- Aucun son ?
- Les casques fonctionnent mais pas les haut parleurs
- Les haut parleurs fonctionnent mais pas les casques
- Les haut parleurs ne sont pas muets lorsque un casque est branché
- Les entrés audio ne sont pas reconnues ?
Diagnostiquer le problème
Exécutez la commande
lsmod | grep snd
dans une fenêtre terminal. S'il y a une référence à snd_hda_intel
dans la sortie de la commande, le module snd-hda-intel
a été chargé dans le noyau en tant que pilote pour le chip contrôleur et pour les chips de codage/encodage sur le bus HD-audio.
Le module snd-hda-intel
essaie de détecter automatiquement et de configurer votre matériel audio, mais cela ne réussit pas toujours. Il faut parfois ajouter des options de configuration.
Souvent la réparation est simple. Il suffit de créer un fichier dans le répertoire /etc/modprobe.d/
et d'y mettre des options supplémentaires pour le module snd-hda-intel
. Le nom du fichier n'est pas important bien qu'il doive se terminer par le suffixe .conf. Vous pouvez utiliser par exemple snd-hda-intel.conf
. D'autres distributions Linux utilisent sound.conf
ou alsa-base.conf
pour stocker ces informations.
Un moyen simple est d'exécuter (en tant que root)
echo "options snd-hda-intel model=auto" > /etc/modprobe.d/snd-hda-intel.conf
Il est probablement plus facile de redémarrer à cette étape pour vérifier si tout fonctionne correctement.
How to find the right options?
Very often the problem has already been solved. Use your favourite internet search engine and search for “snd-hda-intel <Your make> <Your model>”.
If that is unsuccessful then execute
cat /proc/asound/card*/codec* | grep Codec
The output from that command should be something like
Codec: SigmaTel STAC9227
You can then read the documentation in the file /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt
to see a list of possible models that can be used with your codec chip. The default is always model=auto
, but it has been reported that some devices seem to need that option supplied explicitly to be made to work.
If that does not work and you are very keen then take a look at the file /usr/src/linux/Documentation/sound/alsa/HD-Audio.txt
.
The table below shows options that have been reported to work. Suggestions for additions/amendments are very welcome!
Make | Model | Output of '/sbin/lspci | grep Audio' | Option | Slackware Version |
? | ? | 00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01) | options snd-hda-intel model=auto | 13.37 |
? | ? | 0:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 05) | options snd-hda-intel model=auto | 13.37 |
Asus | Eee PC 1001px | ? | options snd-hda-intel model=auto | 13.1 with ALSA 1.0.24 |
Asus | K50IJ | 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) | options snd-hda-intel model=auto, enable_msi=1 | 14.0 |
Dell | Dimension E520 | 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) | options snd-hda-intel model=3stack | 13.37 |
Dell | Inspiron 1420 | ? | options snd-hda-intel model=dell | 13.37 |
Dell | Inspiron 1545 | ? | options snd-hda-intel model=dell-m4-1 | 13.1 |
Dell | Inspiron 15R i7 | ? | options snd-hda-intel model=dell-s14 | 13.1 |
Gateway | 4022 | 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2) | options snd-hda-intel model=3stack | 13.1 |
Gateway | GT5468 | ? | options snd-hda-intel model=haier-w66 | ? |
Gigabyte | GA-M68MT-S2 Motherboard | 00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2) | options snd-hda-intel model=auto | 14.0 |
HP | Pavilion dv6-2140ca | 01:00.1 Audio device: ATI Technologies Inc RV710/730 | options snd-hda-intel model=hp-dv5, enable_msi=1 | 13.37 |
Intel | DG965SS motherboard | 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) | options snd-hda-intel model=auto | 14.0 |
Lenovo | X120e | 00:01.1 Audio device: ATI Technologies Inc Device 1314 | options snd-hda-intel index=1 | 13.37 (with 2.6.38.4 kernel from /testing) |
Toshiba | Satellite L30-10X | 00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01) | options snd-hda-intel model=hp, enable_msi=1 | 12.0.0, 12.1.0, 12.2.0 (audio input not tested) |
.
Sources
- Originally written by David Allen for the SlackDocs Wiki Project
- Contributions by Harishankar
References
/usr/src/linux/Documentation/sound/alsa/HD-Audio.txt
/usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt