alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] New snd-hda-intel model/pin config for hp dv7-4000
@ 2010-08-06 21:07 Steven Eastland
  2010-08-09  6:43 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Eastland @ 2010-08-06 21:07 UTC (permalink / raw)
  To: alsa-devel

  This provides a new model and pin config for the snd-hda-intel 
92HD83XXX codec for hp laptop model dv7-4000, enabling the subwoofer.

Signed-off-by: Steven Eastland <seastland at gmail.com>
---

--- alsa-kernel/pci/hda/patch_sigmatel.c  2010-07-20 14:06:12.000000000 
-0600
+++ alsa-kernel/pci/hda/patch_sigmatel.c  2010-07-26 13:04:55.000000000 
-0600
@@ -94,6 +94,7 @@
   STAC_92HD83XXX_PWR_REF,
   STAC_DELL_S14,
   STAC_92HD83XXX_HP,
+ STAC_HP_DV7_4000,
   STAC_92HD83XXX_MODELS
  };

@@ -1628,10 +1629,17 @@
   0x40f000f0, 0x40f000f0,
  };

+static unsigned int hp_dv7_4000_pin_configs[10] = {
+ 0x03a12050, 0x0321201f, 0x40f000f0, 0x90170110,
+ 0x40f000f0, 0x40f000f0, 0x90170110, 0xd5a30140,
+ 0x40f000f0, 0x40f000f0,
+};
+
  static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = {
   [STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs,
   [STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs,
   [STAC_DELL_S14] = dell_s14_pin_configs,
+ [STAC_HP_DV7_4000] = hp_dv7_4000_pin_configs,
  };

  static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = {
@@ -1640,6 +1648,7 @@
   [STAC_92HD83XXX_PWR_REF] = "mic-ref",
   [STAC_DELL_S14] = "dell-s14",
   [STAC_92HD83XXX_HP] = "hp",
+ [STAC_HP_DV7_4000] = "hp-dv7-4000",
  };

  static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = {

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

* Re: [PATCH] New snd-hda-intel model/pin config for hp dv7-4000
  2010-08-06 21:07 [PATCH] New snd-hda-intel model/pin config for hp dv7-4000 Steven Eastland
@ 2010-08-09  6:43 ` Takashi Iwai
  2010-08-09 16:38   ` Steven Eastland
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2010-08-09  6:43 UTC (permalink / raw)
  To: Steven Eastland; +Cc: alsa-devel

At Fri, 06 Aug 2010 15:07:35 -0600,
Steven Eastland wrote:
> 
>   This provides a new model and pin config for the snd-hda-intel 
> 92HD83XXX codec for hp laptop model dv7-4000, enabling the subwoofer.
> 
> Signed-off-by: Steven Eastland <seastland at gmail.com>

Thanks, applied now.

But, I had to fix and apply your patch manually because your MUA / MTA
broke the line-feed and tabs.  At the next time, please fix your mail
setup or use attachments if it's difficult.


Takashi



> ---
> 
> --- alsa-kernel/pci/hda/patch_sigmatel.c  2010-07-20 14:06:12.000000000 
> -0600
> +++ alsa-kernel/pci/hda/patch_sigmatel.c  2010-07-26 13:04:55.000000000 
> -0600
> @@ -94,6 +94,7 @@
>    STAC_92HD83XXX_PWR_REF,
>    STAC_DELL_S14,
>    STAC_92HD83XXX_HP,
> + STAC_HP_DV7_4000,
>    STAC_92HD83XXX_MODELS
>   };
> 
> @@ -1628,10 +1629,17 @@
>    0x40f000f0, 0x40f000f0,
>   };
> 
> +static unsigned int hp_dv7_4000_pin_configs[10] = {
> + 0x03a12050, 0x0321201f, 0x40f000f0, 0x90170110,
> + 0x40f000f0, 0x40f000f0, 0x90170110, 0xd5a30140,
> + 0x40f000f0, 0x40f000f0,
> +};
> +
>   static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = {
>    [STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs,
>    [STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs,
>    [STAC_DELL_S14] = dell_s14_pin_configs,
> + [STAC_HP_DV7_4000] = hp_dv7_4000_pin_configs,
>   };
> 
>   static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = {
> @@ -1640,6 +1648,7 @@
>    [STAC_92HD83XXX_PWR_REF] = "mic-ref",
>    [STAC_DELL_S14] = "dell-s14",
>    [STAC_92HD83XXX_HP] = "hp",
> + [STAC_HP_DV7_4000] = "hp-dv7-4000",
>   };
> 
>   static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = {
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

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

* Re: [PATCH] New snd-hda-intel model/pin config for hp dv7-4000
  2010-08-09  6:43 ` Takashi Iwai
@ 2010-08-09 16:38   ` Steven Eastland
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Eastland @ 2010-08-09 16:38 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel



On 08/09/2010 12:43 AM, Takashi Iwai wrote:

> At Fri, 06 Aug 2010 15:07:35 -0600,
> Steven Eastland wrote:
>>
>>    This provides a new model and pin config for the snd-hda-intel
>> 92HD83XXX codec for hp laptop model dv7-4000, enabling the subwoofer.
>>
>> Signed-off-by: Steven Eastland<seastland at gmail.com>
>
> Thanks, applied now.
>
> But, I had to fix and apply your patch manually because your MUA / MTA
> broke the line-feed and tabs.  At the next time, please fix your mail
> setup or use attachments if it's difficult.
Sorry about that.  I thought I had checked the settings.  Also, I forgot to mention that this patch was for bug 5073.


Thanks,

Steve

>
>
> Takashi
>
>
>
>> ---
>>
>> --- alsa-kernel/pci/hda/patch_sigmatel.c  2010-07-20 14:06:12.000000000
>> -0600
>> +++ alsa-kernel/pci/hda/patch_sigmatel.c  2010-07-26 13:04:55.000000000
>> -0600
>> @@ -94,6 +94,7 @@
>>     STAC_92HD83XXX_PWR_REF,
>>     STAC_DELL_S14,
>>     STAC_92HD83XXX_HP,
>> + STAC_HP_DV7_4000,
>>     STAC_92HD83XXX_MODELS
>>    };
>>
>> @@ -1628,10 +1629,17 @@
>>     0x40f000f0, 0x40f000f0,
>>    };
>>
>> +static unsigned int hp_dv7_4000_pin_configs[10] = {
>> + 0x03a12050, 0x0321201f, 0x40f000f0, 0x90170110,
>> + 0x40f000f0, 0x40f000f0, 0x90170110, 0xd5a30140,
>> + 0x40f000f0, 0x40f000f0,
>> +};
>> +
>>    static unsigned int *stac92hd83xxx_brd_tbl[STAC_92HD83XXX_MODELS] = {
>>     [STAC_92HD83XXX_REF] = ref92hd83xxx_pin_configs,
>>     [STAC_92HD83XXX_PWR_REF] = ref92hd83xxx_pin_configs,
>>     [STAC_DELL_S14] = dell_s14_pin_configs,
>> + [STAC_HP_DV7_4000] = hp_dv7_4000_pin_configs,
>>    };
>>
>>    static const char *stac92hd83xxx_models[STAC_92HD83XXX_MODELS] = {
>> @@ -1640,6 +1648,7 @@
>>     [STAC_92HD83XXX_PWR_REF] = "mic-ref",
>>     [STAC_DELL_S14] = "dell-s14",
>>     [STAC_92HD83XXX_HP] = "hp",
>> + [STAC_HP_DV7_4000] = "hp-dv7-4000",
>>    };
>>
>>    static struct snd_pci_quirk stac92hd83xxx_cfg_tbl[] = {
>> _______________________________________________
>> Alsa-devel mailing list
>> Alsa-devel@alsa-project.org
>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>

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

end of thread, other threads:[~2010-08-09 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06 21:07 [PATCH] New snd-hda-intel model/pin config for hp dv7-4000 Steven Eastland
2010-08-09  6:43 ` Takashi Iwai
2010-08-09 16:38   ` Steven Eastland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).