bluez5: add support for hardware quirk/feature database

Implement hardware quirk/feature database with pattern matching.
This commit is contained in:
Pauli Virtanen 2021-01-24 15:15:27 +02:00
parent 88077a29db
commit b57ae8c2a6
9 changed files with 396 additions and 15 deletions

View file

@ -7,10 +7,11 @@
properties = {
# These features do not work on all headsets, so they are enabled
# by default based on the hardware database. They can also be
# forced on/off by the following options:
# forced on/off for all devices by the following options:
#bluez5.force-sbc-xq = true
#bluez5.force-msbc = true
#bluez5.enable-sbc-xq = true
#bluez5.enable-msbc = true
#bluez5.enable-hw-volume = true
# See bluez-hardware.conf for the hardware database.
@ -62,10 +63,7 @@ rules = [
#]
bluez5.auto-connect = [ hfp_hf hsp_hs a2dp_sink ]
# Overload mSBC support for native backend and a specific device.
#bluez5.msbc-support = false
# Hardware volume control (default: [ hfp_ag hsp_ag a2dp_source ])
# Hardware volume control (default: all)
#bluez5.hw-volume = [
# hfp_hf
# hsp_hs