I have a laptop attached to a dell dock wd15 (http://accessories.dell.com/sna/productdetail.aspx?c=us&l=en&s=bsd&cs=04&sku=450-AFGM) via a DisplayPort USB-C cable. The very same headphones are properly detected when plugged them in the laptop but they are not detected when I use the jack in the dell dock. I'll be happy to provide more info as needed, not sure what I should attach to the bug.
Thanks for reporting the problem! Please attach the output from "pactl list cards".
Created attachment 131254 [details] pactl list cards Here you are (looks like none of LANG,LC_ALL,LANGUAGE... modifies the language of the output of pactl, anyway most of it is already in English).
Does the second card ("alsa_card.usb-Generic_USB_Audio_200901010001-00") disappear when you unplug the dock?
(In reply to Tanu Kaskinen from comment #3) > Does the second card ("alsa_card.usb-Generic_USB_Audio_200901010001-00") > disappear when you unplug the dock? Yes it does. BTW any irc channel I could join. Perhaps it would be faster to talk there to get more info.
#pulseaudio at freenode.net So the dock is a usb sound card, and pulseaudio doesn't recognize any ports on it. What does "amixer -c1" print?
Created attachment 131256 [details] Output of amixer -c As you can see only -c0 gives some results. -c1 spits a hardware error and any other -cN results in an invalid card number.
So the mixer for the dock doesn't work. In this situation it's impossible for pulseaudio to control where the analog output goes. It's an alsa bug.
I realized now that I've made some assumptions that may be incorrect. The dock seems to have two analog audio outputs: speaker (rear) and combo (front). My assumption was that you're only getting audio from the rear output, but you never actually said this. Can you clarify the situation? Do you get audio from the rear output, but not from the front output?
I didn't even know that the dock had a speaker. At least it does not have any kind of audio output in the rear, and it only has the jack in the front.
I don't think the dock has a speaker itself. From the link you gave I got the impression that it has two 3.5mm analog outputs, one of which would be for speakers. Now the Dell web page is empty (at least for my browser), so I can't check what the page said exactly. This Amazon page says it has just one output like you describe, so maybe I misunderstood the Dell page: https://www.amazon.com/Dell-USB-C-single-Monitor-Adapter/dp/B01FN1YK92?SubscriptionId=AKIAILSHYYTFIVPWUY6Q&tag=duckduckgo-ffsb-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B01FN1YK92 If there's only one output, routing is not a problem.
BTW, the output works fine. If I select it in the gnome preferences panel (it's called "USB audio stereo") the I can hear perfectly via my headphones. The problem, again, is that they're not autodetected as when I plug them in the laptop's audio jack.
Oh, ok. That's kind of expected, I don't know any usb sound cards that would support jack detection on Linux.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.