All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Overwrite pin config on intel DG45ID board.
@ 2009-12-12  9:16 Alexey Fisher
  2009-12-12 17:07 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Fisher @ 2009-12-12  9:16 UTC (permalink / raw
  To: alsa-devel, tiwai; +Cc: Alexey Fisher

The pin config provided by BIOS have some problems:
0x0221401f: [Jack] HP Out at Ext Front  <-- other association and sequence
0x02a19020: [Jack] Mic at Ext Front     <-- other association
0x01113014: [Jack] Speaker at Ext Rear  <-- line out (not speaker)
0x01114010: [Jack] Speaker at Ext Rear  <-- line out
0x01a19030: [Jack] Mic at Ext Rear      <-- other association
0x01111012: [Jack] Speaker at Ext Rear  <-- line out
0x01116011: [Jack] Speaker at Ext Rear  <-- line out
0x40f000f0: [N/A] Other at Ext N/A
0x40f000f0: [N/A] Other at Ext N/A
0x40f000f0: [N/A] Other at Ext N/A
0x40f000f0: [N/A] Other at Ext N/A
0x40f000f0: [N/A] Other at Ext N/A
0x01451140: [Jack] SPDIF Out at Ext Rear
0x40f000f0: [N/A] Other at Ext N/A

just overwrite it.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
---
 sound/pci/hda/patch_sigmatel.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 6b0bc04..395c174 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1538,6 +1538,13 @@ static unsigned int alienware_m17x_pin_configs[13] = {
 	0x904601b0,
 };
 
+static unsigned int intel_dg45id_pin_configs[14] = {
+	0x02214230, 0x02A19240, 0x01013214, 0x01014210,
+	0x01A19250, 0x01011212, 0x01016211, 0x40f000f0,
+	0x40f000f0, 0x40f000f0, 0x40f000f0, 0x014510A0,
+	0x074510B0, 0x40f000f0
+};
+
 static unsigned int *stac92hd73xx_brd_tbl[STAC_92HD73XX_MODELS] = {
 	[STAC_92HD73XX_REF]	= ref92hd73xx_pin_configs,
 	[STAC_DELL_M6_AMIC]	= dell_m6_pin_configs,
@@ -1545,6 +1552,7 @@ static unsigned int *stac92hd73xx_brd_tbl[STAC_92HD73XX_MODELS] = {
 	[STAC_DELL_M6_BOTH]	= dell_m6_pin_configs,
 	[STAC_DELL_EQ]	= dell_m6_pin_configs,
 	[STAC_ALIENWARE_M17X]	= alienware_m17x_pin_configs,
+	[STAC_92HD73XX_INTEL]	= intel_dg45id_pin_configs,
 };
 
 static const char *stac92hd73xx_models[STAC_92HD73XX_MODELS] = {
-- 
1.6.3.3

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

* Re: [PATCH] Overwrite pin config on intel DG45ID board.
  2009-12-12  9:16 [PATCH] Overwrite pin config on intel DG45ID board Alexey Fisher
@ 2009-12-12 17:07 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2009-12-12 17:07 UTC (permalink / raw
  To: Alexey Fisher; +Cc: alsa-devel

At Sat, 12 Dec 2009 11:16:41 +0200,
Alexey Fisher wrote:
> 
> The pin config provided by BIOS have some problems:
> 0x0221401f: [Jack] HP Out at Ext Front  <-- other association and sequence
> 0x02a19020: [Jack] Mic at Ext Front     <-- other association
> 0x01113014: [Jack] Speaker at Ext Rear  <-- line out (not speaker)
> 0x01114010: [Jack] Speaker at Ext Rear  <-- line out
> 0x01a19030: [Jack] Mic at Ext Rear      <-- other association
> 0x01111012: [Jack] Speaker at Ext Rear  <-- line out
> 0x01116011: [Jack] Speaker at Ext Rear  <-- line out
> 0x40f000f0: [N/A] Other at Ext N/A
> 0x40f000f0: [N/A] Other at Ext N/A
> 0x40f000f0: [N/A] Other at Ext N/A
> 0x40f000f0: [N/A] Other at Ext N/A
> 0x40f000f0: [N/A] Other at Ext N/A
> 0x01451140: [Jack] SPDIF Out at Ext Rear
> 0x40f000f0: [N/A] Other at Ext N/A
> 
> just overwrite it.
> 
> Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>

Thanks, applied.  I'll include this for the next pull request.


Takashi

> ---
>  sound/pci/hda/patch_sigmatel.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
> index 6b0bc04..395c174 100644
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -1538,6 +1538,13 @@ static unsigned int alienware_m17x_pin_configs[13] = {
>  	0x904601b0,
>  };
>  
> +static unsigned int intel_dg45id_pin_configs[14] = {
> +	0x02214230, 0x02A19240, 0x01013214, 0x01014210,
> +	0x01A19250, 0x01011212, 0x01016211, 0x40f000f0,
> +	0x40f000f0, 0x40f000f0, 0x40f000f0, 0x014510A0,
> +	0x074510B0, 0x40f000f0
> +};
> +
>  static unsigned int *stac92hd73xx_brd_tbl[STAC_92HD73XX_MODELS] = {
>  	[STAC_92HD73XX_REF]	= ref92hd73xx_pin_configs,
>  	[STAC_DELL_M6_AMIC]	= dell_m6_pin_configs,
> @@ -1545,6 +1552,7 @@ static unsigned int *stac92hd73xx_brd_tbl[STAC_92HD73XX_MODELS] = {
>  	[STAC_DELL_M6_BOTH]	= dell_m6_pin_configs,
>  	[STAC_DELL_EQ]	= dell_m6_pin_configs,
>  	[STAC_ALIENWARE_M17X]	= alienware_m17x_pin_configs,
> +	[STAC_92HD73XX_INTEL]	= intel_dg45id_pin_configs,
>  };
>  
>  static const char *stac92hd73xx_models[STAC_92HD73XX_MODELS] = {
> -- 
> 1.6.3.3
> 

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

end of thread, other threads:[~2009-12-12 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-12  9:16 [PATCH] Overwrite pin config on intel DG45ID board Alexey Fisher
2009-12-12 17:07 ` 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.