Re: USB autosuspend causing trouble with bluetooth

From: Oliver Neukum
Date: Tue Jan 20 2015 - 06:03:51 EST


On Sun, 2015-01-18 at 17:30 +0400, Kirill Elagin wrote:
> Hello,
>
> Recently I started having issues with my Apple Magic Trackpad and I
> realised that the problem was with autosuspend. Whenever I have `auto`
> in `power/control` of my BT adapter, `btmon` shows no packets,
> nothing. As soon as I `echo on`, all the missing packets arrive.

You are not getting remote wakeups. There are two possibilities

1. the firmware of your BT adapter is faulty and the device needs to
be added to the list of quirky devices

2. a bug in the kernel breaks remote wakeup.

We need to distinguish these cases. Could you connect another device
that uses remote wakeup (HID, CDC-ACM, ... - a keyboard or a mouse is
easiest) to a port connected to XHCI and test autosuspend on that
device?

Regards
Oliver




--
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/