Re: USB autosuspend causing trouble with bluetooth

From: Oliver Neukum
Date: Tue Jan 20 2015 - 09:06:44 EST


On Tue, 2015-01-20 at 16:18 +0400, Kirill Elagin wrote:
> I use a Logitech wireless keyboard (with a Unifying receiver) and it
> keeps working fine even with `auto`.
>
> That is, everything is OK if the receiver is plugged before
> `power/control` is switched to `auto`.

Wait. There is no power/control file for the receiver before
you plug it in. We are having a very big misunderstanding here.

> But if I first set it to `auto`, then plug the receiver in, it is not
> detected (nothing in dmesg). Kernel
> detects it as soon as I `echo on` to the relevant `power/control`.

Are you on power/control for the device or the port?
If you are using the port's control file you might be switching
on Port Power Off. Then of course the port will not process
hotplugs. Please clarify!
>
> This laptop is too old to have USB3.0, both the receiver and BT are
> attached to USB1.1 ports.
> BTW I also noticed a strange thing: USB devices appear on different
> buses when attached,
> depending on their speed (e.g. the keyboard receiver is on bus 6 which
> is USB1.1, while a
> USB stick appears on bus 2 which is USB2.0 when I plug it into that
> same physical port).
> Iâm not sure whether this is strange or normal, as I never really
> payed attention.

That is perfectly normal.

Regards
Oliver

PS: Please dont top-post


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