RE: [PATCH] btusb.c: add support for 2011 mac mini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 > Hi John,
> 
> * John Frankish <j-frankish@xxxxxxx> [2011-09-05 17:21:34 +0000]:
> 
> >
> > > -----Original Message-----
> > > From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [mailto:linux-bluetooth-
> > > owner@xxxxxxxxxxxxxxx] On Behalf Of Jurgen Kramer
> > > Sent: Sunday, 04 September, 2011 20:02
> > > To: linux-bluetooth@xxxxxxxxxxxxxxx
> > > Subject: [PATCH] btusb.c: add support for 2011 mac mini
> > >
> > > Today I noticed that the usb bluetooth adapter (BCM2046B1) on my
> > > 2011 mac mini was not working. I've created a patch to get it going.
> > >
> > > diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> > > index
> > > 3ef4760..8d807c5 100644
> > > --- a/drivers/bluetooth/btusb.c
> > > +++ b/drivers/bluetooth/btusb.c
> > > @@ -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) },
> > >
> > > Patch is against current kernel git.
> > >
> > > Jurgen
> > >
> > I tried this patch with the 3.0.3 kernel.
> >
> > When I only compiled the modules in drivers/bluetooth and without
> Module.symvers (so no deps), I got this when I manually loaded the
> modules:
> >
> > btusb: Unknown symbol hci_free_dev (err 0)
> > btusb: Unknown symbol hci_alloc_dev (err 0) ...
> 
> You have to enable other bluetooth modules as well. bluetooth.ko at least.
> rfcomm, bnep and hidp if you need then.
> 
> 	Gustavo
> --
Knowing that the patched btusb was recompiled without Module.symvers, I had already loaded the bluetooth module prior to loading btusb. In any case, this attempt worked and I could successfully see other Bluetooth devices.

It was when I recompiled the full kernel source with the btusb patch that things did not work..

Regards
John
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux