Hopefully this patch is now correct.
Patch against current kernel git to add ID for MacMini5,1 to btusb.c
Signed-off-by: Jurgen Kramer <[email protected]>
--- linux/drivers/bluetooth/btusb.c 2011-09-14 17:31:09.411475756 +0200
+++ linux.new/drivers/bluetooth/btusb.c 2011-09-14 17:33:37.727484053
+0200
@@ -75,6 +75,9 @@ static struct usb_device_id btusb_table[
/* Apple MacBookPro8,2 */
{ USB_DEVICE(0x05ac, 0x821a) },
+ /* Apple MacMini5,1 */
+ { USB_DEVICE(0x05ac, 0x8281) },
+
/* AVM BlueFRITZ! USB v2.0 */
{ USB_DEVICE(0x057c, 0x3800) },
Jurgen
On Sat, 2011-09-17 at 12:58 +0000, John Frankish wrote:
> > > > -----Original Message-----
> > > > From: [email protected] [mailto:linux-bluetooth-
> > > > [email protected]] On Behalf Of Gustavo Padovan
> > > > Sent: Thursday, 15 September, 2011 20:28
> > > > To: Jurgen Kramer
> > > > Cc: [email protected]
> > > > Subject: Re: [PATCH v2] btusb.c: add support for 2011 mac mini
> > > >
> > > > Hi Jurgen,
> > > >
> > > > * Jurgen Kramer <[email protected]> [2011-09-15 18:04:44 +0200]:
> > > >
> > > > > Hopefully this patch is now correct.
> > > > > Patch against current kernel git to add ID for MacMini5,1 to
> > > > > btusb.c
> > > > >
> > > > > Signed-off-by: Jurgen Kramer <[email protected]>
> > > > > --- linux/drivers/bluetooth/btusb.c 2011-09-14
> > 17:31:09.411475756 +0200
> > > > > +++ linux.new/drivers/bluetooth/btusb.c 2011-09-14
> > > > 17:33:37.727484053
> > > > > +0200
> > > > > @@ -75,6 +75,9 @@ static struct usb_device_id btusb_table[
> > > > > /* Apple MacBookPro8,2 */
> > > > > { USB_DEVICE(0x05ac, 0x821a) },
> > > > >
> > > > > + /* Apple MacMini5,1 */
> > > > > + { USB_DEVICE(0x05ac, 0x8281) },
> > > > > +
> > > > > /* AVM BlueFRITZ! USB v2.0 */
> > > > > { USB_DEVICE(0x057c, 0x3800) },
> > > >
> > > Hmm, mine says the id is:
> > >
> > > DMI: Apple Inc. Macmini5,3/Mac-7BA5B2794B2CDB12, BIOS
> > > MM51.88Z.0075.B00.1106271442 06/27/2011
> > >
> > > ..rather than " MacMini5,1"
> > >
> > Yes, there are multiple models all which all have a different model name,
> > 5,1/5,2/5,3 etc.
> > I have the base mini (intel GPU), you probably have the server version.
> > The patch should work regardless as it is not depended on DMI info.
> >
> Just to let you know the patch works on the latest mac mini server:
>
> DMI: Apple Inc. Macmini5,3/Mac-7BA5B2794B2CDB12, BIOS MM51.88Z.0075.B00.1106271442 06/27/2011
>
> Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
>
> ..I'm not totally sure why id:0x4500 should work when the patch is for id:0x8281, but anyway :)
>
>
Thanks for testing.
The BCM2046 is a hub with multiple devices, one of which is the
bluetooth device. You can check with lsusb -t
PiA+ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiA+IEZyb206IGxpbnV4LWJsdWV0
b290aC1vd25lckB2Z2VyLmtlcm5lbC5vcmcgW21haWx0bzpsaW51eC1ibHVldG9vdGgtDQo+ID4g
PiBvd25lckB2Z2VyLmtlcm5lbC5vcmddIE9uIEJlaGFsZiBPZiBHdXN0YXZvIFBhZG92YW4NCj4g
PiA+IFNlbnQ6IFRodXJzZGF5LCAxNSBTZXB0ZW1iZXIsIDIwMTEgMjA6MjgNCj4gPiA+IFRvOiBK
dXJnZW4gS3JhbWVyDQo+ID4gPiBDYzogbGludXgtYmx1ZXRvb3RoQHZnZXIua2VybmVsLm9yZw0K
PiA+ID4gU3ViamVjdDogUmU6IFtQQVRDSCB2Ml0gYnR1c2IuYzogYWRkIHN1cHBvcnQgZm9yIDIw
MTEgbWFjIG1pbmkNCj4gPiA+DQo+ID4gPiBIaSBKdXJnZW4sDQo+ID4gPg0KPiA+ID4gKiBKdXJn
ZW4gS3JhbWVyIDxndG1rcmFtZXJAeHM0YWxsLm5sPiBbMjAxM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
On Fri, 2011-09-16 at 08:58 +0000, John Frankish wrote:
>
> > -----Original Message-----
> > From: [email protected] [mailto:linux-bluetooth-
> > [email protected]] On Behalf Of Gustavo Padovan
> > Sent: Thursday, 15 September, 2011 20:28
> > To: Jurgen Kramer
> > Cc: [email protected]
> > Subject: Re: [PATCH v2] btusb.c: add support for 2011 mac mini
> >
> > Hi Jurgen,
> >
> > * Jurgen Kramer <[email protected]> [2011-09-15 18:04:44 +0200]:
> >
> > > Hopefully this patch is now correct.
> > > Patch against current kernel git to add ID for MacMini5,1 to btusb.c
> > >
> > > Signed-off-by: Jurgen Kramer <[email protected]>
> > > --- linux/drivers/bluetooth/btusb.c 2011-09-14 17:31:09.411475756 +0200
> > > +++ linux.new/drivers/bluetooth/btusb.c 2011-09-14
> > 17:33:37.727484053
> > > +0200
> > > @@ -75,6 +75,9 @@ static struct usb_device_id btusb_table[
> > > /* Apple MacBookPro8,2 */
> > > { USB_DEVICE(0x05ac, 0x821a) },
> > >
> > > + /* Apple MacMini5,1 */
> > > + { USB_DEVICE(0x05ac, 0x8281) },
> > > +
> > > /* AVM BlueFRITZ! USB v2.0 */
> > > { USB_DEVICE(0x057c, 0x3800) },
> >
> Hmm, mine says the id is:
>
> DMI: Apple Inc. Macmini5,3/Mac-7BA5B2794B2CDB12, BIOS MM51.88Z.0075.B00.1106271442 06/27/2011
>
> ..rather than " MacMini5,1"
>
Yes, there are multiple models all which all have a different model name, 5,1/5,2/5,3 etc.
I have the base mini (intel GPU), you probably have the server version.
The patch should work regardless as it is not depended on DMI info.
Jurgen
> -----Original Message-----
> From: [email protected] [mailto:linux-bluetooth-
> [email protected]] On Behalf Of Gustavo Padovan
> Sent: Thursday, 15 September, 2011 20:28
> To: Jurgen Kramer
> Cc: [email protected]
> Subject: Re: [PATCH v2] btusb.c: add support for 2011 mac mini
>
> Hi Jurgen,
>
> * Jurgen Kramer <[email protected]> [2011-09-15 18:04:44 +0200]:
>
> > Hopefully this patch is now correct.
> > Patch against current kernel git to add ID for MacMini5,1 to btusb.c
> >
> > Signed-off-by: Jurgen Kramer <[email protected]>
> > --- linux/drivers/bluetooth/btusb.c 2011-09-14 17:31:09.411475756 +0200
> > +++ linux.new/drivers/bluetooth/btusb.c 2011-09-14
> 17:33:37.727484053
> > +0200
> > @@ -75,6 +75,9 @@ static struct usb_device_id btusb_table[
> > /* Apple MacBookPro8,2 */
> > { USB_DEVICE(0x05ac, 0x821a) },
> >
> > + /* Apple MacMini5,1 */
> > + { USB_DEVICE(0x05ac, 0x8281) },
> > +
> > /* AVM BlueFRITZ! USB v2.0 */
> > { USB_DEVICE(0x057c, 0x3800) },
>
Hmm, mine says the id is:
DMI: Apple Inc. Macmini5,3/Mac-7BA5B2794B2CDB12, BIOS MM51.88Z.0075.B00.1106271442 06/27/2011
..rather than " MacMini5,1"
Hi Jurgen,
* Jurgen Kramer <[email protected]> [2011-09-15 18:04:44 +0200]:
> Hopefully this patch is now correct.
> Patch against current kernel git to add ID for MacMini5,1 to btusb.c
>
> Signed-off-by: Jurgen Kramer <[email protected]>
> --- linux/drivers/bluetooth/btusb.c 2011-09-14 17:31:09.411475756 +0200
> +++ linux.new/drivers/bluetooth/btusb.c 2011-09-14 17:33:37.727484053
> +0200
> @@ -75,6 +75,9 @@ static struct usb_device_id btusb_table[
> /* Apple MacBookPro8,2 */
> { USB_DEVICE(0x05ac, 0x821a) },
>
> + /* Apple MacMini5,1 */
> + { USB_DEVICE(0x05ac, 0x8281) },
> +
> /* AVM BlueFRITZ! USB v2.0 */
> { USB_DEVICE(0x057c, 0x3800) },
Applied, thanks.
Gustavo