Sorry, I screwed up a bit. The Speaker column is just a switch, with no volume controls. It is either muted or not muted as the only options.
That code stuff you linked to is already in the kernel.
I looked a bit more through the far too many options, and maybe your headphones are actually being control by these options:
Code: Select all
Simple mixer control 'Left Headphone Mixer LLIN',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Left Headphone Mixer Left DAC',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
You just have too many options to know what to do with them. I briefly thought this one might matter:
Code: Select all
Simple mixer control 'DAC',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 192
Mono:
Front Left: Playback 192 [100%] [0.00dB]
Front Right: Playback 192 [100%] [0.00dB]
And this line very near the top of the amixer output might be a cause of your issues:
Code: Select all
ALSA lib tlv.c:108:(snd_tlv_parse_dB_info) Too big dB_scale TLV size: 264
And here's more headphone items:
Code: Select all
Simple mixer control 'Left Headphone Mixer LLIN',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Left Headphone Mixer Left DAC',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Left Headphone Mux',0
Capabilities: enum
Items: 'lin1-rin1' 'lin2-rin2' 'lin-rin with Boost' 'lin-rin with Boost and PGA'
Item0: 'lin1-rin1'
Simple mixer control 'Right Headphone Mixer RLIN',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Right Headphone Mixer Right DAC',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Right Headphone Mux',0
Capabilities: enum
Items: 'lin1-rin1' 'lin2-rin2' 'lin-rin with Boost' 'lin-rin with Boost and PGA'
Item0: 'lin1-rin1'
I'm afraid I just don't know the magic formula for this codec.
All of the above stuff is in alsamixer. Just keep hitting the right arrow key, and sometime in the next few days you'll get to the end of all the options.
Just saw your new post, so looking at the link now.