* [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic
@ 2010-06-01 19:45 Luo Jinghua
2010-06-02 7:35 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Luo Jinghua @ 2010-06-01 19:45 UTC (permalink / raw)
To: Henrik Rydberg; +Cc: linux-input, Luo Jinghua
The bcm5974 driver doesn't work on my MacbookPro6,2 for some reason. It
failed to start traffic and left the wellsprint mode on. As a result,
the keyboard is slow to response and become unusable.
Signed-off-by: Luo Jinghua <sunmoon1997@gmail.com>
---
drivers/input/mouse/bcm5974.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
index 6dedded..5518089 100644
--- a/drivers/input/mouse/bcm5974.c
+++ b/drivers/input/mouse/bcm5974.c
@@ -595,6 +595,7 @@ static int bcm5974_start_traffic(struct bcm5974 *dev)
err_kill_bt:
usb_kill_urb(dev->bt_urb);
+ bcm5974_wellspring_mode(dev, false);
error:
return -EIO;
}
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic
2010-06-01 19:45 [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic Luo Jinghua
@ 2010-06-02 7:35 ` Dmitry Torokhov
[not found] ` <AANLkTil4cysRYD9Ofx9vnuU7B4z8yw1fYOJ5VF7A4d-P@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2010-06-02 7:35 UTC (permalink / raw)
To: Luo Jinghua; +Cc: Henrik Rydberg, linux-input
Hi Luo,
On Wed, Jun 02, 2010 at 03:45:59AM +0800, Luo Jinghua wrote:
> The bcm5974 driver doesn't work on my MacbookPro6,2 for some reason. It
> failed to start traffic and left the wellsprint mode on. As a result,
> the keyboard is slow to response and become unusable.
>
> Signed-off-by: Luo Jinghua <sunmoon1997@gmail.com>
> ---
> drivers/input/mouse/bcm5974.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
> index 6dedded..5518089 100644
> --- a/drivers/input/mouse/bcm5974.c
> +++ b/drivers/input/mouse/bcm5974.c
> @@ -595,6 +595,7 @@ static int bcm5974_start_traffic(struct bcm5974 *dev)
>
> err_kill_bt:
> usb_kill_urb(dev->bt_urb);
> + bcm5974_wellspring_mode(dev, false);
> error:
> return -EIO;
> }
Could you see what URB it failed to submit and what error code was
returned? Maybe it will give us idea what went wrong.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-02 9:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 19:45 [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic Luo Jinghua
2010-06-02 7:35 ` Dmitry Torokhov
[not found] ` <AANLkTil4cysRYD9Ofx9vnuU7B4z8yw1fYOJ5VF7A4d-P@mail.gmail.com>
2010-06-02 9:27 ` Henrik Rydberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).