Skip to contentSkip to conversation

Add support for bluetooth BCM20702A1 variant

PATCH In review Fabio K 2 participants 2 messages Nov 17, 2014 – Nov 18, 2014 Bluetooth drivers

lore
Share & tools
lore

Fabio K

author
#0 lore raw

PATCH 1/1 Add support for bluetooth BCM20702A1 variant

Linux 3.18-rc5 (from git commit fc14f9c)

This variant requires the flag BTUSB_BCM_PATCHRAM to work.

---
 drivers/bluetooth/btusb.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/bluetooth/btusb.c +2 -0
index edfc17b..7c0fdd2 100644
@@ -106,6 +106,8 @@ static const struct usb_device_id btusb_table[] = {
     { USB_DEVICE(0x0b05, 0x17b5) },
     { USB_DEVICE(0x0b05, 0x17cb) },
     { USB_DEVICE(0x413c, 0x8197) },
+    { USB_DEVICE(0x13d3, 0x3404),
+      .driver_info = BTUSB_BCM_PATCHRAM },
 
     /* Foxconn - Hon Hai */
     { USB_VENDOR_AND_INTERFACE_INFO(0x0489, 0xff, 0x01, 0x01) },
Signature · 1 line
2.1.3
maintainer
#1 lore raw

Hi Fabio,

Quoted 5 lines · Fabio K

Linux 3.18-rc5 (from git commit fc14f9c)

This variant requires the flag BTUSB_BCM_PATCHRAM to work.

please include the device details from /sys/kernel/debug/usb/devices in the commit message and preferable some manufacture information including where you can obtain the firmware file from.

Quoted 11 lines

---
drivers/bluetooth/btusb.c | 2 ++

1 file changed, 2 insertions(+)
drivers/bluetooth/btusb.c +0 -0
index edfc17b..7c0fdd2 100644

drivers/bluetooth/btusb.c static const struct usb_device_id btusb_table[] = { · line 110

Quoted 5 lines
drivers/bluetooth/btusb.c +2 -0
@@ -106,6 +106,8 @@ static const struct usb_device_id btusb_table[] = {
    { USB_DEVICE(0x0b05, 0x17b5) },
    { USB_DEVICE(0x0b05, 0x17cb) },
    { USB_DEVICE(0x413c, 0x8197) },
+    { USB_DEVICE(0x13d3, 0x3404),
+      .driver_info = BTUSB_BCM_PATCHRAM },

I think your patch has a whitespace damage here.

drivers/bluetooth/btusb.c static const struct usb_device_id btusb_table[] = { · line 113

Quoted 3 lines
drivers/bluetooth/btusb.c +0 -0
    /* Foxconn - Hon Hai */
    { USB_VENDOR_AND_INTERFACE_INFO(0x0489, 0xff, 0x01, 0x01) },

Regards

Marcel