[haiku-commits] Change in haiku[master]: drivers/usb/bt: Expand knowledge of non-standard devices

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 15 Oct 2020 13:40:24 +0000

From Alex von Gluck IV <kallisti5@xxxxxxxxxxx>:

Alex von Gluck IV has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/3323 ;)


Change subject: drivers/usb/bt: Expand knowledge of non-standard devices
......................................................................

drivers/usb/bt: Expand knowledge of non-standard devices

* usbid's borrowed from the Linux bluetooth driver

Change-Id: Ie7f93fbc1038e8b7011d0fdfbad497cdf2b97ff6
---
M src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.cpp
1 file changed, 29 insertions(+), 2 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/23/3323/1

diff --git a/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.cpp 
b/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.cpp
index 9739bf2..bbd059c 100644
--- a/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.cpp
+++ b/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/h2generic.cpp
@@ -51,13 +51,33 @@
 usb_support_descriptor supported_devices[] = {
        // Generic Bluetooth USB device
        // Class, SubClass, and Protocol codes that describe a Bluetooth device
-       { UDCLASS_WIRELESS, UDSUBCLASS_RF, UDPROTO_BLUETOOTH , 0 , 0 },
+       { UDCLASS_WIRELESS, UDSUBCLASS_RF, UDPROTO_BLUETOOTH, 0, 0 },

        // Broadcom BCM2035
        { 0, 0, 0, 0x0a5c, 0x200a },
        { 0, 0, 0, 0x0a5c, 0x2009 },

        // Devices taken from the linux Driver
+       // MediaTek MT76x0E
+       { 0, 0, 0, 0x0e8d, 0x763f },
+       // Broadcom SoftSailing reporting vendor specific
+       { 0, 0, 0, 0x0a5c, 0x21e1 },
+
+       // Apple MacBookPro 7,1
+       { 0, 0, 0, 0x05ac, 0x8213 },
+       // Apple iMac11,1
+       { 0, 0, 0, 0x05ac, 0x8215 },
+       // Apple MacBookPro6,2
+       { 0, 0, 0, 0x05ac, 0x8218 },
+       // Apple MacBookAir3,1, MacBookAir3,2
+       { 0, 0, 0, 0x05ac, 0x821b },
+       // Apple MacBookAir4,1
+       { 0, 0, 0, 0x05ac, 0x821f },
+       // Apple MacBookPro8,2
+       { 0, 0, 0, 0x05ac, 0x821a },
+       // Apple MacMini5,1
+       { 0, 0, 0, 0x05ac, 0x8281 },
+
        // AVM BlueFRITZ! USB v2.0
        { 0, 0, 0, 0x057c, 0x3800 },
        // Bluetooth Ultraport Module from IBM
@@ -66,7 +86,14 @@
        { 0, 0, 0, 0x044e, 0x3001 },
        { 0, 0, 0, 0x044e, 0x3002 },
        // Ericsson with non-standard id
-       { 0, 0, 0, 0x0bdb, 0x1002 }
+       { 0, 0, 0, 0x0bdb, 0x1002 },
+
+       // Canyon CN-BTU1 with HID interfaces
+       { 0, 0, 0, 0x0c10, 0x0000 },
+
+       // Broadcom BCM20702A0
+       { 0, 0, 0, 0x413c, 0x8197 },
+
 };

 /* add a device to the list of connected devices */

--
To view, visit https://review.haiku-os.org/c/haiku/+/3323
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Ie7f93fbc1038e8b7011d0fdfbad497cdf2b97ff6
Gerrit-Change-Number: 3323
Gerrit-PatchSet: 1
Gerrit-Owner: Alex von Gluck IV <kallisti5@xxxxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: drivers/usb/bt: Expand knowledge of non-standard devices - Gerrit