Re: USB autosuspend causing trouble with bluetooth

2015-01-26 Thread Kirill Elagin
Things just got way worse with this hotplug thing. When the host power/control is set to `auto`, as soon as I insert the Unifying receiver one of kworkers starts eating 100% of one of the cores, according to `htop`. As soon as I `echo on` to power/control of the relevant USB hub the kworker stops

Re: USB autosuspend causing trouble with bluetooth

2015-01-26 Thread Kirill Elagin
Things just got way worse with this hotplug thing. When the host power/control is set to `auto`, as soon as I insert the Unifying receiver one of kworkers starts eating 100% of one of the cores, according to `htop`. As soon as I `echo on` to power/control of the relevant USB hub the kworker stops

Re: USB autosuspend causing trouble with bluetooth

2015-01-24 Thread Kirill Elagin
On Wed, Jan 21, 2015 at 12:47 AM, Oliver Neukum wrote: > On Tue, 2015-01-20 at 23:25 +0400, Kirill Elagin wrote: > >> Hm, I'm pretty sure I never touched anything with `port` in its name, >> all the ports are set to `auto` (that's what laptop-mode-tools does). > > Here

Re: USB autosuspend causing trouble with bluetooth

2015-01-24 Thread Kirill Elagin
On Wed, Jan 21, 2015 at 12:47 AM, Oliver Neukum oneu...@suse.de wrote: On Tue, 2015-01-20 at 23:25 +0400, Kirill Elagin wrote: Hm, I'm pretty sure I never touched anything with `port` in its name, all the ports are set to `auto` (that's what laptop-mode-tools does). Here we go. Right now I

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
On Tue, Jan 20, 2015 at 8:41 PM, Oliver Neukum wrote: > On Tue, 2015-01-20 at 18:58 +0400, Kirill Elagin wrote: >> On Tue, Jan 20, 2015 at 5:06 PM, Oliver Neukum wrote: >> > On Tue, 2015-01-20 at 16:18 +0400, Kirill Elagin wrote: >> >> I use a Logitech wireless keyb

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
On Tue, Jan 20, 2015 at 5:06 PM, Oliver Neukum wrote: > 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

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
for the kernel to detect the dongle _and_ I also had to switch `power/control` of the dongle from `auto` to `on` in order for the kernel to notice that the dongle was plugged out. Weird. On Tue, Jan 20, 2015 at 3:18 PM, Kirill Elagin wrote: > I use a Logitech wireless keyboard (with a Unify

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
, 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 n

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
for the kernel to detect the dongle _and_ I also had to switch `power/control` of the dongle from `auto` to `on` in order for the kernel to notice that the dongle was plugged out. Weird. On Tue, Jan 20, 2015 at 3:18 PM, Kirill Elagin kirela...@gmail.com wrote: I use a Logitech wireless keyboard

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
: 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

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
On Tue, Jan 20, 2015 at 5:06 PM, Oliver Neukum oneu...@suse.de wrote: 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

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
On Tue, Jan 20, 2015 at 8:41 PM, Oliver Neukum oneu...@suse.de wrote: On Tue, 2015-01-20 at 18:58 +0400, Kirill Elagin wrote: On Tue, Jan 20, 2015 at 5:06 PM, Oliver Neukum oneu...@suse.de wrote: On Tue, 2015-01-20 at 16:18 +0400, Kirill Elagin wrote: I use a Logitech wireless keyboard

USB autosuspend causing trouble with bluetooth

2015-01-18 Thread Kirill Elagin
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. The situation looks

USB autosuspend causing trouble with bluetooth

2015-01-18 Thread Kirill Elagin
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. The situation looks