mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.31-rc2] Missing volume controls for Intel HDA (ALC269/EeePC)
@ 2009-07-08 14:29 Darren Salt
  2009-07-08 14:39 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Darren Salt @ 2009-07-08 14:29 UTC (permalink / raw)
  To: alsa-devel, tiwai; +Cc: linux-kernel

There is a regression, introduced in aa202455eec51699e44f658530728162cefa1307
(in alsa-kernel) which I noticed when trying to use the headphone socket on
my EeeCPC 901: the output was *very* quiet, practically silent.

This patch corrects the control types to that which was obviously intended in
the referenced commit.

Signed-Off-By: Darren Salt <linux@youmustbejoking.demon.co.uk>

--- a/sound/pci/hda/patch_realtek.c	2009-07-05 17:30:41.000000000 +0100
+++ b/sound/pci/hda/patch_realtek.c	2009-07-08 14:50:38.000000000 +0100
@@ -12878,9 +12878,9 @@
 
 static struct snd_kcontrol_new alc269_eeepc_mixer[] = {
 	HDA_CODEC_MUTE("Speaker Playback Switch", 0x14, 0x0, HDA_OUTPUT),
-	HDA_CODEC_MUTE("Speaker Playback Volume", 0x02, 0x0, HDA_OUTPUT),
+	HDA_CODEC_VOLUME("Speaker Playback Volume", 0x02, 0x0, HDA_OUTPUT),
 	HDA_CODEC_MUTE("Headphone Playback Switch", 0x15, 0x0, HDA_OUTPUT),
-	HDA_CODEC_MUTE("Headphone Playback Volume", 0x03, 0x0, HDA_OUTPUT),
+	HDA_CODEC_VOLUME("Headphone Playback Volume", 0x03, 0x0, HDA_OUTPUT),
 	{ } /* end */
 };
 

-- 
| Darren Salt            | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds    ,demon,co,uk    | Northumberland | Army
|   <URL:http://www.youmustbejoking.demon.co.uk/progs.packages.html>

I have one illusion, and that's that I have no illusions.

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

* Re: [PATCH 2.6.31-rc2] Missing volume controls for Intel HDA (ALC269/EeePC)
  2009-07-08 14:29 [PATCH 2.6.31-rc2] Missing volume controls for Intel HDA (ALC269/EeePC) Darren Salt
@ 2009-07-08 14:39 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2009-07-08 14:39 UTC (permalink / raw)
  To: Darren Salt; +Cc: alsa-devel, linux-kernel

At Wed, 08 Jul 2009 15:29:49 +0100,
Darren Salt wrote:
> 
> There is a regression, introduced in aa202455eec51699e44f658530728162cefa1307
> (in alsa-kernel) which I noticed when trying to use the headphone socket on
> my EeeCPC 901: the output was *very* quiet, practically silent.
> 
> This patch corrects the control types to that which was obviously intended in
> the referenced commit.
> 
> Signed-Off-By: Darren Salt <linux@youmustbejoking.demon.co.uk>

Bah, looks like a wrong version was merged to the tree.
Applied now.  Thanks for a quick fix!


Takashi

> --- a/sound/pci/hda/patch_realtek.c	2009-07-05 17:30:41.000000000 +0100
> +++ b/sound/pci/hda/patch_realtek.c	2009-07-08 14:50:38.000000000 +0100
> @@ -12878,9 +12878,9 @@
>  
>  static struct snd_kcontrol_new alc269_eeepc_mixer[] = {
>  	HDA_CODEC_MUTE("Speaker Playback Switch", 0x14, 0x0, HDA_OUTPUT),
> -	HDA_CODEC_MUTE("Speaker Playback Volume", 0x02, 0x0, HDA_OUTPUT),
> +	HDA_CODEC_VOLUME("Speaker Playback Volume", 0x02, 0x0, HDA_OUTPUT),
>  	HDA_CODEC_MUTE("Headphone Playback Switch", 0x15, 0x0, HDA_OUTPUT),
> -	HDA_CODEC_MUTE("Headphone Playback Volume", 0x03, 0x0, HDA_OUTPUT),
> +	HDA_CODEC_VOLUME("Headphone Playback Volume", 0x03, 0x0, HDA_OUTPUT),
>  	{ } /* end */
>  };
>  
> 
> -- 
> | Darren Salt            | linux at youmustbejoking | nr. Ashington, | Doon
> | using Debian GNU/Linux | or ds    ,demon,co,uk    | Northumberland | Army
> |   <URL:http://www.youmustbejoking.demon.co.uk/progs.packages.html>
> 
> I have one illusion, and that's that I have no illusions.
> 

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

end of thread, other threads:[~2009-07-08 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-08 14:29 [PATCH 2.6.31-rc2] Missing volume controls for Intel HDA (ALC269/EeePC) Darren Salt
2009-07-08 14:39 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®