From nobody Mon Sep 28 23:12:03 2026 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 131334B0487 for ; Sat, 15 Aug 2026 09:51:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786787502; cv=none; b=Cdff8cGC3ApLcFBfPtseoRp0Jx6zPny6n3roJHeu2Neg2qOiUYC9ezw5F3+5Ck6lQkKKs20PW9MzypDoMgZTMYV/8CmwLcwGwwwjGWBr88gtJ8cVyC/xgj09UlIDa3eFwQv/TO7jATNrWzfQlTg40K7L+1RxDO30op13vjCXkOE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786787502; c=relaxed/simple; bh=HLueuBtAriStIrexLjFU6S4aa6nY+n84Y2UBYA4Z5ac=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gugOr0AhPyepSljEqKZp4AfoSDND+NH6btV8hJEqfPm17TSdNlzsiCTAsUvnSBCDbYn9zNBhu+17ylNTeNEvracJhwJfxE4rg3pNdeyItsNCTDdbQ7V1QO5skqO4WTMULTL1SULoxhVjpk6JY6LRVLclTuVi5qNHyuWPQQvlFxU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Oo2lwY0z; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Oo2lwY0z" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-5b2a3166398so2064376e87.3 for ; Sat, 15 Aug 2026 02:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786787499; x=1787392299; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=VS29wHLoMbOJ8QVq/qwtq6OMCDxtBgCbAQfOcU9+Ep8=; b=Oo2lwY0zsQWXDppSnMNojVY+uBdNjSWYiIpqUokLBePBj+6nUcHciPOAExhqOyCwrT PFTNY0YifQP+U62hP7wwd810MHNBc6I6A4hG2YhrlFWlcZzLalp6FX9q08f+bxeaHsR/ Z9nWLq4t4BwALEWgS4lz/x1klx+MJh3whJUvYLhSCHJws1ZVEYzIw3F9D3lUukLrzNqm gGnOpdwPJ+aGWnx55CXLUJGhTaD058lVKKLGCxn+vJSGywKNHLxVz3q8ZzhkpsGZ8DI/ HvO0xol+XR4pQeENbIS9HZfXwcVJ5eUZHcZeCX/9IEzEWk+zCek9qJkYjDHP0JeRGo21 qfFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786787499; x=1787392299; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=VS29wHLoMbOJ8QVq/qwtq6OMCDxtBgCbAQfOcU9+Ep8=; b=cv0SYgETbBYSxMMhA9UMuXIh/oBhSv2Pq1b4ItPjxNQ+1A0UfEuotqtEB0GbQNbbNG YIkrXtwbTzEMWzf9UdGPJiz5V43HbFNPDLV3sjTmgoA/a8lTGPBlR4c+0FmkXTZdyhBF vRSv7rAGZfiZZRL3CB7GgRK6MaUDvvFJiK2vkudGXyn8GsMl6xa9OPTCfbXGL2H0xdb6 EwI42pmjSNcgPWFCLmRMd5VRumY6gGYm3DtFKs5AOCVw9v5cMl1xHIqeSkseR3lE30FN AjPRnCgT9ZQuONV2lw2NZDhg/HJ6FLQC0jUuSYsHeRh75PWr7HU3EA/klbMElr84dF+x UbOg== X-Forwarded-Encrypted: i=1; AHgh+RrvX/tlCuMny6sRyVB2v9BBJpKAfsm+WWxTsOk/ipactYL1+Y7BBlvAhmqEmjlguI0pq/E3jgXIuLfXfXk=@vger.kernel.org X-Gm-Message-State: AOJu0YxTPVPX35tp0pGwjHX6Tu/yKyVMcghy3h6YSarP1hedMJ3giOE6 4EeNV1X1pvvMrG4A+v5KfUhDB/mBIF1yVUwIEP0impqrcO/wTSrycYP6crb7shT2ZSw= X-Gm-Gg: AR+sD117Pe/fGsr4Wrfgq6z5Kkmbthy+p3taBQuAncb+50Ditl0WEzINDhlCc4tN9MX 1iZUik4rASK5/U0RS/b8CkfHB44bbMqBlO4COk4DoLI15oVva8lTgjh9Oend4HNBUac9PcG2vck S1Bc/6uKvCHnKAFHSAIhG4pZ02uUPR4LoOFS/1kbCX+MPE1pWj4hr/zAO9HBQu6iwX96Jff9W7n tSa3SLY5jB2kzwkY4HaqCHK7wpMEnznA+DNphMJHmqs9FZwvMz0p1UPi0BVBUHtiHDNLt2jP7pD D57bZW6LKbJPugLnBJyYsfBOqE0GvKG8balStiTIq937Oux+hdOZOKJSA42+ll+oFVOk7Lg9cFi GKXJDhUMfbr9HTBwD89zXhw5d/66r9kozXZ8NePaNPfX5g6YWJn0eIgj5ZmFH3u3nvbZ5l8RFQe BP1LtCabS2zcmYy1Fv1afE9qmCVa4jALugYW/3WsHN3Z7uU8pvO0nWw+3mjNMaYoxyAUevUpCOL MPTD64qPuGa X-Received: by 2002:a05:6512:3b2a:b0:5b0:cf2:1bfd with SMTP id 2adb3069b0e04-5b4591942admr1674215e87.52.1786787498884; Sat, 15 Aug 2026 02:51:38 -0700 (PDT) Received: from localhost.localdomain ([188.162.14.60]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5b458bff3desm1069294e87.62.2026.08.15.02.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Aug 2026 02:51:38 -0700 (PDT) From: Andrew Bille To: Marcel Holtmann , Luiz Augusto von Dentz Cc: Paul Menzel , Daniel Drake , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] Bluetooth: btusb: treat 0bda:0002 rev 7558 as a generic HCI device Date: Sat, 15 Aug 2026 16:51:27 +0700 Message-ID: <20260815095127.29624-1-andrewbille@gmail.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The internal Bluetooth controller of a Quanta JW6H laptop reports itself as "CSR BS8510" and exposes a standard Bluetooth USB interface. Relevant /sys/kernel/debug/usb/devices output is: D: Ver=3D 2.00 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 MxPS=3D64 #Cfgs=3D 1 P: Vendor=3D0bda ProdID=3D0002 Rev=3D75.58 S: Product=3DCSR BS8510 I:* If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3De0(wlcon) Sub=3D01 Prot=3D01 Driv= er=3Dbtusb The device currently matches the vendor-wide Realtek quirk and is therefore initialized through btrtl. It does not respond to the Realtek-specific register access and initialization fails with: Bluetooth: hci0: RTL: RTL: Read reg16 failed (-110) No Bluetooth controller is then available to userspace. No external firmware is required when the device is handled through the generic HCI path. It is not known whether other devices using USB ID 0bda:0002 are genuine Realtek controllers. Limit the exception to the observed bcdDevice revision 0x7558 and log when generic HCI handling is forced, so other revisions continue to use the existing Realtek path. With this change the controller registers successfully. Scanning, pairing and A2DP audio have been tested successfully. Fixes: a2698a9bf9b0 ("Bluetooth: btusb: Add Realtek 8723A/8723B/8761A/8821A= support") Cc: stable@vger.kernel.org Reviewed-by: Paul Menzel Assisted-by: ChatGPT:GPT-5.6-Sol Signed-off-by: Andrew Bille --- Changes in v3: - Rebase onto the current bluetooth-next tree. - Preserve the updated BTUSB_IGNORE bit test from upstream. - No functional changes. Changes in v2: - Restrict the quirk to the observed bcdDevice revision 0x7558. - Log when generic HCI handling is forced. - Add the Quanta JW6H platform and USB descriptor information. - Document that no external firmware is required. - Document the possible conflict with other 0bda:0002 devices. drivers/bluetooth/btusb.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 2bae85b0016c..a95e482a501b 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -67,6 +67,7 @@ static struct usb_driver btusb_driver; #define BTUSB_INTEL_NO_WBS_SUPPORT BIT(26) #define BTUSB_ACTIONS_SEMI BIT(27) #define BTUSB_BARROT BIT(28) +#define BTUSB_FORCE_GENERIC BIT(29) =20 static const struct usb_device_id btusb_table[] =3D { /* Generic Bluetooth USB device */ @@ -619,6 +620,10 @@ static const struct usb_device_id quirks_table[] =3D { { USB_DEVICE(0x0489, 0xe130), .driver_info =3D BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, =20 + /* Device reporting itself as "CSR BS8510" */ + { USB_DEVICE_VER(0x0bda, 0x0002, 0x7558, 0x7558), + .driver_info =3D BTUSB_FORCE_GENERIC }, + /* Realtek Bluetooth devices */ { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01), .driver_info =3D BTUSB_REALTEK }, @@ -4122,6 +4127,9 @@ static int btusb_probe(struct usb_interface *intf, id =3D match; } =20 + if (id->driver_info & BTUSB_FORCE_GENERIC) + dev_info(&intf->dev, "using generic HCI handling\n"); + if (id->driver_info & BTUSB_IGNORE) return -ENODEV; =20 --=20 2.47.3