You are not logged in.

#1 2025-04-05 16:13:27

millus
Member
Registered: 2019-07-21
Posts: 244

Block bluetooth device from getting recognized as input device

I'm using BT headphones that come with an integrated microphone, but I only want to use them as headphones.

Problem is, many applications (chrome, discord, audacity...) will detect their input capabiity and register it as "mic" which in turn automatically causes pavucontrol mixer to switch the headphones from a2dp to the really bad headset mode. To undo this, I have to manually in pavucontrol set the recording device for the affected apps back to the real mic, and then disconnect+reconnect the headset.

So I really want these headphones to not even register as offering "input" capabilities when I connect them via BT, so no app/mixer gets the idea to switch their audio profile on its own volition.

Last edited by millus (2025-04-05 16:41:06)

Offline

#2 2025-04-07 23:13:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,142

Re: Block bluetooth device from getting recognized as input device

If you're using wireplumber it's fairly trivial to define a rule that only allows micless profiles. https://pipewire.pages.freedesktop.org/ … properties ... enable only the two -sink profiles so a2dp-sink and bap-sink

if you're using pulseaudio still, find the line that reads load-module module-bluetooth-policy line in your /etc/pulse/default.pa and add auto_switch=0 to it.

Last edited by V1del (2025-04-07 23:15:06)

Offline

#3 2025-04-19 21:29:43

millus
Member
Registered: 2019-07-21
Posts: 244

Re: Block bluetooth device from getting recognized as input device

Thanks, how do I know what I "use"? I see these processes running:

pipewire
wireplumber
pipewire-pulse
libpulseaudio-plugin.so

Last edited by millus (2025-04-19 21:31:28)

Offline

#4 2025-04-21 16:54:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,142

Re: Block bluetooth device from getting recognized as input device

wireplumber in that case.

Offline

Board footer

Powered by FluxBB