From f4b0cf2758f0ebbb61db86938f91b76138f8364c Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Wed, 21 Jul 2021 17:01:26 +0300 Subject: [PATCH] bluez5: blocklist kernel versions that broke mSBC on several adapters These kernel versions contain a patch ("Bluetooth: btusb: Add support USB ALT 3 for WBS") that breaks mSBC on several bluetooth adapters. See https://lore.kernel.org/linux-bluetooth/ca3adcf5fd1e7afa923f445d391aaa00f335c470.camel@iki.fi/ --- src/daemon/media-session.d/bluez-hardware.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/daemon/media-session.d/bluez-hardware.conf b/src/daemon/media-session.d/bluez-hardware.conf index 08df5f5e8..ca9992a49 100644 --- a/src/daemon/media-session.d/bluez-hardware.conf +++ b/src/daemon/media-session.d/bluez-hardware.conf @@ -77,8 +77,18 @@ bluez5.features.kernel = [ # - sysname # - release # - version + + # See https://lore.kernel.org/linux-bluetooth/20201210012003.133000-1-tpiepho@gmail.com/ { 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 ] }, + + # See https://lore.kernel.org/linux-bluetooth/ca3adcf5fd1e7afa923f445d391aaa00f335c470.camel@iki.fi/ + { sysname = "Linux", release = "~^5\\.12\\.(1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17)($|[^0-9])" }, + { sysname = "Linux", release = "~^5\\.12\\.", no-features = [ msbc-alt1 ] }, + { sysname = "Linux", release = "~^5\\.13\\.(1|2)($|[^0-9])" }, + { sysname = "Linux", release = "~^5\\.13\\.", no-features = [ msbc-alt1 ] }, + { sysname = "Linux", release = "~^5\\.14\\.", no-features = [ msbc-alt1 ] }, + { no-features = [] }, ]