Skip to contentSkip to conversation

Intel-HDA ALC262 (again)

DISCUSSION Andy 2 participants 4 messages Aug 22, 2007 – Aug 23, 2007

lore
Share & tools
lore

Andy

author
#0 lore raw

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 not

unmuted.

Quoted 2 lines

(the 'mute' variable both times is reported as

being

Quoted 1 line

0x80 after it is set with snd_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 NID 0x14 that is linked with 0x15, 0x14 isn'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

#1 lore raw

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

#2 lore raw

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

author
#3 lore raw

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 I

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

somewhere

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/