FS#40381 - [linux] alsa default default device

Attached to Project: Arch Linux
Opened by tt (theodore) - Thursday, 15 May 2014, 16:40 GMT
Last edited by Thomas Bächler (brain0) - Saturday, 17 May 2014, 11:36 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I am trying to setup up the default order of my sound devices. I am trying to do that by using the vid and pid of my sound devices according to the instructions of the official wiki https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card. My devices vid's and pid's are:

$ lspci -nn | grep -i audio
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cypress HDMI Audio [Radeon HD 5800 Series] [1002:aa50]
02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series] [1002:aa38]


and I am modifying my /etc/modprobe.d/alsa-base.conf file as:

## Intel HD Audio Controller
options snd-hda-intel index=0 model=auto vid=8086 pid=293e
## Cypress HDMI Audio [Radeon HD 5800 Series]
options snd-hda-intel index=1 model=auto vid=1002 pid=aa50
## V710/730 HDMI Audio [Radeon HD 4000 series]
options snd-hda-intel index=2 model=auto vid=1002 pid=aa38

However, after I reboot the output of aplay -l is:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI_1 [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices:1/1
Subdevice #0: subdevice #0
card 2: Intel [HDA Intel], device 0: AD1988B Analog [AD1988B Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: Intel [HDA Intel], device 1: AD1988B Digital [AD1988B Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Intel [HDA Intel], device 2: AD1988B Alt Analog [AD1988B Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

which is of course wrong.


Additional info:
* package version(s)
* config and/or log files etc.

alsa-utils 1.0.27.2-1
linux-3.14.4-1


Steps to reproduce:
detect your sound devices pid's and vid's with the lspci -nn | grep -i audio command. Create a /etc/modprobe.d/alsa-base.conf file where you set the order of your sound devices according to the vid's and pid's. Reboot and run aplay -l command and verify if the order is according to the order that you set at the alsa-base.conf file or not.
This task depends upon

Closed by  Thomas Bächler (brain0)
Saturday, 17 May 2014, 11:36 GMT
Reason for closing:  Not a bug
Additional comments about closing:  I don't see a bug here. This is not a help desk - if you want help configuring your system, go to the forums.
Comment by Dave Reisner (falconindy) - Thursday, 15 May 2014, 17:11 GMT
You can't possibly specify different options for the same kernel module multiple times. Furthermore, 'vid' and 'pid' aren't valid options for the module (they seem to apply to snd-usb-audio).

If you need to pass multiple values to index and model params, separate them with a comma.

There's a fair bit of info here about handling multiple cards: http://alsa.opensrc.org/MultipleCards
Comment by Doug Newgard (Scimmia) - Friday, 16 May 2014, 00:35 GMT
This sounds more like a request for help than a bug report. I would suggest asking on either the forums or the arch-general mailing list.
Comment by tt (theodore) - Friday, 16 May 2014, 09:50 GMT
I have written at the forum since I had a general problem with my sound. One of the advices that I got there was to configure my default sound device in the way that I am describing above. Doing that ended with what I am describing here, which for them was strange and probably has to do with alsa. So, they just asked me to reported somewhere. For that reason I opened a new task here, maybe I should try at the alsa-users-mailing list.
Comment by Doug Newgard (Scimmia) - Saturday, 17 May 2014, 02:32 GMT
  • Field changed: Summary (alsa default default device → [linux] alsa default default device)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category (Packages: Extra → Packages: Core)
  • Task assigned to Thomas Bächler (brain0), Tobias Powalowski (tpowa)
Taking a shot.

Loading...