ALSA: hda: Use 3stack quirk for some broken Dell models
PATCH 1/1 ALSA: hda: Use 3stack quirk for some broken Dell models
Hi,
In triaging bugs for Ubuntu 9.10, I've seen several Dell models that are behaving strangely with the current driver. Attached please find a patch against current sound-2.6 HEAD that allows these models to have somewhat more sane behaviour when headphones are inserted.
Thanks,
Dan
From 2ecc8de3cbd95f9a32a9f536c5f154f2fd42665c Mon Sep 17 00:00:00 2001
From: Daniel T Chen <[email protected]>
Date: Wed, 4 Nov 2009 20:24:21 -0500
Subject: [PATCH] ALSA: hda: Use 3stack quirk for some broken Dell models
The original (current) quirks rely on the bioses being correct, which sadly is not the case empirically. Users are reporting one of the following after inserting headphones:
* audio fades until inaudible
* internal speakers do not mute
Until we can pinpoint the real culprit, let's just use a working quirk.
--- sound/pci/hda/patch_sigmatel.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
sound/pci/hda/patch_sigmatel.c +4 -4
@@ -2050,13 +2050,13 @@ static struct snd_pci_quirk stac927x_cfg_tbl[] = { "Intel D965", STAC_D965_3ST),SND_PCI_QUIRK_MASK (PCI_VENDOR_ID_INTEL ,0xff00 ,0x2000 ,"Intel D965" ,STAC_D965_3ST ), +SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01dd ,"Dell Dimension E520" ,STAC_D965_3ST ), +SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01ed ,"Dell Dimension E521" ,STAC_D965_3ST ), +SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01f3 ,"Dell Inspiron 1420" ,STAC_D965_3ST ), +SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01f4 ,"Dell Dimension C521" ,STAC_D965_3ST ),/* Dell 3 stack systems */ SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01f7 ,"Dell XPS M1730" ,STAC_DELL_3ST ), -SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01dd ,"Dell Dimension E520" ,STAC_DELL_3ST ), -SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01ed ,"Dell " ,STAC_DELL_3ST ), -SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01f4 ,"Dell " ,STAC_DELL_3ST ),/* Dell 3 stack systems with verb table in BIOS */ -SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x01f3 ,"Dell Inspiron 1420" ,STAC_DELL_BIOS ),SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x0227 ,"Dell Vostro 1400 " ,STAC_DELL_BIOS ),SND_PCI_QUIRK (PCI_VENDOR_ID_DELL ,0x022e ,"Dell " ,STAC_DELL_BIOS ), SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x022f, "Dell Inspiron 1525", STAC_DELL_BIOS),
Signature · 1 line
1.6.3.3
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Wed, 4 Nov 2009 17:36:51 -0800 (PST),
Quoted 8 lines · Dan Chen
Hi,
In triaging bugs for Ubuntu 9.10, I've seen several Dell models that are behaving strangely with the current driver. Attached please find a patch against current sound-2.6 HEAD that allows these models to have somewhat more sane behaviour when headphones are inserted.
Try the very latest sound git tree. Does the problem still happen?
The decreasing volume should come from the volume-knob setup, which was fixed recently. The headphone muting is another issue, but might have been fixed :)
In anyway, please give alsa-info.sh output with the problematic hardware (preferably with the latest driver).
thanks,
Takashi
Quoted 1 line · Takashi Iwai
Try the very latest sound git tree. Does the problem still happen?
The good news is that the symptom reportedly is gone with the 20091105 snapshot. Thanks for the suggestion! An example codec dump running 20091105 is found at
http://launchpadlibrarian.net/35172146/Card0.Codecs.codec.2.txt
Quoted 3 lines
The decreasing volume should come from the volume-knob setup, which was fixed recently. The headphone muting is another issue, but might have been fixed :)
This symptom remains reproducible. An example codec dump is at
http://launchpadlibrarian.net/35125538/codec%230
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Thu, 5 Nov 2009 11:45:51 -0500,
Quoted 8 lines · Daniel Chen
Quoted 1 line · Takashi Iwai
Try the very latest sound git tree. Does the problem still happen?
The good news is that the symptom reportedly is gone with the 20091105 snapshot. Thanks for the suggestion! An example codec dump running 20091105 is found at
http://launchpadlibrarian.net/35172146/Card0.Codecs.codec.2.txt
Any chance to get alsa-info.sh output?
The codec proc file isn't enough, e.g. missing PCI IDs.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 2 lines · Takashi Iwai
Any chance to get
alsa-info.shoutput?
The codec proc file isn't enough, e.g. missing PCI IDs.
Unfortunately there's no alsa-info.sh output, but the important bits are as follows: SSIDs 0x102801dd and 0x102801ed are affected by the volume-knob change.
At Thu, 5 Nov 2009 12:56:43 -0500,
Quoted 8 lines · Daniel Chen
Quoted 2 lines · Takashi Iwai
Any chance to get
alsa-info.shoutput?
The codec proc file isn't enough, e.g. missing PCI IDs.Unfortunately there's no
alsa-info.shoutput, but the important bits are as follows: SSIDs0x102801ddand0x102801edare affected by the volume-knob change.
So, do you mean that the decreasing volume still present? Or the headphone auto-muting still doesn't work?
Takashi
Quoted 2 lines · Takashi Iwai
So, do you mean that the decreasing volume still present? Or the headphone auto-muting still doesn't work?
Sorry for being unclear. For SSIDs 0x102801dd and 0x102801ed, the volume-knob issue is resolved, i.e., volume no longer fades to an inaudible level once hp are inserted.
The hp automuting only affects 0x102801f3 (as tested thus far), and it remains reproducible.
At Fri, 6 Nov 2009 12:49:10 -0500,
Quoted 11 lines · Daniel Chen
Quoted 2 lines · Takashi Iwai
So, do you mean that the decreasing volume still present? Or the headphone auto-muting still doesn't work?
Sorry for being unclear. For SSIDs
0x102801ddand0x102801ed, the volume-knob issue is resolved, i.e., volume no longer fades to an inaudible level once hp are inserted.The hp automuting only affects
0x102801f3(as tested thus far), and it remains reproducible.
OK, then for debugging I'd need either alsa-info.sh output, or the codec#* contents after loaded with probe_only=1 option. The previous codec file wasn't enough because it doesn't contain the original pin-default values.
Could you get the file?
thanks,
Takashi
Quoted 4 lines · Takashi Iwai
OK, then for debugging I'd need either
alsa-info.shoutput, or the codec#* contents after loaded with probe_only=1 option. The previous codec file wasn't enough because it doesn't contain the original pin-default values.
The original reporter has confirmed that the 20091012 stable snapshot fixes the jacksense issue. Sorry for the noise!
At Wed, 11 Nov 2009 01:33:46 -0500,
Quoted 9 lines · Daniel Chen
Quoted 4 lines · Takashi Iwai
OK, then for debugging I'd need either
alsa-info.shoutput, or the codec#* contents after loaded with probe_only=1 option. The previous codec file wasn't enough because it doesn't contain the original pin-default values.The original reporter has confirmed that the 20091012 stable snapshot fixes the jacksense issue. Sorry for the noise!
Good to hear! Thanks for confirmation.
Takashi