Score:0

Is there a way to blacklist some audio devices?

jp flag

Ubuntu 20.04.2, Thinkpad

After connection to dock, there appears new devices, such as:

  • Digital output (S/PDIF) - ThinkPad Dock USB Audio
  • Analog output - ThinkPad Dock USB Audio
  • Digital Input (S/PDIF) - ThinkPad Dock USB Audio

S/PDIF audio Analog audio

The main problem - default input and output device switches to this devices and does not switches to headphones, when they connected.

It there a way to make system ignore them? (not to show and not to use)

AlexOnLinux avatar
ng flag
if they use an own specific driver that no other device uses you could blacklist that specific driver / module. use `lspci -knn` and check which driver is in use and blacklist that one in `/etc/modprobe.d/`. Beforehand you can try `modprobe` to revoke the module manually `modprobe -r themodule` and if you dont like the result bring it back with `modprobe themodule`
Score:0
jp flag

I found out, that if in pavucontrol I mark some devices as off, on connection to dock, current audio device not switches to it:

enter image description here

So, it fully solved my problem

JulienFr avatar
za flag
does not persist on reboot ...
ax flag
@julienfr112 It seems to survive reboot in my case (Ubuntu 22.04).
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.