Re: [PATCH] Add extra IDs for headphone autosense

From: Takashi Iwai
Date: Fri Nov 25 2005 - 07:03:41 EST


At Thu, 24 Nov 2005 05:54:49 +0000,
Matthew Garrett wrote:
>
> The following patch adds some extra IDs for the list of hardware which
> should have headphone line sense enabled by default.
>
> Signed-off-by: Matthew Garrett <mjg59@xxxxxxxxxxxxx>

Thanks, this one could be applied to the latest ALSA tree cleanly.


Takashi


>
> --- sound/pci/ac97/ac97_patch.c.orig 2005-11-24 05:51:52 +0000
> +++ sound/pci/ac97/ac97_patch.c 2005-11-24 05:52:41 +0000
> @@ -1639,8 +1639,12 @@ static void check_ad1981_hp_jack_sense(a
> {
> u32 subid = ((u32)ac97->subsystem_vendor << 16) | ac97->subsystem_device;
> switch (subid) {
> + case 0x0e11005a: /* HP nc4000/4010 */
> case 0x103c0890: /* HP nc6000 */
> + case 0x103c0938: /* HP nc4220 */
> case 0x103c099c: /* HP nx6110 */
> + case 0x103c0944: /* HP nc6220 */
> + case 0x103c0934: /* HP nc8220 */
> case 0x103c006d: /* HP nx9105 */
> case 0x17340088: /* FSC Scenic-W */
> /* enable headphone jack sense */
>
> --
> Matthew Garrett | mjg59@xxxxxxxxxxxxx
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/