WD15 Dell Thunderbolt dock no audio

Bug #1772383 reported by benste on 2018-05-21
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
High
Hui Wang

Bug Description

Followup from bug 1718824 and bug 1745765 respectively as reported in the other bugs neither front (headphones) nor back (line-out) jack is working after the updates.
A Workaround manually adding the profile for pulseaudio might have been persistet from changes before the upgrade / updates.

pactl is listed in the other bug, alsa-info should be automatically attached.

Output of pactl info:
"benste@benste-xps13-ubuntu:~$ pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 21
Tile Size: 65472
User Name: benste
Host Name: benste-xps13-ubuntu
Server Name: pulseaudio
Server Version: 11.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Generic_USB_Audio_200901010001-00.analog-stereo-headphone
Default Source: alsa_input.usb-Generic_USB_Audio_200901010001-00.analog-stereo-mic
Cookie: bb32:a8fe"

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: pulseaudio 1:11.1-1ubuntu7
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: benste 2287 F.... pulseaudio
 /dev/snd/pcmC1D0c: benste 2287 F...m pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Mon May 21 11:06:17 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-10-13 (584 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: pulseaudio
UpgradeStatus: Upgraded to bionic on 2018-04-28 (22 days ago)
dmi.bios.date: 10/03/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.3.1
dmi.board.name: 0T3FTF
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.3.1:bd10/03/2017:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0T3FTF:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9360
dmi.sys.vendor: Dell Inc.

benste (benste) wrote :
Daniel van Vugt (vanvugt) wrote :

There haven't been any updates to pulseaudio in bionic. So do you mean it regressed a while ago in an artful update?

Do you know the last version in which it was working?

description: updated
summary: - WD15 Dell Thunderbolt dock no audio after updates/upgrade
+ WD15 Dell Thunderbolt dock no audio
Hui Wang (hui.wang) on 2018-05-21
Changed in pulseaudio (Ubuntu):
importance: Undecided → High
assignee: nobody → Hui Wang (hui.wang)
Hui Wang (hui.wang) wrote :

And Please do a test:

backup the file /lib/udev/rules.d/90-pulseaudio.rules, then edit 90-pulseaudio.rules, find the line "ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="4014", ENV{PULSE_PROFILE_SET}="dell-dock-tb16-usb-audio.conf"", and comment it by adding a # ahead the line, reboot and redo the test.

benste (benste) wrote :

@Hui Wang
No change - copying the file in the same dir adding .bak is sufficient right- or will this be read as a 2nd conf?

+ iirc this is the line i had to add with the workaround - is there a way to ensure that both the 90-pulseaudio.rules as well as the "dell-dock-tb16-usb-audio.conf" match the vanilla ones from upstream?

@Daniel - Could have been the upgrade to bionic ... Something within the last month if not weeks

Hui Wang (hui.wang) wrote :

[No change - copying the file in the same dir adding .bak is sufficient right- or will this be read as a 2nd conf?]

adding .bak is ok, after reboot, you can run pactl list cards to verify if the change takes effect or not.
Before change:
       Profiles:
  output:analog-stereo-speaker: Speaker (sinks: 1, sources: 0, priority: 60, available: yes)
  output:analog-stereo-headphone+input:analog-stereo-mic: Headset (sinks: 1, sources: 1, priority: 80, available: yes)
  off: Off (sinks: 0, sources: 0, priority: 0, available: yes)

After change, the 1st two profiles disappear.

If the change takes effect, but it still can't work, I think it is not a pulseaudio issue, probably the firmware issue of dock or kernel driver issue.

And you can verify by these commands:

aplay -D plughw:CARD=xxx,DEV=0 test.wav (replace xxx with the name of usb audio card, aplay -L to check the name of usb audio card)
aplay -D plughw:CARD=xxx,DEV=1 test.wav

And BTW, what does "the vanilla ones from upstream" mean?

benste (benste) wrote :

Hi there, i've actually even deleted the one line but still the profile shows in pactl list as shown attached.

Also i've tried various variations of aplay -D plughw:CARD=USB Audio test.wav
and
aplay -D plughw:CARD=alsa_card.usb-Generic_USB_Audio_200901010001-00,DEV=0 test.wav

but didn't do anything only
ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
aplay: main:788: audio open error: No such device

==
With vanilla i meant the version which should be installed on the system without me messing around with it e.g. compared to a fresh install

Hui Wang (hui.wang) wrote :

Probably you forgot to delete 91-pulseaudio.rules? Or rename all dell-dock-*.conf in the folder of /usr/share/pulseaudio/alsa-mixer/profile-sets/.

And for aplay problem, try with "aplay -D plughw:CARD=Audio,DEV=0 test.wav" and "aplay -D plughw:CARD=Audio,DEV=1 test.wav"
If it fails, please upload the log of "aplay -L"

==

And got what the vanilla means. thx.

benste (benste) wrote :

I've renamed both profiles and pavucontrol doesn't show the dock anymore.
aplay runs just fine, however not any of the both devices (front or back jack) play the sound

benste (benste) wrote :

A big sorry from my side ... i totally forgot that i did also boot into Windows during the last months at least once ... looks like windows update or something similar broke the device, installing updates in that other system and rebooting to ubuntu did the trick.
I had to reenable the profiles again in order to get it fully working but now it runs smooth as before :) - only tested the front port though :)

Changed in pulseaudio (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers