[alsa-devel] Thinkpad T520 (Low Volume)
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
Hello Raymond,
Am Samstag, 18. Januar 2014, 09:46:22 schrieb Raymond Yau:
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)
Can I influence that from the running system, e.g. by echo 0x4d > .... ?
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 1c096269ee2d40037fea96a59fd0695888c4
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 i/hda/patch_conexant.c?id=d70f363222ef373c2037412f09a600357cfa1c7a
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 i/hda/hda_generic.c?id=a07a949be6eb1c9aab06adaadce72dbd27b7d9cb
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
I dont have a docking station - but I have no clue what I should do here....
Thanks Axel
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)
Can I influence that from the running system, e.g. by echo 0x4d > ....
refer to user manual, it seem that both headset and headphone are supported but you cannot use conventional mic with this combo audio jack
are you using headset or headphone ?
do headset mic work or not ?
try hda_analyzer to change the volume slider of those nodes 0x10 and 0x11
?
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]
if you don't have docking station , the workaround is to remove those
pin
fix of node 0x1a and 0x1c
I dont have a docking station - but I have no clue what I should do here...
the easy way is to use model=nofixup since your bios does not have dock headphone and dock mic pins default but this also remove mic mute led
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc...
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc...
just remove dock mic and dock hp from cxt_pincfg_lenovo_tp410
/* ThinkPad 410/420/510/520, X201 & co with cxt5066 */ static const struct cxt_pincfg cxt_pincfg_lenovo_tp410[] = { { 0x19, 0x042110ff }, /* HP (seq# overridden) */ - { 0x1a, 0x21a190f0 }, /* dock-mic */ - { 0x1c, 0x212140ff }, /* dock-HP */ {} };
there are dock stations which only has combo jack for the dock headset and some have dock mic and dock headphone jacks
as some notebooks have dual headphone jacks , should those headphone pin put in multi out with mic jack retasked to support 5.1
Hi,
Am Montag, 20. Januar 2014, 09:27:57 schrieb Raymond Yau:
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)
Can I influence that from the running system, e.g. by echo 0x4d > ....
refer to user manual, it seem that both headset and headphone are supported but you cannot use conventional mic with this combo audio jack
are you using headset or headphone ?
I'm using a headset from a smartphone - it is the same 3,5mm jack
do headset mic work or not ?
works fine
try hda_analyzer to change the volume slider of those nodes 0x10 and 0x11
maybe I'm on the wrong track...but do I have to apply the diff code to the alsa source code and then rebuild the package?
?
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]
if you don't have docking station , the workaround is to remove those
pin
fix of node 0x1a and 0x1c
I dont have a docking station - but I have no clue what I should do here...
the easy way is to use model=nofixup since your bios does not have dock headphone and dock mic pins default but this also remove mic mute led
model=nofixup ad parameter for the module snd_hda_intel ?
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc i/hda/patch_conexant.c?id=2fd3f170e5ba04acc60ee94b2c76ee166727c734
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pc i/hda/patch_conexant.c?id=d70f363222ef373c2037412f09a600357cfa1c7a
just remove dock mic and dock hp from cxt_pincfg_lenovo_tp410
/* ThinkPad 410/420/510/520, X201 & co with cxt5066 */ static const struct cxt_pincfg cxt_pincfg_lenovo_tp410[] = { { 0x19, 0x042110ff }, /* HP (seq# overridden) */
- { 0x1a, 0x21a190f0 }, /* dock-mic */
- { 0x1c, 0x212140ff }, /* dock-HP */
{} };
there are dock stations which only has combo jack for the dock headset and some have dock mic and dock headphone jacks
as some notebooks have dual headphone jacks , should those headphone pin put in multi out with mic jack retasked to support 5.1
2014/1/20 Axel Braun axel.braun@gmx.de
Hi,
Am Montag, 20. Januar 2014, 09:27:57 schrieb Raymond Yau:
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)
Can I influence that from the running system, e.g. by echo 0x4d > ....
refer to user manual, it seem that both headset and headphone are
supported
but you cannot use conventional mic with this combo audio jack
are you using headset or headphone ?
I'm using a headset from a smartphone - it is the same 3,5mm jack
do headset mic work or not ?
works fine
try hda_analyzer to change the volume slider of those nodes 0x10 and 0x11
maybe I'm on the wrong track...but do I have to apply the diff code to the alsa source code and then rebuild the package?
http://www.alsa-project.org/main/index.php/HDA_Analyzer
?
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]
may be related to this patch
ALSA: hda - Enable codec->pin_amp_workaround always for Conexant auto-parser
try
codec->pin_amp_workaround = 0;
if you don't have docking station , the workaround is to remove
those
pin
fix of node 0x1a and 0x1c
I dont have a docking station - but I have no clue what I should do here...
the easy way is to use model=nofixup since your bios does not have dock headphone and dock mic pins default but this also remove mic mute led
model=nofixup ad parameter for the module snd_hda_intel ?
yes
or
try hdajackretask to remove the dock headphone and dock mic so that surround 4.0 is not supported
http://git.alsa-project.org/?p=alsa-tools.git;a=blob;f=hdajackretask/README;...
At Sat, 18 Jan 2014 09:46:22 +0800, Raymond Yau wrote:
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]
Master is set to -13dB, so this is normal.
Takashi
participants (3)
-
Axel Braun
-
Raymond Yau
-
Takashi Iwai