diff mbox series

Bluetooth: btusb: Ignore Nintendo Wii module

Message ID mAaTd8WUa8rEKmRjJCFc5PohACS9Xdx5NSBRdEIFQIkVisnPvpByHXSOGV9hiIpz4BfIknYY6rWr-5LroHjeAIsova4ytmci3cvfqk6FiZE=@pm.me
State Superseded
Headers show
Series Bluetooth: btusb: Ignore Nintendo Wii module | expand

Commit Message

Alan Jones Nov. 23, 2024, 5:04 p.m. UTC
The Nintendo Wii uses a BCM2045 module running proprietary firmware.
This adapter is typically managed by emulation software via the raw
interface, and is incompatible with standard Bluetooth devices.

Attempting to initialize this adapter breaks synchronization with all
previously connected Wii Remotes, requiring applications to
re-synchronize the remotes on each usage.

Fix Wii Remote re-synchronization issues with the official Nintendo Wii
Bluetooth module by ignoring this adapter.

Signed-off-by: Alan Jones <j.alan.jones@pm.me>
---
 drivers/bluetooth/btusb.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

bluez.test.bot@gmail.com Nov. 23, 2024, 5:13 p.m. UTC | #1
This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: drivers/bluetooth/btusb.c:182
error: drivers/bluetooth/btusb.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index e9534fbc92e3..be8c009b8ab6 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -182,7 +182,10 @@  static const struct usb_device_id quirks_table[] = {
        /* Broadcom BCM2033 without firmware */
        { USB_DEVICE(0x0a5c, 0x2033), .driver_info = BTUSB_IGNORE },
 
-       /* Broadcom BCM2045 devices */
+       /* Broadcom BCM2045 devices with Nintendo Wii firmware */
+       { USB_DEVICE(0x057e, 0x0305), .driver_info = BTUSB_IGNORE },
+
+       /* Broadcom BCM2045 devices with common firmware */
        { USB_DEVICE(0x0a5c, 0x2045), .driver_info = BTUSB_BCM2045 },
 
        /* Atheros 3011 with sflash firmware */