built-in sound card lost when removing laptop dock

Getting your soundcard to work, using Debian on non-i386 hardware, etc

built-in sound card lost when removing laptop dock

Postby ramislebob » 2018-12-01 13:32

Hi
I'm using a dock on my dell laptop: https://www.dell.com/support/article/us ... ns?lang=en
I've some issue with the sound card.
When I plug, I want to switch to the sound card of the dock where my headset is connected.
Often, when I connect the dock, I get the second screen straight away but the sound card is not kicking in, I've to disconnect, reconnect and then it works. This is alright.
The problem is that often when I disconnect and use the laptop without the dock, I loose the built-in soundcard in pulse audio. Instead I just have a "dummy output"
How can I force the sound to reset without rebooting? For now it is the only option I found (to reboot) in order to get back the built in sound card. It is quite constraining.
Is there a way to reset the sound service?
Cheers
ramislebob
 
Posts: 33
Joined: 2007-05-27 20:43

Re: built-in sound card lost when removing laptop dock

Postby Head_on_a_Stick » 2018-12-01 13:44

ramislebob wrote:How can I force the sound to reset without rebooting?

If you are using PulseAudio (and systemd) try
Code: Select all
# systemctl restart pulseaudio

EDIT: write a udev rule to automate the restart: https://wiki.debian.org/udev
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8322
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: built-in sound card lost when removing laptop dock

Postby ramislebob » 2018-12-01 14:39

ok cheers, I'll give it a try next week when I'll have the problem and let you know if the restart of pulseaudio was enough
ramislebob
 
Posts: 33
Joined: 2007-05-27 20:43


Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable