bluetooth: add support for btusb devices in recent MacBook Pros
These two patches add support for the USB bluetooth controllers found in recent MacBook Pro systems. In both cases the device class is ff (vend.) rather than the usual e0. The iMac11,1 has the same problem and is handled with an explicit USB_DEVICE() entry, so these two devices are handled the same way.
(Apologies for sending the patches again - I forgot the Signed-off-by:
lines the first time.)
-w
PATCH 1/2 bluetooth: add support for controller in MacBookPro7,1
As with iMac11,1 the device class is ff(vend.) instead of e0(wlcon).
output from 'usb-devices':
T: Bus=04 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac ProdID=8213 Rev=01.86 S: Manufacturer=Apple Inc. S: Product=Bluetooth USB Host Controller S: SerialNumber=58B0359C28ED C: #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
--- drivers/bluetooth/btusb.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/bluetooth/btusb.c +3 -0
@@ -59,6 +59,9 @@ static struct usb_device_id btusb_table[] = {/* Generic Bluetooth USB device */ { USB_DEVICE_INFO(0xe0, 0x01, 0x01) }, +/* Apple MacBookPro7,1 */ + { USB_DEVICE(0x05ac, 0x8213) }, +/* Apple iMac11,1 */ { USB_DEVICE(0x05ac, 0x8215) },
Signature · 1 line
1.7.2.3
PATCH 2/2 bluetooth: add support for controller in MacBookPro6,2
In reply to Will WoodsOnce again the device class is ff(vend.) instead of e0(wlcon).
output from 'usb-devices':
T: Bus=01 Lev=03 Prnt=03 Port=02 Cnt=03 Dev#= 8 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac ProdID=8218 Rev=00.22 S: Manufacturer=Apple Inc. S: Product=Bluetooth USB Host Controller C: #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=(none) I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=(none) I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
--- drivers/bluetooth/btusb.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/bluetooth/btusb.c +3 -0
@@ -65,6 +65,9 @@ static struct usb_device_id btusb_table[] = {/* Apple iMac11,1 */ { USB_DEVICE(0x05ac, 0x8215) }, +/* Apple MacBookPro6,2 */ + { USB_DEVICE(0x05ac, 0x8218) }, +/* AVM BlueFRITZ! USB v2.0 */ { USB_DEVICE(0x057c, 0x3800) },
Signature · 1 line
1.7.2.3
Hi Will,
Quoted 5 lines · Will Woods
These two patches add support for the USB bluetooth controllers found in recent MacBook Pro systems. In both cases the device class is ff (vend.) rather than the usual e0. The iMac11,1 has the same problem and is handled with an explicit
USB_DEVICE()entry, so these two devices are handled the same way.
We already have these patches, yours are a duplicate. Thanks anyway. ;)
Signature · 2 lines
Gustavo F. Padovan ProFUSION embedded systems - http://profusion.mobi