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

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

 



> -----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)
...

I loaded hci_uart and hci_vhci (as a guess to what was missing) and things worked.

I then went back and recompiled the full kernel - as per modinfo, the only dep for btusb was bluetooth - and things did not work, even when I manually loaded hci_uart and hci_vhci.

Any ideas why this might be?

Regards
John

��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[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