Re: USB autosuspend causing trouble with bluetooth

2015-01-27 Thread Oliver Neukum
On Mon, 2015-01-26 at 21:00 +0400, Kirill Elagin wrote: > Things just got way worse with this hotplug thing. Is that a new test or did you update? > 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 But it

Re: USB autosuspend causing trouble with bluetooth

2015-01-27 Thread Oliver Neukum
On Mon, 2015-01-26 at 21:00 +0400, Kirill Elagin wrote: Things just got way worse with this hotplug thing. Is that a new test or did you update? 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 But it

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 we go. > >> Right now I

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 Oliver Neukum
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 think I see three possibly unrelated issues: > > Issue #1. BT

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 keyboard (with a Unifying

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Oliver Neukum
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 keyboard (with a Unifying receiver) and it > >> keeps working fine even with `auto`. > >> > >>

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 receiver is plugged before >>

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Oliver Neukum
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

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
I just realised I had an old USB BT-dongle so I tried it, and the trackpad was working fine with `auto` in `power/control`, so, yes, sounds like the builtin BT adapter is faulty. But here is a strange thing again: as with the keyboard I had to set `power/control` of the hub to `on` in order for

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
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`. But if I first set it to `auto`, then plug the receiver in, it is not detected (nothing in

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Oliver Neukum
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

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
I just realised I had an old USB BT-dongle so I tried it, and the trackpad was working fine with `auto` in `power/control`, so, yes, sounds like the builtin BT adapter is faulty. But here is a strange thing again: as with the keyboard I had to set `power/control` of the hub to `on` in order for

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Kirill Elagin
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`. But if I first set it to `auto`, then plug the receiver in, it is not detected (nothing in

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Oliver Neukum
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 Oliver Neukum
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

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 Oliver Neukum
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 (with a Unifying receiver) and it keeps working fine even with `auto`.

Re: USB autosuspend causing trouble with bluetooth

2015-01-20 Thread Oliver Neukum
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 think I see three possibly unrelated issues: Issue #1. BT trackpad

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 (with

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