[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howtos:hardware:audio_and_snd-hda-intel [2012/09/26 01:25 (UTC)] – moved from the general howtos namespace mfillpothowtos:hardware:audio_and_snd-hda-intel [2014/08/10 03:04 (UTC)] (current) – [The fix] - Added multiple sound devices paragraph allend
Line 1: Line 1:
 +<!-- Reviewed 2013-01-03 hazel -->
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 ====== Audio and snd-hda-intel ====== ====== Audio and snd-hda-intel ======
Line 17: Line 18:
  
 Execute the command <code>lsmod | grep snd</code> in a terminal window. If there is a reference to ''snd_hda_intel'' in the output then the ''snd-hda-intel'' kernel module has been loaded as the driver for the controller chip and the codec chips on the HD-audio bus. Execute the command <code>lsmod | grep snd</code> in a terminal window. If there is a reference to ''snd_hda_intel'' in the output then the ''snd-hda-intel'' kernel module has been loaded as the driver for the controller chip and the codec chips on the HD-audio bus.
 +
 +Execute the command <code>aplay -l</code>  in a terminal window. If there are multiple sound devices then you will need to identify and set the sound device that you wish to use. See http://docs.slackware.com/howtos:hardware:sound_problems_on_slackware
 +===== The fix =====
  
 The ''snd-hda-intel kernel'' module tries to autodetect and configure your sound hardware, but this is not always successful. Some further configuration may help. The ''snd-hda-intel kernel'' module tries to autodetect and configure your sound hardware, but this is not always successful. Some further configuration may help.
Line 27: Line 31:
  
 It is probably easiest just to reboot at this stage to check if it works right. It is probably easiest just to reboot at this stage to check if it works right.
 +
 +If you have multiple sound devices, then you can specify the index values that are to be assigned to each device, where index=0 is the default. For example, if <code>aplay -l
 +**** List of PLAYBACK Hardware Devices ****
 +card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
 +  Subdevices: 1/1
 +  Subdevice #0: subdevice #0
 +card 1: Generic_1 [HD-Audio Generic], device 0: CX20756 Analog [CX20756 Analog]
 +  Subdevices: 1/1
 +  Subdevice #0: subdevice #0</code> then you could assign card 1 to index=0 with /etc/modprobe.d/snd-hda-intel.conf containing <code>alias char-major-116 snd
 +alias snd-card-0 snd-hda-intel
 +alias snd-card-1 snd-hda-intel
 +
 +options snd-hda-intel id=Generic_1 index=0
 +options snd-hda-intel id=Generic index=1</code>
 +
 +
  
 =====How to find the right options?===== =====How to find the right options?=====
Line 47: Line 67:
 | ? | ? | 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 |  | ? | ? | 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 | 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 | 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 1420 | ? | options snd-hda-intel model=dell | 13.37 | 
Line 52: Line 73:
 | Dell | Inspiron 15R i7 | ? | options snd-hda-intel model=dell-s14 | 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 | 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 | ? |  +| Gateway | GT5468 | ? | options snd-hda-intel model=haier-w66 | ? 
-| 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 | +| 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) |  | 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 ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
 howtos:hardware:audio_and_snd-hda-intel ()