Re: [PATCH] Quirk for BT USB device on MacbookPro to be resetbefore use

From: Marcel Holtmann
Date: Tue Apr 28 2009 - 09:43:02 EST


Hi Amit,

> From: Amit Kucheria <amit.kucheria@xxxxxxxxxxxxx>
>
> Reset the Bluetooth device on Macbook Pro 5.1 inorder to be able to use it
>
> Bug: #332443
> BugLink: https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/332443
>
> Signed-off-by: Amit Kucheria <amit.kucheria@xxxxxxxxxxxxx>
> ---
> drivers/bluetooth/btusb.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index 7a29a2b..c017cc5 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -109,6 +109,9 @@ static struct usb_device_id blacklist_table[] = {
> /* Apple MacBook Pro with Broadcom chip */
> { USB_DEVICE(0x05ac, 0x820f), .driver_info = BTUSB_RESET },
>
> + /* Apple MacBook Pro 5,1 */
> + { USB_DEVICE(0x05ac, 0x8213), .driver_info = BTUSB_RESET },
> +

can you guys please NOT send out blindly outdated patches from your
vendor kernel. Check if patches apply to Linus' kernel first and that
they still make sense. In this case I have changed the BTUSB_RESET logic
as default and marked the few old/broken devices as exception.

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/