Red Hat Bugzilla – Bug 1101386
Thinkpad T440s dock - no audio
Last modified: 2016-06-24 09:29:40 EDT
Description of problem:
If my Thinkpad T440s is connected with the docking station and the audio cable is plugged in the dock there is no audio output on the speakers. If I connect the audio cable directly with the Thinkpad I can here the audio output.
Version-Release number of selected component (if applicable):
$ rpm -q alsa-lib
Steps to Reproduce:
1. Plug the headphones into docking station => no audio
No audio from docking station.
Audio from docking station works.
I have the same problem with a T530 and dock. If I run alsamixer I can unmute the dock's headphone channel and get sound.
Unfortunately the KDE audio settings don't display anything at all for the dock's headphone socket, so I didn't know it even existed, let alone that it was muted. Any change to the KDE sound settings seems to reset the dock output to muted and I have to run alsamixer again to get sound.
Created attachment 899456 [details]
output of alsa-info.sh --no-upload
To be precise, I run alsamixer, then F6 and choose the "HDA Intel PCH" soundcard, then adjust the "Headphone" mixer control.
I'll attach my amixer output before/after.
Created attachment 899457 [details]
Initial output of amixer -c0
Created attachment 899458 [details]
Output of amixer -c0 after adjusting mixer settings
(In reply to Jonathan Wakely from comment #1)
> I have the same problem with a T530 and dock. If I run alsamixer I can
> unmute the dock's headphone channel and get sound.
This seems to be different problem. My "Headphone" mixer reacts appropriately, it (un)mutes if I (un)plug my headphones into laptop. But it has no influence on audio connector in docking station what so ever.
Yes, that's the same here. THe Headphone mixer doesn't react when I plug speakers into the dock, but if I manually turn the volume up I get sound through the dock output. It reacts correctly when using the laptop's headphone socket.
So the bug seems to be that the sound profile(?) doesn't switch to Headphone mode when using the dock connector.
(In reply to Jonathan Wakely from comment #6)
> Yes, that's the same here. THe Headphone mixer doesn't react when I plug
> speakers into the dock, but if I manually turn the volume up I get sound
> through the dock output. It reacts correctly when using the laptop's
> headphone socket.
> So the bug seems to be that the sound profile(?) doesn't switch to Headphone
> mode when using the dock connector.
But I have everything unmuted and 100% volume and there is no sound through dock output at all.
name 'Headphone Jack'
name 'Dock Headphone Jack'
there is no dock headphone in
but speaker can turn headphone off in
This goes into Kernel 3.16:
May be it could be backported?
FYI the fixup in c10 can be applied to an older kernel at runtime as follows:
# cat <<EOF >/lib/firmware/t440s.fw
0x10ec0292 0x17aa220c 0
# cat <<EOF >/etc/modprobe.d/hda-intel.conf
options snd-hda-intel patch=t440s.fw,t440s.fw,t440s.fw
Then rmmod/modprobe the snd-hda-intel kernel module, or just reboot.
This solves the issue for me with a T540p + dock using F20 (although for a T540p, the codec value needed in the configuration file is 0x17aa2210, not 0x17aa220c; for a T440p I suppose it's 0x17aa220e).
I've e-mailed alsa-devel with the information above and requested that the patch in c10 be amended for T540p users as well, i.e. by adding
+ SND_PCI_QUIRK(0x17aa, 0x2210, "Thinkpad T540p", ALC292_FIXUP_TPT440_DOCK),
I'll get a scratch kernel built today that contains the two patches.
Please test this kernel when it completes and let me know if it resolves the issues:
Sorry, please use this build instead:
RHEL 7 bug: bug 1100835
(In reply to Jim Minter from comment #11)
Thanks Jim, the workaround works for me.
(In reply to Josh Boyer from comment #16)
Josh, could you please do another scratch build. I obviously missed this one :/ Sorry for being late.
(In reply to Vít Ondruch from comment #18)
> (In reply to Jim Minter from comment #11)
> Thanks Jim, the workaround works for me.
> (In reply to Josh Boyer from comment #16)
> Josh, could you please do another scratch build. I obviously missed this one
> :/ Sorry for being late.
Um... if you're running a rawhide kernel (which is what this bug is reported against), both of the patches are already contained in that.
git describe --contains a12137e779e17413f87026202a890f8143858259
git describe --contains 1c37c22332a2d2c1b4ab32177a4f847c7fe06e38
Are you running a rawhide kernel, or some other version?
This is my current kernel:
$ uname -a
Linux unused-4-226.brq.redhat.com 3.15.6-200.fc20.x86_64 #1 SMP Fri Jul 18 02:36:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
I originally encountered the issue on my F20 and it still holds for F20. I was requesting the backport for F20 in comment #10, but it was probably not that clear. Sorry for the confusion.
Created attachment 923449 [details]
[patch] ALSA: hda - Add dock pin setups for Thinkpad T440
F20 backport of following upstream commit:
Author: Takashi Iwai <email@example.com>
Date: Tue May 6 17:34:42 2014 +0200
ALSA: hda - Add dock pin setups for Thinkpad T440
The headphone and mic jacks on Thinkpad T440 are assigned to pins NID
0x16 and 0x19, respectively. These need to be set up manually by a
Reported-and-tested-by: Joschi Brauchle <firstname.lastname@example.org>
Signed-off-by: Takashi Iwai <email@example.com>
This fixed the issue for me and I am able to hear sound from speakers connected directly to dock.
Should I post this patch to fedora mailing list or is this enough? Thanks!
Thanks, that's enough. We're travelling today though, so it won't get committed until Monday most likely.
Got to it sooner than I thought. Also found the previous work I did to grab the two referenced commits, so I used that. Thanks again everyone. This should be fixed with the next official build.
kernel-3.15.9-200.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.15.9-200.fc20'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
kernel-3.15.9-200.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
Still not working with X240, maybe other compatible laptops, see Bug 1150594.
I have similar issue regarding Thinkpad T460 and Ultra Dock
I forgot to add I'm on kernel 4.6.2-1
Big thank you for Jaroslav help. Following his solution to adding options snd-hda-intel model=tpt460 in modprobe.d completely resolved my sound issue from Lenovo ThinkPad 460 over docking station.
echo "options snd-hda-intel model=tpt460" > /etc/modprobe.d/alsadock.conf