All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add extra IDs for headphone autosense
@ 2005-11-24  5:54 ` Matthew Garrett
  0 siblings, 0 replies; 4+ messages in thread
From: Matthew Garrett @ 2005-11-24  5:54 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-kernel

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@srcf.ucam.org>

--- 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@srcf.ucam.org


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Add extra IDs for headphone autosense
@ 2005-11-24  5:54 ` Matthew Garrett
  0 siblings, 0 replies; 4+ messages in thread
From: Matthew Garrett @ 2005-11-24  5:54 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-kernel

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@srcf.ucam.org>

--- 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@srcf.ucam.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Add extra IDs for headphone autosense
  2005-11-24  5:54 ` Matthew Garrett
  (?)
  (?)
@ 2005-11-25 12:03 ` Takashi Iwai
  -1 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-11-25 12:03 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: alsa-devel, linux-kernel

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@srcf.ucam.org>

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@srcf.ucam.org
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Add extra IDs for headphone autosense
  2005-11-24  5:54 ` Matthew Garrett
  (?)
@ 2005-11-25 12:03 ` Takashi Iwai
  -1 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-11-25 12:03 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: alsa-devel, linux-kernel

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@srcf.ucam.org>

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@srcf.ucam.org
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-25 12:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-24  5:54 [PATCH] Add extra IDs for headphone autosense Matthew Garrett
2005-11-24  5:54 ` Matthew Garrett
2005-11-25 12:03 ` Takashi Iwai
2005-11-25 12:03 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.