[PATCH][SRU][Intrepid][Jaunty] Reset bluetooth device on Macbook Pro

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH][SRU][Intrepid][Jaunty] Reset bluetooth device on Macbook Pro

Amit Kucheria-6
SRU Justification:                                  
                                   
Impact: Bluetooth device on MacbookPro 5.1 cannot be used until it is reset
Fix: Add the device's USB ID to a list of BTUSB_RESET quirks
Testcase: Test to see if bluetooth works on boot

Amit Kucheria (1):
  UBUNTU: SAUCE: Quirk for BT USB device on MacbookPro to be reset
    before use

 drivers/bluetooth/btusb.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH] UBUNTU: SAUCE: Quirk for BT USB device on MacbookPro to be reset before use

Amit Kucheria-6
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 <[hidden email]>
---
 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 },
+
  /* IBM/Lenovo ThinkPad with Broadcom chip */
  { USB_DEVICE(0x0a5c, 0x201e), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
  { USB_DEVICE(0x0a5c, 0x2110), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
--
1.6.0.4


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] UBUNTU: SAUCE: Quirk for BT USB device on MacbookPro to be reset before use

Bryan Wu-5
Amit Kucheria wrote:

> 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 <[hidden email]>
> ---
>  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 },
> +
>   /* IBM/Lenovo ThinkPad with Broadcom chip */
>   { USB_DEVICE(0x0a5c, 0x201e), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
>   { USB_DEVICE(0x0a5c, 0x2110), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },

ACK, I'm pretty sure this patch fixed my BT mighty mouse reboot missing issue on my MBP 5,1.
Will this patch go to upstream mainline?

Thanks a lot
--
Bryan Wu <[hidden email]>
Kernel Developer    +86.138-1617-6545 Mobile
Ubuntu Kernel Team
Canonical Ltd.      www.canonical.com
Ubuntu - Linux for human beings | www.ubuntu.com

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] UBUNTU: SAUCE: Quirk for BT USB device on MacbookPro to be reset before use

Amit Kucheria-6
On Tue, Apr 28, 2009 at 08:23:29PM +0800, Bryan Wu wrote:

> Amit Kucheria wrote:
> > 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 <[hidden email]>
> > ---
> >  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 },
> > +
> >   /* IBM/Lenovo ThinkPad with Broadcom chip */
> >   { USB_DEVICE(0x0a5c, 0x201e), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
> >   { USB_DEVICE(0x0a5c, 0x2110), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
>
> ACK, I'm pretty sure this patch fixed my BT mighty mouse reboot missing issue on my MBP 5,1.
> Will this patch go to upstream mainline?

Already posted to LKML...

--
----------------------------------------------------------------------
Amit Kucheria, Kernel Engineer || [hidden email]
----------------------------------------------------------------------

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] UBUNTU: SAUCE: Quirk for BT USB device on MacbookPro to be reset before use

Tim Gardner-2
In reply to this post by Amit Kucheria-6
Amit Kucheria wrote:

> 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 <[hidden email]>
> ---
>  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 },
> +
>   /* IBM/Lenovo ThinkPad with Broadcom chip */
>   { USB_DEVICE(0x0a5c, 0x201e), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },
>   { USB_DEVICE(0x0a5c, 0x2110), .driver_info = BTUSB_RESET | BTUSB_WRONG_SCO_MTU },

ACK

--
Tim Gardner [hidden email]

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH][SRU][Intrepid][Jaunty] Reset bluetooth device on Macbook Pro

Stefan Bader-2
In reply to this post by Amit Kucheria-6
Applied to Intrepid and Jaunty

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team