[Bug 809519] New: Swap HDMI and SB audio on Asus EeePC 1215b [solved]
https://bugzilla.novell.com/show_bug.cgi?id=809519 https://bugzilla.novell.com/show_bug.cgi?id=809519#c0 Summary: Swap HDMI and SB audio on Asus EeePC 1215b [solved] Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound AssignedTo: tiwai@suse.com ReportedBy: bernd.paysan@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.32 (KHTML, like Gecko) Chrome/27.0.1425.0 Safari/537.32 SUSE/27.0.1425.0 The Asus EeePC has two sound drivers, one for HDMI, the other for analog (SB). Both use the snd_hda_intel. By default, Linux assigns the HDMI as card 0 and the SB as card 1: root@xxxx:~# cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfeb44000 irq 44 1 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfeb40000 irq 16 root@xxxx:~# aplay -l **** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: Generic [HD-Audio Generic], Gerät 3: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: SB [HDA ATI SB], Gerät 0: ALC269VB Analog [ALC269VB Analog] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 This doesn't work very well, too many programs simply assume that the default Alsa device is card 0 device 0 (mplayer, Adobe flash, etc.). The order you setup the two devices in Yast doesn't matter, and since it's the same driver for both, it doesn't even help if you configure only one of the two - both of them will be found and active. I've googled for the problem, it happens on all Linux systems, and nobody in the top 10 Google results was intelligent enough to find a solution. So I had to find one myself (which is pretty frustrating if Google doesn't help): Add the following option to /etc/modprobe.d/50-alsa.conf: options snd-hda-intel index=1,0 This swaps both cards. The resulting aplay -l gives: **** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: SB [HDA ATI SB], Gerät 0: ALC269VB Analog [ALC269VB Analog] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: Generic [HD-Audio Generic], Gerät 3: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 This then works out of the box, the HDMI sound isn't the most important feature of a laptop, which usually is not plugged into a TV. Suggestion: Yast should add this line if the user configures two devices which use the same driver in the reverse order as they appeared during the hardware detection. Yast also should add this by default for AMD's netbook APUs, which all have the same chipset. Reproducible: Always Steps to Reproduce: 1. Get a device like the Asus EeePC 1215b, which has two different soundcards with the same driver 2. Try to use Yast to set the order in which these cards are mapped 3. Watch it being uneffective As I found a workaround, I should probably severity to "minor". However, it is frustrating to search for this. This additional configuration line should quite likely be default on E-350/E-450 APUs from AMD, which all share that problem, and Yast's approach to add an option line like this: options snd slots=snd-hda-intel,snd-hda-intel alias snd-card-0 snd-hda-intel alias snd-card-1 snd-hda-intel is stupid and for obvious reasons doesn't (and can't) work. So this is really a bug, and it should be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809519 https://bugzilla.novell.com/show_bug.cgi?id=809519#c Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Sound |YaST2 AssignedTo|tiwai@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com QAContact|qa-bugs@suse.de |jsrain@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809519 https://bugzilla.novell.com/show_bug.cgi?id=809519#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809519 https://bugzilla.novell.com/show_bug.cgi?id=809519#c Michal Filka <mfilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mfilka@suse.com AssignedTo|yast2-maintainers@suse.de |lslezak@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809519 https://bugzilla.novell.com/show_bug.cgi?id=809519#c1 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED --- Comment #1 from Ladislav Slezak <lslezak@suse.com> 2013-04-16 08:58:21 UTC --- Oh, thanks for finding the solution for this ("options snd-hda-intel index=1,0")! Yast does not handle the situation correctly when the cards share the same driver. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com