You are not logged in.

#1 2015-06-04 00:32:56

Lupos
Member
Registered: 2015-06-04
Posts: 1

Automatic Pulseaudio switch on dock stopped working with kernel update

Hey guys,

this problem exists for a while but I finally got the nerves to deal with it. I'm running Archlinux on a Thinkpad L440 together with an Ultradock. I managed to track down the problem to two packages (although I don't think that it's really a kernel problem, seems more like a side effect):

The last known to work:
linux-3.18.6 and acpi_call-1.1.0-23

The first packages to cause the problem:
linux-3.19.2-1 and acpi_call-1.1.0-26

Downgrading fixes the problem, which is a temporary solution but I would like to have it fixed permanently.

So here is what's wrong: If I plug my speaker into the UltraDock there is no audio output but the laptop speakers get muted. Plugging the external speaker into the laptops jack results in the expected behavior. So it only affects the dock jack.

Here is the output of "pacmd list-sinks" (I think that might be useful for someone): http://pastebin.com/zt35encm
And this is a post from a german forum with (I guess) a similar problem (just for reference, maybe usefull): https://debianforum.de/forum/viewtopic. … &p=1044685

I think I found the problem but I don't know how to fix it: As you can see in the output of "pacmd list-sinks" the 3rd sink has two ports. The "analog-output-speaker" is wired to the jack of the dock as well as the internal speakers. The "analog-output-headphones" port is wired to the jack on the laptop itself. By setting the port manually the dock jack is working as expected. But plugging my speakers into the dock causes the "analog-output-headphones" to become active meaning the output is redirected to the not connected jack port on the laptop. I don't know what is controlling this behavior and how to change it. I also don't really understand if a "port" is a hard wired connection or just made up by the driver. So maybe the kernel updates flips this port naming or something.

Maybe someone can explain what's happening and how to fix it.

Edit: I went back to the last working kernel and it turned out that the jack on the dock is mapped to the "analog-output-headphones" port, meaning that with the new kernel the dock jack got connected with the other port so the sound is always routed to the wrong port. Seems like the kernel update changed that. But I still don't know how to fix it.

Also here are my alsainfo logs:
With working kernel: http://pastebin.com/qUZ8gp0D
With broken kernel: http://pastebin.com/JaJb0KLd

Edit2: I've managed to fix this by downgrading pulseaudio to 5.x. This allows me to upgrade the kernel but leaves me with an older pulseaudio so a solution is still very much appreciated.

Thanks in advance.

Last edited by Lupos (2015-06-04 21:19:07)

Offline

Board footer

Powered by FluxBB