linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Luo Jinghua <sunmoon1997@gmail.com>
Cc: Henrik Rydberg <rydberg@euromail.se>, linux-input@vger.kernel.org
Subject: Re: [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic
Date: Wed, 2 Jun 2010 00:35:13 -0700	[thread overview]
Message-ID: <20100602073513.GG3713@core.coreip.homeip.net> (raw)
In-Reply-To: <1275421559-7980-1-git-send-email-sunmoon1997@gmail.com>

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

  reply	other threads:[~2010-06-02  7:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [not found]   ` <AANLkTil4cysRYD9Ofx9vnuU7B4z8yw1fYOJ5VF7A4d-P@mail.gmail.com>
2010-06-02  9:27     ` Henrik Rydberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100602073513.GG3713@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=rydberg@euromail.se \
    --cc=sunmoon1997@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).