[PATCH] Add extra IDs for headphone autosense

From: Matthew Garrett
Date: Thu Nov 24 2005 - 00:54:37 EST


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>

--- 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/