Bug 1101386 - Thinkpad T440s dock - no audio
Summary: Thinkpad T440s dock - no audio
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1312979
TreeView+ depends on / blocked
 
Reported: 2014-05-27 05:22 UTC by Vít Ondruch
Modified: 2018-06-02 11:42 UTC (History)
30 users (show)

Fixed In Version: kernel-3.15.9-200.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1312979 (view as bug list)
Environment:
Last Closed: 2014-08-16 00:34:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
output of alsa-info.sh --no-upload (40.83 KB, text/plain)
2014-05-27 10:30 UTC, Jonathan Wakely
no flags Details
Initial output of amixer -c0 (3.09 KB, text/plain)
2014-05-27 10:31 UTC, Jonathan Wakely
no flags Details
Output of amixer -c0 after adjusting mixer settings (3.09 KB, text/plain)
2014-05-27 10:32 UTC, Jonathan Wakely
no flags Details
[patch] ALSA: hda - Add dock pin setups for Thinkpad T440 (2.12 KB, patch)
2014-08-02 08:00 UTC, Jiri Pirko
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1150594 0 unspecified CLOSED Thinkpad X240 dock - no audio 2021-02-22 00:41:40 UTC

Internal Links: 1150594

Description Vít Ondruch 2014-05-27 05:22:40 UTC
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 
alsa-lib-1.0.27.2-2.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Plug the headphones into docking station => no audio
2.
3.

Actual results:
No audio from docking station.


Expected results:
Audio from docking station works.


Additional info:
http://www.alsa-project.org/db/?f=5538955eca5d1084ee1a590074105087501fd7e3

Comment 1 Jonathan Wakely 2014-05-27 10:14:45 UTC
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.

Comment 2 Jonathan Wakely 2014-05-27 10:30:21 UTC
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.

Comment 3 Jonathan Wakely 2014-05-27 10:31:13 UTC
Created attachment 899457 [details]
Initial output of amixer -c0

Comment 4 Jonathan Wakely 2014-05-27 10:32:18 UTC
Created attachment 899458 [details]
Output of amixer -c0 after adjusting mixer settings

Comment 5 Vít Ondruch 2014-05-27 10:59:33 UTC
(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.

Comment 6 Jonathan Wakely 2014-05-27 11:09:48 UTC
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.

Comment 7 Vít Ondruch 2014-05-27 11:17:32 UTC
(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.

Comment 8 Raymond 2014-05-28 02:03:35 UTC
control.22 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface CARD
		name 'Dock Headphone Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}


there is no dock headphone in

http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-headphones.conf

but speaker can turn headphone off in

http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-speaker.conf

Comment 9 Raymond 2014-05-28 02:03:50 UTC
control.22 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface CARD
		name 'Dock Headphone Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}


there is no dock headphone in

http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-headphones.conf

but speaker can turn headphone off in

http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths/analog-output-speaker.conf

Comment 10 Vít Ondruch 2014-06-12 20:29:09 UTC
This goes into Kernel 3.16:

http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/?id=1c37c22332a2d2c1b4ab32177a4f847c7fe06e38

May be it could be backported?

Comment 11 Jim Minter 2014-06-26 19:13:12 UTC
FYI the fixup in c10 can be applied to an older kernel at runtime as follows:

# cat <<EOF >/lib/firmware/t440s.fw
[codec]
0x10ec0292 0x17aa220c 0

[pincfg]
0x16 0x21211010
0x19 0x21a11010
EOF

# cat <<EOF >/etc/modprobe.d/hda-intel.conf
options snd-hda-intel patch=t440s.fw,t440s.fw,t440s.fw
EOF

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).

Comment 12 Jim Minter 2014-06-26 19:26:27 UTC
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),

Comment 14 Josh Boyer 2014-06-27 12:02:17 UTC
I'll get a scratch kernel built today that contains the two patches.

Comment 15 Josh Boyer 2014-06-27 12:18:35 UTC
Please test this kernel when it completes and let me know if it resolves the issues:

http://koji.fedoraproject.org/koji/taskinfo?taskID=7082741

Comment 16 Josh Boyer 2014-06-27 13:18:29 UTC
Sorry, please use this build instead:

http://koji.fedoraproject.org/koji/taskinfo?taskID=7082849

Comment 17 David Jaša 2014-07-10 07:53:04 UTC
RHEL 7 bug: bug 1100835

