2014/1/16 Axel Braun axel.braun@gmx.de
same problem on a ThinkPad T520, sound volume is way
too low - watching movie via loudspeakers is fairly impossible.
Any hint you could give me?
post the output of alsa-info.sh , there is a bug in alsa-driver which
treat
dock headphone and headphone to support surround 4.0
you get low volume because Amp Out vals are 0x3d instead of 0x4a but speaker volumes are at 100% (0dB)
Simple mixer control 'Speaker',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 74 Mono: Front Left: Playback 74 [100%] [0.00dB] [on] Front Right: Playback 74 [100%] [0.00dB] [on]
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L Control: name="Speaker Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Speaker Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="CX20590 Analog", type="Audio", device=0 Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1 Amp-Out vals: [0x3d 0x3d]
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=ca20...
thinkpad t520 was supported with CXT5066_AUTO which use cxt5066_update_speaker which check port a and port d
Do this mean thinkpad don't support surround 4.0 by dock headphone and headphone ?
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc...
ALSA: hda/conexant - Set up the missing docking-station pins
[ 9.956636] ALSA hda_auto_parser.c:393 autoconfig: line_outs=1 (0x1f/0x0/0x0/0x0/0x0) type:speaker [ 9.956639] ALSA hda_auto_parser.c:397 speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 9.956641] ALSA hda_auto_parser.c:401 hp_outs=2 (0x1c/0x19/0x0/0x0/0x0) [ 9.956643] ALSA hda_auto_parser.c:402 mono: mono_out=0x0 [ 9.956644] ALSA hda_auto_parser.c:406 inputs: [ 9.956646] ALSA hda_auto_parser.c:410 Mic=0x1b [ 9.956647] ALSA hda_auto_parser.c:410 Internal Mic=0x23 [ 9.956649] ALSA hda_auto_parser.c:410 Dock Mic=0x1a
the driver select this as best config
==> Best config: lo_type=1, wired=1, mio=1 multi_outs = 1f/0/0/0 : 10/0/0/0 (type SP) out path: depth=2 :10:1f hp_outs = 19/1c/0/0 : 11/11/0/0 hp path: depth=2 :11:19 hp path: depth=2 :11:1c
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc...
ALSA: hda - Fix multi-io channel mode management
this patch change the the channel_count from 2 to 4 since there are two headphone
+ if (cfg->line_out_type != AUTO_PIN_HP_OUT) + spec->const_channel_count = max(spec->const_channel_count, + cfg->hp_outs * 2);
if you don't have docking station , the workaround is to remove those pin fix of node 0x1a and 0x1c