Skip to contentSkip to conversation

Add extra IDs for headphone autosense

PATCH In review Matthew Garrett 2 participants 3 messages Nov 24, 2005 – Nov 25, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add extra IDs for headphone autosense

The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default.

pci/ac97/ac97_patch.c renamed from pci/ac97/ac97_patch.c.orig +4 -0
@@ -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 */
Signature · 8 lines
Matthew Garrett | [email protected]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
#1 lore raw

At Thu, 24 Nov 2005 05:54:49 +0000,

Quoted 5 lines · Matthew Garrett

The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default.

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

Takashi

Quoted 25 lines
pci/ac97/ac97_patch.c renamed from pci/ac97/ac97_patch.c.orig +4 -0
@@ -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 */
Signature · 7 lines
-- 
Matthew Garrett | [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

#2 lore raw
In reply to Matthew Garrett

At Thu, 24 Nov 2005 05:54:49 +0000,

Quoted 5 lines · Matthew Garrett

The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default.

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

Takashi

Quoted 25 lines
pci/ac97/ac97_patch.c renamed from pci/ac97/ac97_patch.c.orig +4 -0
@@ -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 */
Signature · 7 lines
-- 
Matthew Garrett | [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/