-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
just: Add option to disable Bluetooth headset profile
- Loading branch information
1 parent
233e9bb
commit f2ae29b
Showing
3 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
.../0-system/usr/share/bluebuild/gidro-os/51-disable-bluetooth-headphone-profile-switch.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## In WirePlumber there's a bug where some applications trigger switching to Headset Profile | ||
## -- | ||
## See issue #634, #645, #630, #629, #613 | ||
## -- | ||
## This config mitigates the issue by completely disabling the switching and support for Headset Profile (HFP) | ||
## Using this would only make sense if you never plan on using the microphone that comes with your headset. | ||
|
||
wireplumber.settings = { | ||
## Whether to use headset profile in the presence of an input stream. | ||
## -- | ||
## Disable for now, as it causes issues. See note at the top as to why. | ||
bluetooth.autoswitch-to-headset-profile = false | ||
} | ||
|
||
monitor.bluez.properties = { | ||
## Enabled roles (default: [ a2dp_sink a2dp_source bap_sink bap_source hfp_hf hfp_ag ]) | ||
## | ||
## Currently some headsets (Sony WH-1000XM3) are not working with | ||
## both hsp_ag and hfp_ag enabled, so by default we enable only HFP. | ||
## | ||
## Supported roles: hsp_hs (HSP Headset), | ||
## hsp_ag (HSP Audio Gateway), | ||
## hfp_hf (HFP Hands-Free), | ||
## hfp_ag (HFP Audio Gateway) | ||
## a2dp_sink (A2DP Audio Sink) | ||
## a2dp_source (A2DP Audio Source) | ||
## bap_sink (LE Audio Basic Audio Profile Sink) | ||
## bap_source (LE Audio Basic Audio Profile Source) | ||
## -- | ||
## Only enable A2DP here and disable HFP. See note at the top as to why. | ||
bluez5.roles = [ a2dp_sink a2dp_source ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters