Re: [PATCH] input: bcm5974 turn wellspring mode off if failed to start traffic

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

 



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@xxxxxxxxx>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux