Bug 1543326
Summary: | No Jack sound on Lenovo dock with a T470 connected | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | ||||||||||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||||||||
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | rawhide | CC: | airlied, alex, bskeggs, ewk, hdegoede, ichavero, itamar, jarodwilson, jglisse, jkysela, jneedle, john.j5live, jonathan, jorton, josef, kernel-maint, linville, lzachar, mchehab, mjg59, pbabinca, pep, sbroz, steved, vondruch | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | Type: | Bug | |||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
Vít Ondruch
2018-02-08 09:22:46 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. (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 kernel-4.15.2-300.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7336c2ba99 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? In fact plugging in an audio cable into the dock causes roughly half of the boots to hang. Vit, does the 4.15.2 update fix the problem for you? It does not work :( Connecting headphones into dock crashes PA. See bug 1544507 Ugh, I guess I should drop the patch. I was planning on releasing 4.15.3 anyway so I'll drop it with that. 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 Would be probably good to drop this ticket from the Bodhi update. 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 :) 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.) 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
~~~
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.
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.
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 . Thanks for the note, I'll wait for the patch to be present in stable then. Sorry to have bothered you. Created attachment 1397937 [details]
/tmp/alsa-info.txt.nXpP9vsTJl
(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). And it stopped working, probably after putting the LP into sleep. Not sure :/ Show output from 'alsa-info.sh --no-upload' for both working / non-working conditions. Created attachment 1398571 [details]
alsa-info.sh - non-working
Created attachment 1398572 [details]
journalctl output
I think that the attachment in comment 18 contains the working log *** Bug 1548063 has been marked as a duplicate of this bug. *** There was published another patch, which might fix the suspend/resume issues: https://bugzilla.kernel.org/show_bug.cgi?id=195161#c29 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 Cannot reproduce any more, current kernel 4.18.7-200.fc28.x86_64 |