[Bug 967156] New: Analog audio not working on Thninkpad Onelink Pro Dock
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 Bug ID: 967156 Summary: Analog audio not working on Thninkpad Onelink Pro Dock Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: gerharddeclercq@outlook.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I cannot get any audio through the 3.5mm audio jack on my ThinkPad OneLink Pro dock connected to my ThinkPad Yoga S1. The port work fine with Windows. I have had this problem with all other Linux distros including OpenSUSE Leap 42.1, and Fedora 23. If I am lucky I can get a bit of a buzzing sound when I set the audio very loud but I usually don't even get that. This happends in both KDE and GNOME so I'm pretty sure it's a kernel bug. I think it might be related to https://lists.debian.org/debian-kernel/2015/11/msg00086.html. I once managed to get the audio working by booting without the dock, plugging it in and then configuring it with Yast because without the Yast configuration it would not work. Using Yast after booting with the dock does not help though. I can quite consistently get a buzz when testing the audio with Yast. Going through all that isn't practical though and the fact that plugging and unplugging the dock makes KDE go crazy doesn't help either... I guess this must be some situation where the kernel isn't detecting the right driver to load for the dock in the early boot process even though it can detect the right one if asked to do so on a fully running system. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gerharddeclercq@outlook.com | |, tiwai@suse.com Flags| |needinfo?(gerharddeclercq@o | |utlook.com) --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- Is only the dock port that doesn't work, i.e. the built-in jack and built-in speaker/mic work as is? In anyway, please give alsa-info.sh output and dmesg output after boot. Run the alsa-info.sh script with --no-upload option, and attach to Bugzilla. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kernel-maintainers@forge.pr |tiwai@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c2 --- Comment #2 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666021 --> http://bugzilla.opensuse.org/attachment.cgi?id=666021&action=edit Alsa-info dump -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c3 Gerhard de Clercq <gerharddeclercq@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(gerharddeclercq@o | |utlook.com) | --- Comment #3 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666022 --> http://bugzilla.opensuse.org/attachment.cgi?id=666022&action=edit Dmesg dump -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c4 --- Comment #4 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Yes, the built-in jack, mic and speaker all work just fine. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c5 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(gerharddeclercq@o | |utlook.com) --- Comment #5 from Takashi Iwai <tiwai@suse.com> --- The BIOS doesn't provide the proper pin configs for your docks. Try to pass model=,tp410 option to snd-hda-intel, e.g. create /etc/modprobe.d/50-alsa.conf file containing the following line: options snd-hda-intel model=,tp410 Note that the comma before "tp410" is no typo. It means to specify the second entry. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c6 Gerhard de Clercq <gerharddeclercq@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(gerharddeclercq@o | |utlook.com) | --- Comment #6 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Ok I tried but seemed to have no difference at all. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c7 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(gerharddeclercq@o | |utlook.com) --- Comment #7 from Takashi Iwai <tiwai@suse.com> --- Give alsa-info.sh output again after your change. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c8 Gerhard de Clercq <gerharddeclercq@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(gerharddeclercq@o | |utlook.com) | --- Comment #8 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666045 --> http://bugzilla.opensuse.org/attachment.cgi?id=666045&action=edit Second alsa dump -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c9 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(gerharddeclercq@o | |utlook.com) --- Comment #9 from Takashi Iwai <tiwai@suse.com> --- Then the pin mapping on your machine is likely incompatible with other TP models. You need to figure out by yourself by trial-and-error, e.g. via hdajackretask. Give it a try. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c10 --- Comment #10 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- I'll give the pin mapping a try but I am not sure you/we are trying to resolve this in the correct way. I'm no expert but it seems like you are directing me to try and solve the problem by messing with the configuration of the on-board Intel HD audio controller? I'm not sure if the older TP docks replicated the on-board audio jack in some way but as far as I have it, this new OneLink version has a separate USB audio controller on the dock itself that then powers the jack in the dock independently. I can sort of confirm this because to get any sound to play, I have to configure and test the "USB Advanced Audio Device" in Yast and not the "Haswell-ULT HD Audio Controller". I have again managed to get the test sound in Yast to play by only docking after boot. I'm not sure what Yast does but all I can do with it is play the test sound because the rest of the system does not have any form of audio after configuring with Yast. I will upload my alsa-config, dmesg and lsub for this state. I remember being able to get system wide audio with an after-boot dock a while ago by using some other pulseaudio related tools to use the USB audio but they also only crackled when I booted with the dock in. Could I be correct with my understanding or is the HDA still involved? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c11 --- Comment #11 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666056 --> http://bugzilla.opensuse.org/attachment.cgi?id=666056&action=edit Third alsa-config dump -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c12 --- Comment #12 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666057 --> http://bugzilla.opensuse.org/attachment.cgi?id=666057&action=edit Second dmesg dump -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c13 --- Comment #13 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666060 --> http://bugzilla.opensuse.org/attachment.cgi?id=666060&action=edit Lsusb dump -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c14 --- Comment #14 from Takashi Iwai <tiwai@suse.com> --- Hrm, is the C-Media device appearing alsa-info.sh output the audio device on dock, then? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c15 Gerhard de Clercq <gerharddeclercq@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(gerharddeclercq@o | |utlook.com) | --- Comment #15 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- I would assume that it has to be the C-Media device because it seems to be the only USB audio device and it is not present when I undock. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c16 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(gerharddeclercq@o | |utlook.com) --- Comment #16 from Takashi Iwai <tiwai@suse.com> --- (In reply to Gerhard de Clercq from comment #15)
I would assume that it has to be the C-Media device because it seems to be the only USB audio device and it is not present when I undock.
And playing *and* recording over this C-Media device don't work at all? If so, it's unlikely a kernel "bug". It means that this usb device is not compliant with the standard usb audio class :) In anyway, please give lsusb -v output. This may show some more details of the usb audio widgets. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c17 --- Comment #17 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666213 --> http://bugzilla.opensuse.org/attachment.cgi?id=666213&action=edit Lsusb -v dump Yes, neither recording nor playback seem to work if the device was plugged in during boot. It does work on Windows without having to install custom drivers if I remember correctly so maybe it's an edge case on the standard? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c18 --- Comment #18 from Takashi Iwai <tiwai@suse.com> --- It's possible that the device needs some special setup. This can be done by snooping the usb packet on Windows. Before that, please enable the debug print by writing like echo "module snd_usb_audio +p" > /sys/kernel/debug/dynamic_debug/control as root, and replug the dock so that the usb-audio devices gets reloaded. This should give more kernel messages at probe. Upload these messages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c19 Gerhard de Clercq <gerharddeclercq@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(gerharddeclercq@o | |utlook.com) | --- Comment #19 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666225 --> http://bugzilla.opensuse.org/attachment.cgi?id=666225&action=edit Dmesg with redock Ok so here I booted with the dock, removed the dock and then plugged it in. After I plugged it in again I could get a test sound with Yast. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c20 --- Comment #20 from Takashi Iwai <tiwai@suse.com> --- Now try to test explicitly via ALSA native API. At first, adjust the mixer level via "amixer -c0", raise to max and unmute. Then play like aplay -Dhw:0 -vv somefiles.wav If this appears playing, then the audio transfer works, at least. The rest is either the missing feature unit setup or mysterious vendor-specific setup. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c21 --- Comment #21 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Ok so the alsa test works but only if I plug the dock in after my laptop has finished booting. If it was plugged in during boot and not replugged then I just hear nothing. When replugged though, it works perfectly. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c22 --- Comment #22 from Takashi Iwai <tiwai@suse.com> --- Aha, that's interesting. Take alsa-info.sh output at the state where aplay worked after replug. Then try to play via PulseAudio. You should be able to choose the output in the profile. If it doesn't work, try to adjust the mixer manually via "amixer -c0" (or such) to the same level as you succeeded with ALSA native aplay. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c23 --- Comment #23 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- Created attachment 666246 --> http://bugzilla.opensuse.org/attachment.cgi?id=666246&action=edit Alsa after redock As I have previously stated, I have always been able to get PulseAudio working with a little bit of effort after a redock. The problem is that nothing works without a redock. Here is the also-info after a redock though. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c25 Gerhard de Clercq <gerharddeclercq@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(gerharddeclercq@o | |utlook.com) | --- Comment #25 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- I still get nothing after boot at runlevel 3. After a redock though it start working perfectly again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c27 Gerhard de Clercq <gerharddeclercq@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(gerharddeclercq@o | |utlook.com) | --- Comment #27 from Gerhard de Clercq <gerharddeclercq@outlook.com> --- No, reloading the module does not help and I still need to redock to get any sound on the device. I'm guessing this might indicate an issue on USB level as opposed to audio level? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=967156 http://bugzilla.opensuse.org/show_bug.cgi?id=967156#c28 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oneukum@suse.com Flags| |needinfo?(oneukum@suse.com) --- Comment #28 from Takashi Iwai <tiwai@suse.com> --- Thanks. So, yes, it looks something rather in USB side. Oliver, any clue? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com