Intel-HDA ALC262 (again)
Alas, I spoke too soon. The headphone jack and internal speakers work as expected, until I adjust the main volume (labeled in alsamixer as 'front') at which point both the internal speakers and headphones play!
Unplugging the headphones and reconnecting them makes everything OK again.
Any ideas? (patch against 2.6.22 that makes my chip mostly work is attached). I guess that alc262_hippo_automute() needs to be called somewhere it isn't, but I couldn't see where.
Thanks again!
Andy
Quoted 27 lines
Yep, I'm happy to report that does indeed fix it!
Thank-you Takashi! :)
Andy.At Wed, 25 Jul 2007 16:51:25 +0100 (BST),
Quoted 4 lines · Andy
Hello again Takashi,
I put in some printks, and indeed the function
does
Quoted 2 lines
run and it correctly detects that there are no
headphones present, but the speakers are notunmuted.
Quoted 2 lines
(the 'mute' variable both times is reported as
being
Quoted 1 line
0x80after it is set withsnd_hda_codec_amp_read)Ah, it means that this intiailization gets called before restoring the
mixer elements. Since sony model doesn't have the mixer element for
the NID0x14that is linked with0x15,0x14isn't restored properly in
the end.
Quoted 4 lines
How about the patch below? It's a bit too ad hoc, but better than
buggy.
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now.
http://uk.answers.yahoo.com/
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Wed, 22 Aug 2007 20:59:36 +0100 (BST),
Quoted 7 lines · Andy
Alas, I spoke too soon. The headphone jack and internal speakers work as expected, until I adjust the main volume (labeled in alsamixer as 'front') at which point both the internal speakers and headphones play!
Quoted 7 lines
Unplugging the headphones and reconnecting them makes everything OK again.
Any ideas? (patch against 2.6.22 that makes my chip mostly work is attached). I guess that
alc262_hippo_automute()needs to be called somewhere it isn't, but I couldn't see where.
Ah, that's because the front (actually it should be master) control changes the both AMP values. It should change only the HP amp and call alc262_hippo_automute() appropriately.
I'll fix this later.
thanks,
Takashi
At Thu, 23 Aug 2007 00:03:18 +0200,
Quoted 18 lines · I wrote:
At Wed, 22 Aug 2007 20:59:36 +0100 (BST),
Quoted 7 lines · Andy
Alas, I spoke too soon. The headphone jack and internal speakers work as expected, until I adjust the main volume (labeled in alsamixer as 'front') at which point both the internal speakers and headphones play!
Quoted 7 lines
Unplugging the headphones and reconnecting them makes everything OK again.
Any ideas? (patch against 2.6.22 that makes my chip mostly work is attached). I guess that
alc262_hippo_automute()needs to be called somewhere it isn't, but I couldn't see where.
Quoted 5 lines
Ah, that's because the front (actually it should be master) control changes the both AMP values. It should change only the HP amp and call
alc262_hippo_automute()appropriately.I'll fix this later.
... and committed to HG tree. Please give it a try.
Takashi
Hello Takashi,
I can confirm that this is now working as expected. I have a 'master' output instead of 'front', and adjusting the levels no longer re-enables the internal speakers.
Thanks very much!
Andy.
Quoted 34 lines · --- Takashi Iwai
At Thu, 23 Aug 2007 00:03:18 +0200,
Quoted 6 lines · I wrote:
At Wed, 22 Aug 2007 20:59:36 +0100 (BST),
Quoted 3 lines · Andy
Alas, I spoke too soon. The headphone jack and
internal speakers work as expected, until Iadjust the
Quoted 1 line
Quoted 1 line
main volume (labeled in alsamixer as 'front') at
which
Quoted 1 line
Quoted 1 line
point both the internal speakers and headphones
play!
Quoted 3 lines
Quoted 3 lines
Unplugging the headphones and reconnecting them
makes
Quoted 3 lines
Quoted 3 lines
everything OK again.
Any ideas? (patch against 2.6.22 that makes my
chip
Quoted 2 lines
Quoted 2 lines
mostly work is attached). I guess that
alc262_hippo_automute()needs to be calledsomewhere
Quoted 3 lines
Quoted 1 line
it isn't, but I couldn't see where.
Ah, that's because the front (actually it should
be master) control
Quoted 1 line
changes the both AMP values. It should change
only the HP amp and
Quoted 3 lines
call
alc262_hippo_automute()appropriately.I'll fix this later.
Quoted 8 lines
... and committed to HG tree. Please give it a try.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 1 line
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now.
http://uk.answers.yahoo.com/