[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

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:hardware:audio_and_snd-hda-intel [2013/09/18 16:04 (UTC)] – Added a header allendhowtos:hardware:audio_and_snd-hda-intel [2014/08/10 03:04 (UTC)] (current) – [The fix] - Added multiple sound devices paragraph allend
Line 19: Line 19:
 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 fix =====
  
Line 30: 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?=====
 howtos:hardware:audio_and_snd-hda-intel ()