Bug 1543326 - No Jack sound on Lenovo dock with a T470 connected
Summary: No Jack sound on Lenovo dock with a T470 connected
Keywords:
Status: NEW
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:
: 1548063 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-08 09:22 UTC by Vít Ondruch
Modified: 2020-01-17 22:32 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
alsa-info.sh --no-upload (42.33 KB, text/plain)
2018-02-19 12:51 UTC, Vít Ondruch
no flags Details
alsa-info.sh --no-upload #alsa-info.txt.JBtUYijJXY (42.54 KB, text/plain)
2018-02-19 14:07 UTC, Patrick Laxton
no flags Details
/tmp/alsa-info.txt.nXpP9vsTJl (42.10 KB, text/plain)
2018-02-19 16:14 UTC, Vít Ondruch
no flags Details
alsa-info.sh - non-working (42.10 KB, text/plain)
2018-02-21 09:27 UTC, Vít Ondruch
no flags Details
journalctl output (10.38 KB, text/plain)
2018-02-21 09:28 UTC, Vít Ondruch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Linux Kernel 195161 0 None None None 2019-06-21 14:44:28 UTC
Red Hat Bugzilla 1544507 0 unspecified CLOSED [abrt] pulseaudio: pa_sink_assert_ref(): pulseaudio killed by SIGABRT 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1548055 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 1549169 0 urgent CLOSED Lenovo ThinkPad T470s hang on boot while in docking station 2021-02-22 00:41:40 UTC

Internal Links: 1544507 1548055 1549169

Description Vít Ondruch 2018-02-08 09:22:46 UTC
Description of problem:
I'm unable to get sound via the jack headphone connection on my lenovo dock when a t470 is connected.

There is upstream BZ [1] describing this in more detail.

The important thing is, that there is fix [2] to this issue finally. Would it be possible to apply this patch to Fedora kernel? Thx.




Version-Release number of selected component (if applicable):
$ uname -a
Linux localhost.localdomain 4.14.13-300.fc27.x86_64 #1 SMP Thu Jan 11 04:00:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux




[1] https://bugzilla.kernel.org/show_bug.cgi?id=195161
[2] https://cgit.freedesktop.org/drm-tip/commit/?id=61fcf8ece9b6b09450250c4ca40cc3b81a96a68d

Comment 1 Laura Abbott 2018-02-08 19:05:22 UTC
I went ahead and applied this to the F27 kernel with the 4.15 rebase. It will get picked up with that. F26 will get the fix when it goes to rebase as well. I'll let rawhide pick this up with the normal merging.

