mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-16 07:00:00 -05:00
67 lines
2.4 KiB
Text
67 lines
2.4 KiB
Text
|
|
# 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 = [] },
|
||
|
|
]
|