← Back to team overview

kernel-packages team mailing list archive

[Bug 1412800] Re: [PATCH] ALSA: hda - Enable docking station for an HP machine

 

At Tue, 20 Jan 2015 15:06:21 +0100,
David Henningsson wrote:
> 
> From: TienFu Chen <tienfu.chen@xxxxxxxxxxxxx>
> 
> On this machine we need to inform the driver where the docking
> station pins are, because it has not been set up by BIOS.
> 
> Tested-by: TienFu Chen <tienfu.chen@xxxxxxxxxxxxx>
> BugLink: https://bugs.launchpad.net/bugs/1412800
> Signed-off-by: TienFu Chen <tienfu.chen@xxxxxxxxxxxxx>
> Signed-off-by: David Henningsson <david.henningsson@xxxxxxxxxxxxx>

Applied, thanks.


Takashi

> ---
>  sound/pci/hda/patch_realtek.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 1720f8a..0403061 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -4417,6 +4417,7 @@ enum {
>  	ALC280_FIXUP_HP_GPIO4,
>  	ALC286_FIXUP_HP_GPIO_LED,
>  	ALC280_FIXUP_HP_GPIO2_MIC_HOTKEY,
> +	ALC280_FIXUP_HP_DOCK_PINS,
>  };
>  
>  static const struct hda_fixup alc269_fixups[] = {
> @@ -4894,6 +4895,17 @@ static const struct hda_fixup alc269_fixups[] = {
>  		.type = HDA_FIXUP_FUNC,
>  		.v.func = alc280_fixup_hp_gpio2_mic_hotkey,
>  	},
> +	[ALC280_FIXUP_HP_DOCK_PINS] = {
> +		.type = HDA_FIXUP_PINS,
> +		.v.pins = (const struct hda_pintbl[]) {
> +			{ 0x1b, 0x21011020 }, /* line-out */
> +			{ 0x1a, 0x01a1903c }, /* headset mic */
> +			{ 0x18, 0x2181103f }, /* line-in */
> +			{ },
> +		},
> +		.chained = true,
> +		.chain_id = ALC280_FIXUP_HP_GPIO4
> +	},
>  };
>  
>  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
> @@ -4937,6 +4949,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
>  	SND_PCI_QUIRK(0x103c, 0x226b, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
>  	SND_PCI_QUIRK(0x103c, 0x226e, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
>  	SND_PCI_QUIRK(0x103c, 0x2271, "HP", ALC286_FIXUP_HP_GPIO_LED),
> +	SND_PCI_QUIRK(0x103c, 0x2272, "HP", ALC280_FIXUP_HP_DOCK_PINS),
>  	SND_PCI_QUIRK(0x103c, 0x229e, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
>  	SND_PCI_QUIRK(0x103c, 0x22b2, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
>  	SND_PCI_QUIRK(0x103c, 0x22b7, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1),
> -- 
> 1.9.1
>

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1412800

Title:
  Enable dock line in/line out on an HP machine (ALC280)

Status in HWE Next Project:
  New
Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  This bug is used for tracking purposes. Please do not triage.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1412800/+subscriptions


References