Comment 18 Vít Ondruch 2014-07-28 08:45:47 UTC
(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.

Comment 19 Josh Boyer 2014-07-28 12:33:56 UTC
(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
v3.16-rc4~8^2~2

git describe --contains 1c37c22332a2d2c1b4ab32177a4f847c7fe06e38
v3.16-rc1~12^2~66

Are you running a rawhide kernel, or some other version?

Comment 20 Vít Ondruch 2014-07-28 12:40:07 UTC
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.

Comment 21 Jiri Pirko 2014-08-02 08:00:42 UTC
Created attachment 923449 [details]
[patch] ALSA: hda - Add dock pin setups for Thinkpad T440

F20 backport of following upstream commit:

commit 1c37c22332a2d2c1b4ab32177a4f847c7fe06e38
Author: Takashi Iwai <tiwai>
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
    fixup.
    
    Reported-and-tested-by: Joschi Brauchle <joschi.brauchle>
    Signed-off-by: Takashi Iwai <tiwai>

Test build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=7225538

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!

Comment 22 Josh Boyer 2014-08-02 12:08:01 UTC
Thanks, that's enough.  We're travelling today though, so it won't get committed until Monday most likely.

Comment 23 Josh Boyer 2014-08-02 14:03:18 UTC
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.

Comment 24 Fedora Update System 2014-08-11 13:18:56 UTC
kernel-3.15.9-200.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kernel-3.15.9-200.fc20

Comment 25 Fedora Update System 2014-08-15 02:40:23 UTC
Package kernel-3.15.9-200.fc20:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-2014-9351/kernel-3.15.9-200.fc20
then log in and leave karma (feedback).

Comment 26 Fedora Update System 2014-08-16 00:34:41 UTC
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.

Comment 27 Martin Bříza 2014-11-05 16:46:31 UTC
Still not working with X240, maybe other compatible laptops, see Bug 1150594.

Comment 28 Slawomir Grodzki 2016-06-24 09:53:03 UTC
I have similar issue regarding Thinkpad T460 and Ultra Dock

Comment 29 Slawomir Grodzki 2016-06-24 10:47:59 UTC
I forgot to add I'm on kernel 4.6.2-1

Comment 30 Jaroslav Kysela 2016-06-24 13:16:58 UTC
Slawomir: https://bugzilla.kernel.org/show_bug.cgi?id=120961

Comment 31 Slawomir Grodzki 2016-06-24 13:29:40 UTC
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

Comment 32 brian.elists 2017-12-27 20:15:09 UTC
^above doesn't work for the T470p. Not sure if I should open another issue or not.



I've tried the following:

echo "options snd-hda-intel model=auto" > /etc/modprobe.d/snd-hda-intel.conf
echo "options snd-hda-intel model=tpt460" > /etc/modprobe.d/alsadock.conf
echo "options snd-hda-intel model=lenovo-dock" > /etc/modprobe.d/alsadock.conf
echo "options snd-hda-intel patch=t470p.fw,t470p.fw,t470p.fw" > /etc/modprobe.d/hda-intel.conf


between each of these, I restarted PulseAudio:

killall pulseaudio
sudo alsa force-reload
pulseaudio -D


In an attempt to follow https://bbs.archlinux.org/viewtopic.php?id=206304, I tried this:

in t470p.fw:

[codec]
0x10ec0298 0x17aa505d 0
[pincfg]
0x16 0x21211010
0x19 0x21a11010



My alsa-hda-intel.tmp:

Codec: Realtek ALC298
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0298
Subsystem Id: 0x17aa505d
Revision Id: 0x100103
No Modem Function Group found
Default PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=8, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC298 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=0
  Amp-Out vals:  [0x6f 0x6f]
  Converter: stream=0, channel=0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x43, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-In vals:  [0xc3 0xc3]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC298 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x43, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-In vals:  [0x7c 0x7c]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100511: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x40]: 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x25
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x09 0x09]
  Connection: 4
     0x18 0x19 0x1a 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00]
  Connection: 1
     0x03
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x43, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-In vals:  [0xc3 0xc3]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x90a60140: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x4, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40000000: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x14 [Pin Complex] wcaps 0x40050d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010010: OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x0c* 0x0d 0x06
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x03a11030: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Dock Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00003724: IN Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001373c: IN OUT HP EAPD Detect
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x40648605: [N/A] Modem Line at Ext N/A
    Conn = RCA, Color = Purple
    DefAssociation = 0x0, Sequence = 0x5
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=150
Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x03211020: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 6
     0x18 0x19 0x1a 0x1d 0x0b 0x12*
Node 0x23 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 6
     0x18 0x19 0x1a* 0x1d 0x0b 0x13
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x12* 0x13
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 1
     0x1f
Codec: Intel Kabylake HDMI
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x8086280b
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1a]: 16 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
  In-driver Connection: 3
     0x02 0x03 0x04
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
  In-driver Connection: 3
     0x02 0x03 0x04
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Devices: 3
     Dev 00: PD = 1, ELDV = 1, IA = 0
     Dev 01: PD = 1, ELDV = 1, IA = 0
    *Dev 02: PD = 0, ELDV = 0, IA = 0
  Connection: 3
     0x02* 0x03 0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono

I hope this is in the right thread, I didn't find any for the T470p. Let me know if I should recreate it, I don't into linux much and wanted to report what I found, and what didn't work for me.


Kernel version:

snuupy@SnuT470p ~ $ uname -r
4.13.0-21-generic

Comment 33 brian.elists 2017-12-27 20:17:48 UTC
same issue here with this year's generation of thinkpads (XX70s): https://www.reddit.com/r/thinkpad/comments/6gmngq/linux_x270_ultradock_sound/

Comment 35 Vít Ondruch 2018-02-13 08:07:36 UTC
For t470 please see bug 1543326


Note You need to log in before you can comment on or make changes to this bug.