mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-24 07:00:05 -05:00
media-session: add bluez hw database conf files
This commit is contained in:
parent
2c9764da1d
commit
88077a29db
3 changed files with 74 additions and 6 deletions
66
src/daemon/media-session.d/bluez-hardware.conf
Normal file
66
src/daemon/media-session.d/bluez-hardware.conf
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
# List of hardware/kernel features, which cannot be detected generically.
|
||||
#
|
||||
# The `feature` is enabled only if all three of adapter, device, and
|
||||
# kernel have it.
|
||||
#
|
||||
# For each of the adapter/device/kernel, the match rules are processed
|
||||
# one at a time, and the first one that matches is used.
|
||||
#
|
||||
# Features and tags:
|
||||
# msbc "standard" mSBC (60 byte tx packet)
|
||||
# msbc-alt1 USB adapters with mSBC in ALT1 setting (24 byte tx packet)
|
||||
# msbc-alt1-rtl Realtek USB adapters with mSBC in ALT1 setting (24 byte tx packet)
|
||||
# hw-volume AVRCP absolute volume support
|
||||
# sbc-xq "nonstandard" SBC codec setting with better sound quality
|
||||
# (XXX: the SBC-XQ per-device setting doesn't have effect yet)
|
||||
#
|
||||
# Features are disabled with the key "no-features" whose value is an
|
||||
# array of strings in the match rule.
|
||||
|
||||
bluez5.features.device = [
|
||||
# properties:
|
||||
# - name
|
||||
# - address ("ff:ff:ff:ff:ff:ff")
|
||||
# - vendor-id
|
||||
# - product-id
|
||||
# - version-id
|
||||
|
||||
{ name = "Air 1 Plus" },
|
||||
{ name = "AirPods", no-features = [ msbc-alt1, msbc-alt1-rtl ] },
|
||||
{ name = "AirPods Pro", no-features = [ msbc-alt1, msbc-alt1-rtl ] },
|
||||
{ name = "AXLOIE Goin", no-features = [ msbc-alt1, msbc-alt1-rtl ] },
|
||||
{ name = "JBL Endurance RUN BT", no-features = [ msbc-alt1, msbc-alt1-rtl, sbc-xq ] },
|
||||
{ name = "JBL LIVE650BTNC" },
|
||||
{ name = "Soundcore Life P2-L", no-features = [ msbc-alt1, msbc-alt1-rtl ] },
|
||||
{ name = "Urbanista Stockholm Plus", no-features = [ msbc-alt1, msbc-alt1-rtl ] },
|
||||
|
||||
# All features are enabled by default; it's simpler to block non-working devices one by one.
|
||||
]
|
||||
|
||||
bluez5.features.adapter = [
|
||||
# properties:
|
||||
# - address ("ff:ff:ff:ff:ff:ff")
|
||||
# - bus-type ("usb", "other")
|
||||
# - vendor-id ("usb:ffff")
|
||||
# - product-id ("ffff")
|
||||
|
||||
# Realtek Semiconductor Corp.
|
||||
{ bus-type = "usb", vendor-id = "usb:0bda" },
|
||||
|
||||
# Generic USB adapters
|
||||
{ bus-type = "usb", no-features = [ msbc-alt1-rtl ] },
|
||||
|
||||
# Other adapters
|
||||
{ no-features = [ msbc-alt1-rtl ] },
|
||||
]
|
||||
|
||||
bluez5.features.kernel = [
|
||||
# properties (as in uname):
|
||||
# - sysname
|
||||
# - release
|
||||
# - version
|
||||
{ sysname = "Linux", release = "~^[0-4]\\.", no-features = [ msbc-alt1, msbc-alt1-rtl ] },
|
||||
{ sysname = "Linux", release = "~^5\\.[1-7]\\.", no-features = [ msbc-alt1, msbc-alt1-rtl ] },
|
||||
{ sysname = "Linux", release = "~^5\\.(8|9|10)\\.", no-features = [ msbc-alt1 ] },
|
||||
{ no-features = [] },
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue