Skip to content

bluez5: quirks database + msbc and hw-volume by default

P V requested to merge pvir/pipewire:bt-allowlists into master

Add a device quirks database, and enable msbc and hardware volume by default if device quirks allow it.

Try to determine vendor/product ids, via bluez (which usually doesn't seem to work), and by looking for the hci device in sysfs.

For USB adapters, check if they support altsetting 6, and if not, enable MSBC based on a separate quirk.

XXX: the blocklist probably should be extended. For hw volume, android sources contain an interoperability table, but that may have Apache license applying.

It's likely there are several more of the devices that don't work properly with USB ALT1 adapter setting currently, so we would have to extend the blocklist as more bug reports arrive. Users can select the CVSD codec manually, so this is probably not a showstopper.

  • #678 maybe needs to be addressed somehow here -- added also a quirk for non-functional hw mic volume
Edited by P V

Merge request reports