PATCH: Quirk to pickup correct alsa mixer profile on HP 6730b

Bug #315977 reported by Peter Clifton
2
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Wishlist
Ben Collins
linux (openSUSE)
Fix Released
High

Bug Description

Needs a quirk to put the AD1984A codec in "laptop" mode.

(NB: The AD1984A codec inherits from the base settings in AD1884A)

index 686c774..3175b98 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -3863,6 +3863,7 @@ static struct snd_pci_quirk ad1884a_cfg_tbl[] = {
        SND_PCI_QUIRK(0x103c, 0x3056, "HP", AD1884A_MOBILE),
        SND_PCI_QUIRK(0x103c, 0x30e7, "HP EliteBook 8530p", AD1884A_LAPTOP),
        SND_PCI_QUIRK(0x103c, 0x3614, "HP 6730s", AD1884A_LAPTOP),
+ SND_PCI_QUIRK(0x103c, 0x30e6, "HP 6730b", AD1884A_LAPTOP),
        SND_PCI_QUIRK(0x17aa, 0x20ac, "Thinkpad X300", AD1884A_THINKPAD),
        {}
 };

Revision history for this message
In , Hartmut-sbosny (hartmut-sbosny) wrote :

I use a laptop HP 6730B with intel sound chipset 82801I. Afer installation
I had no sound, neither in 11.0 nor in 11.1 RC1. In 11.1 I could overcome the problem via the menu "Yast ==> hardware ==> sound" by setting the 'model' option to "laptop" (accord. to a tip in http://www.linlap.com/wiki/HP-Compaq+6730B, where was proposed to add/change in /etc/modprobe.conf the line “options snd-hda-intel model=laptop”; the SUSE equivalent should be the file
/etc/modprobe.d/sound, but in 11.0 this didn't help.)

This is the content of /etc/modprobe.d/sound after my above change via yast.

options snd-hda-intel model=laptop
options snd slots=snd-hda-intel
# u1Nb.5BNmHXMrXg9:82801I (ICH9 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel

Revision history for this message
In , Tiwai-r (tiwai-r) wrote :

Could you run /usr/sbin/alsa-info.sh with --no-upload option, and attach the generated file?

Revision history for this message
In , Hartmut-sbosny (hartmut-sbosny) wrote :

Created attachment 259123
output of "alsa-info.sh --no-upload" (after my yast setting)

Revision history for this message
In , Hartmut-sbosny (hartmut-sbosny) wrote :

(In reply to comment #1 from Takashi Iwai)
> Could you run /usr/sbin/alsa-info.sh with --no-upload option, and attach the
> generated file?
>

I sent is already with my first report, but anyhow it got lost. I try it again....

Revision history for this message
In , Tiwai-r (tiwai-r) wrote :

Thanks. I fixed now on both ALSA git tree and SUSE kernel tree.
The next update-kernel should work without model option.

Revision history for this message
In , Hartmut-sbosny (hartmut-sbosny) wrote :

Created attachment 259129
output of "alsa-info.sh --no-upload" for the yast default settings

Because my sent alsa-info.sh output looks correct after my yast settings,
I reset (to verify the bug) in "yast ==> hardware ==> sound" the default settings,
and run alsa-info.sh again. The term "model=laptop" is now missing.
Also in /etc/modprobe.d/sound, which looks now so:

  options snd slots=snd-hda-intel
  # u1Nb.5BNmHXMrXg9:82801I (ICH9 Family) HD Audio Controller
  alias snd-card-0 snd-hda-intel

And the sound is gone.

Revision history for this message
In , Hartmut-sbosny (hartmut-sbosny) wrote :

(In reply to comment #4 from Takashi Iwai)
> Thanks. I fixed now on both ALSA git tree and SUSE kernel tree.
> The next update-kernel should work without model option.
>

Wow, that's fast! Thanks, and my last post was too slow. :-)

Revision history for this message
Peter Clifton (pcjc2) wrote :
Revision history for this message
Peter Clifton (pcjc2) wrote :

NB: Even with this quirk, there are still issues with this model laptop and sound in Jaunty.

The PCM mixer channel in initialised at zero volume, and muted. Unfortunately, no pulseaudio tools on the desktop can change this. I've had to use "alsamixer -c 0" and set it each time I boot.

Revision history for this message
Daniel T Chen (crimsun) wrote :
Changed in linux:
importance: Undecided → Wishlist
status: New → Triaged
Changed in linux:
assignee: nobody → ben-collins
status: Triaged → In Progress
Changed in linux:
status: Unknown → Fix Released
Revision history for this message
Ben Collins (ben-collins) wrote :

Already exists in jaunty kernel

Changed in linux:
status: In Progress → Fix Released
Revision history for this message
In , Swamp-a (swamp-a) wrote :

Update released for: kernel-debug, kernel-debug-base, kernel-debug-debuginfo, kernel-debug-debugsource, kernel-debug-extra, kernel-default, kernel-default-base, kernel-default-debuginfo, kernel-default-debugsource, kernel-default-extra, kernel-docs, kernel-kdump, kernel-kdump-debuginfo, kernel-kdump-debugsource, kernel-pae, kernel-pae-base, kernel-pae-extra, kernel-ppc64, kernel-ppc64-base, kernel-ppc64-debuginfo, kernel-ppc64-debugsource, kernel-ppc64-extra, kernel-ps3, kernel-ps3-debuginfo, kernel-ps3-debugsource, kernel-source, kernel-source-debuginfo, kernel-syms, kernel-trace, kernel-trace-base, kernel-trace-debuginfo, kernel-trace-debugsource, kernel-trace-extra, kernel-vanilla, kernel-vanilla-debuginfo, kernel-vanilla-debugsource, kernel-xen, kernel-xen-base, kernel-xen-debuginfo, kernel-xen-debugsource, kernel-xen-extra
Products:
openSUSE 11.1 (debug, i586, ppc, x86_64)

Changed in linux (openSUSE):
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.