Comment 2 Vít Ondruch 2018-02-09 09:29:33 UTC
(In reply to Laura Abbott from comment #1)
> I went ahead and applied this to the F27 kernel with the 4.15 rebase. It
> will get picked up with that. F26 will get the fix when it goes to rebase as
> well. I'll let rawhide pick this up with the normal merging.

jupííí \ó/

Thx Laura

Comment 3 Fedora Update System 2018-02-09 16:20:41 UTC
kernel-4.15.2-300.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7336c2ba99

Comment 4 George Sapkin 2018-02-12 08:13:31 UTC
Still not working for me with T470 and Ultra dock on 4.15.2-300.fc27.x86_64. Does something else need to be updated?

Comment 5 George Sapkin 2018-02-12 08:37:23 UTC
In fact plugging in an audio cable into the dock causes roughly half of the boots to hang.

Comment 6 Laura Abbott 2018-02-12 15:37:30 UTC
Vit, does the 4.15.2 update fix the problem for you?

Comment 7 Vít Ondruch 2018-02-12 17:13:18 UTC
It does not work :( Connecting headphones into dock crashes PA. See bug 1544507

Comment 8 Laura Abbott 2018-02-12 18:53:03 UTC
Ugh, I guess I should drop the patch. I was planning on releasing 4.15.3 anyway so I'll drop it with that.

Comment 9 Fedora Update System 2018-02-13 07:58:41 UTC
kernel-4.15.2-300.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7336c2ba99

Comment 10 Vít Ondruch 2018-02-13 08:09:08 UTC
Would be probably good to drop this ticket from the Bodhi update.

Comment 11 Patrick Laxton 2018-02-19 09:36:26 UTC
Hi,

Just ran `sudo dnf update`, installed 4.15.3, rebooted, but I still can't hear anything when I plug my headset on my dock :
```
@localhost:~$ uname -a
Linux localhost.localdomain 4.15.3-300.fc27.x86_64 #1 SMP Tue Feb 13 17:02:01 UTC 2018 x86_64 x86_64 x86_64 GNU/
```
This is a `t470p` , not a `t470` .

Please ask me if I can provide anything to help you debug.

And thanks for working on that :)

Comment 12 Jaroslav Kysela 2018-02-19 12:27:28 UTC
Could you provide 'alsa-info.sh --no-upload' for a kernel with this patch? Also test the functionality with the ALSA tools only:

  $ speaker-test -D plughw:0
  $ alsamixer -c 0

(I assume that the first card is the HDA controller.)

Comment 13 Vít Ondruch 2018-02-19 12:51:26 UTC
Created attachment 1397853 [details]
alsa-info.sh --no-upload

~~~
$ speaker-test -D plughw:0

speaker-test 1.1.5

Playback device is plughw:0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
~~~

Comment 14 Jaroslav Kysela 2018-02-19 13:08:05 UTC
This looks suspicious, probably something from previous tests - it should be removed:


  !!Modprobe options (Sound related)
  !!--------------------------------

  snd_hda_intel: model=tpt460
  snd_hda_intel: patch=t470s.fw,t470s.fw,t470s.fw


> Playback open error: -16,Device or resource busy

Try to wait until PA release the sound device (close all audio apps) or kill PA and prevent respawn.

Comment 15 Patrick Laxton 2018-02-19 14:07:22 UTC
Created attachment 1397868 [details]
alsa-info.sh --no-upload #alsa-info.txt.JBtUYijJXY

There you go :
```
$ alsa-info.sh --no-upload
Your ALSA information is in /tmp/alsa-info.txt.JBtUYijJXY
$ speaker-test -D plughw:0

speaker-test 1.1.5

Le périphérique de lecture est plughw:0
Les paramètres du flux sont 48000Hz, S16_LE, 1 canaux
Utilisation de 16 octaves de 'pink noise'
Erreur d'ouverture à la lecture: -16,Device or resource busy
```
Translation (yeah sorry i'm french):
```
Playback peripheral is plughw:0
Stream parameters are 48000Hz, S16_LE, 1 canal
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
```
Tried to play with `alsamixer -c 0` , but I couldn't get any sound whatsoever.
Please feel free to delete my attachment if it is redundant with the previous one.

Comment 16 Jaroslav Kysela 2018-02-19 14:27:24 UTC
Patrick, you don't use the kernel with the dock support patch. I think that the last Fedora kernel with the dock patch is 4.15.2 .

Comment 17 Patrick Laxton 2018-02-19 15:00:59 UTC
Thanks for the note, I'll wait for the patch to be present in stable then.
Sorry to have bothered you.

Comment 18 Vít Ondruch 2018-02-19 16:14:05 UTC
Created attachment 1397937 [details]
/tmp/alsa-info.txt.nXpP9vsTJl

Comment 19 Vít Ondruch 2018-02-19 16:16:29 UTC
(In reply to Jaroslav Kysela from comment #14)
I removed that and the dock output now works! Thank you Jaroslav (although PA is still crashing plugging my headphones from dock to laptop, but that might be unrelated).

Comment 20 Vít Ondruch 2018-02-20 17:24:08 UTC
And it stopped working, probably after putting the LP into sleep. Not sure :/

Comment 21 Jaroslav Kysela 2018-02-20 17:34:34 UTC
Show output from 'alsa-info.sh --no-upload' for both working / non-working conditions.

Comment 22 Vít Ondruch 2018-02-21 09:27:27 UTC
Created attachment 1398571 [details]
alsa-info.sh - non-working

Comment 23 Vít Ondruch 2018-02-21 09:28:37 UTC
Created attachment 1398572 [details]
journalctl output

Comment 24 Vít Ondruch 2018-02-21 09:30:35 UTC
I think that the attachment in comment 18 contains the working log

Comment 25 Jaroslav Kysela 2018-02-22 16:17:28 UTC
*** Bug 1548063 has been marked as a duplicate of this bug. ***

Comment 26 Vít Ondruch 2018-02-26 13:36:55 UTC
There was published another patch, which might fix the suspend/resume issues:

https://bugzilla.kernel.org/show_bug.cgi?id=195161#c29

Comment 27 Stepan Broz 2018-02-27 08:38:29 UTC
I am having issues with kernel 4.15.4, the T470s hangs on boot while in docking station, may that be related?

https://bugzilla.redhat.com/show_bug.cgi?id=1549169

Comment 28 Stepan Broz 2018-09-27 15:20:08 UTC
Cannot reproduce any more, current kernel 4.18.7-200.fc28.x86_64


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