Created attachment 238471 [details] alsa-info.txt With the default mapping, changing the volume or muting on the "Speaker" control does not have an effect. Changing node 0x1D's mapping to connect to output 0x11 fixes this, as per http://askubuntu.com/questions/745619/sound-from-speakers-when-headphones-connected - node 0x17 is already connected to output 0x11, unlike in that link. Attached is my alsa-info. Cheers, Valentin
Hm, NID 0x1d is listed as unused. Does this correspond to the actual speaker output pin? That is, NID 0x17 is bogus?
I haven't worked with the HDA analyzer before, so I'm unsure how to check this correctly. However, removing the 'OUT' checkbox under 'Widget Control' doesn't seem to change anything, and neither does toggling the output between 0x11 and 0x10. I'll gladly test anything else, if you'll tell me what it is.
OK, then could you try the patch below? It disables the bogus NID 0x17 and enables NID 0x1d instead.
Created attachment 239771 [details] Test patch
Did seem to work at first, but then I noticed that one of the speaker pairs did not work. It seems that one of the NIDs controls the lower pair and the other the upper pair. It's a bit hard to notice when you don't have sound running while changing things or aren't paying attention. I'm attaching the new patch that does not disable NID 0x17.
Created attachment 239781 [details] Test patch that does not disable NID 0x17
Better to assign a different pincfg value than 0x91170110 that is already used for NID 0x17. Maybe 0x91170111. Also, try to play only left channel or right channel while enabling / disabling NID 0x17 and 0x1d. Do both pins play from both the left/right stereo channels?
Yes, both pins play from both channels. 0x17 is responsible for the speakers on the bottom of the notebook, 0x1d for the one on top.
Created attachment 239821 [details] Enable NID 0x1d with different pincfg value
Good to hear. I'm going to queue the fix patch now to for-linus branch. It'll be included at least in 4.9-rc1.
Thanks!
The fix got merged to upstream.