После обновления и установки ядра 4.16 обнаружилась неприятная и странная вещь, проявляющаяся в том, что мышка временами подвисает.
Изучение логов показало такую картинку:
$ cat /var/log/kernel.log | grep 'MX Master'
Apr 20 09:47:35 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0034/input/input22
Apr 20 09:47:35 gaz-laptop kernel: hid-generic 0005:046D:B01E.0034: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Apr 23 09:46:42 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0038/input/input23
Apr 23 09:46:42 gaz-laptop kernel: hid-generic 0005:046D:B01E.0038: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Apr 24 09:07:20 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0039/input/input24
Apr 24 09:07:20 gaz-laptop kernel: hid-generic 0005:046D:B01E.0039: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Apr 25 09:36:58 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003A/input/input25
Apr 25 09:36:58 gaz-laptop kernel: hid-generic 0005:046D:B01E.003A: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Apr 26 10:06:53 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003B/input/input26
Apr 26 10:06:53 gaz-laptop kernel: hid-generic 0005:046D:B01E.003B: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Apr 27 10:39:41 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003C/input/input27
Apr 27 10:39:41 gaz-laptop kernel: hid-generic 0005:046D:B01E.003C: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Apr 28 09:28:43 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003D/input/input28
Apr 28 09:28:43 gaz-laptop kernel: hid-generic 0005:046D:B01E.003D: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Apr 28 15:59:31 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0001/input/input15
Apr 28 15:59:31 gaz-laptop kernel: hid-generic 0005:046D:B01E.0001: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 3 08:55:38 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0002/input/input16
May 3 08:55:38 gaz-laptop kernel: hid-generic 0005:046D:B01E.0002: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 3 14:14:59 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0001/input/input15
May 3 14:14:59 gaz-laptop kernel: hid-generic 0005:046D:B01E.0001: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 4 09:06:49 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0002/input/input16
May 4 09:06:49 gaz-laptop kernel: hid-generic 0005:046D:B01E.0002: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 7 09:16:51 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0003/input/input17
May 7 09:16:51 gaz-laptop kernel: hid-generic 0005:046D:B01E.0003: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 8 09:46:47 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0004/input/input18
May 8 09:46:47 gaz-laptop kernel: hid-generic 0005:046D:B01E.0004: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 14 09:24:16 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0006/input/input19
May 14 09:24:16 gaz-laptop kernel: hid-generic 0005:046D:B01E.0006: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 15 08:58:25 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0008/input/input20
May 15 08:58:25 gaz-laptop kernel: hid-generic 0005:046D:B01E.0008: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 00:44:44 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0009/input/input21
May 18 00:44:44 gaz-laptop kernel: hid-generic 0005:046D:B01E.0009: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 17 13:34:45 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0001/input/input15
May 17 13:34:45 gaz-laptop kernel: hid-generic 0005:046D:B01E.0001: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 10:24:49 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0001/input/input15
May 18 10:24:49 gaz-laptop kernel: hid-generic 0005:046D:B01E.0001: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 11:02:46 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0002/input/input16
May 18 11:02:46 gaz-laptop kernel: hid-generic 0005:046D:B01E.0002: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 11:06:38 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0003/input/input17
May 18 11:06:38 gaz-laptop kernel: hid-generic 0005:046D:B01E.0003: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 11:15:29 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0004/input/input18
May 18 11:15:29 gaz-laptop kernel: hid-generic 0005:046D:B01E.0004: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 12:08:23 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0005/input/input19
May 18 12:08:23 gaz-laptop kernel: hid-generic 0005:046D:B01E.0005: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 12:23:43 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0006/input/input20
May 18 12:23:43 gaz-laptop kernel: hid-generic 0005:046D:B01E.0006: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 13:16:51 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0007/input/input21
May 18 13:16:51 gaz-laptop kernel: hid-generic 0005:046D:B01E.0007: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 13:17:32 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0008/input/input22
May 18 13:17:32 gaz-laptop kernel: hid-generic 0005:046D:B01E.0008: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 13:18:52 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0009/input/input23
May 18 13:18:52 gaz-laptop kernel: hid-generic 0005:046D:B01E.0009: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 13:35:20 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.000A/input/input24
May 18 13:35:20 gaz-laptop kernel: hid-generic 0005:046D:B01E.000A: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 13:43:34 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.000B/input/input25
May 18 13:43:34 gaz-laptop kernel: hid-generic 0005:046D:B01E.000B: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 13:44:22 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.000C/input/input26
May 18 13:44:22 gaz-laptop kernel: hid-generic 0005:046D:B01E.000C: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 14:36:58 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.000D/input/input27
May 18 14:36:58 gaz-laptop kernel: hid-generic 0005:046D:B01E.000D: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 14:39:32 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.000E/input/input28
May 18 14:39:32 gaz-laptop kernel: hid-generic 0005:046D:B01E.000E: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 14:46:38 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.000F/input/input29
May 18 14:46:38 gaz-laptop kernel: hid-generic 0005:046D:B01E.000F: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 14:52:26 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0010/input/input30
May 18 14:52:26 gaz-laptop kernel: hid-generic 0005:046D:B01E.0010: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 15:11:29 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0011/input/input31
May 18 15:11:29 gaz-laptop kernel: hid-generic 0005:046D:B01E.0011: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 15:59:46 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0012/input/input32
May 18 15:59:46 gaz-laptop kernel: hid-generic 0005:046D:B01E.0012: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 16:14:09 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0013/input/input33
May 18 16:14:09 gaz-laptop kernel: hid-generic 0005:046D:B01E.0013: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 16:20:44 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0014/input/input34
May 18 16:20:44 gaz-laptop kernel: hid-generic 0005:046D:B01E.0014: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 16:26:21 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0015/input/input35
May 18 16:26:21 gaz-laptop kernel: hid-generic 0005:046D:B01E.0015: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:15:51 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0016/input/input36
May 18 17:15:51 gaz-laptop kernel: hid-generic 0005:046D:B01E.0016: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:19:30 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0017/input/input37
May 18 17:19:30 gaz-laptop kernel: hid-generic 0005:046D:B01E.0017: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:20:32 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0018/input/input38
May 18 17:20:32 gaz-laptop kernel: hid-generic 0005:046D:B01E.0018: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:32:22 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0019/input/input39
May 18 17:32:22 gaz-laptop kernel: hid-generic 0005:046D:B01E.0019: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:45:48 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.001A/input/input40
May 18 17:45:48 gaz-laptop kernel: hid-generic 0005:046D:B01E.001A: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:46:27 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.001B/input/input41
May 18 17:46:27 gaz-laptop kernel: hid-generic 0005:046D:B01E.001B: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:48:15 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.001C/input/input42
May 18 17:48:15 gaz-laptop kernel: hid-generic 0005:046D:B01E.001C: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:49:50 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.001D/input/input43
May 18 17:49:50 gaz-laptop kernel: hid-generic 0005:046D:B01E.001D: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:55:42 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.001E/input/input44
May 18 17:55:42 gaz-laptop kernel: hid-generic 0005:046D:B01E.001E: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 17:57:12 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.001F/input/input45
May 18 17:57:12 gaz-laptop kernel: hid-generic 0005:046D:B01E.001F: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 18:03:01 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0020/input/input46
May 18 18:03:01 gaz-laptop kernel: hid-generic 0005:046D:B01E.0020: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 21:08:50 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0021/input/input47
May 18 21:08:50 gaz-laptop kernel: hid-generic 0005:046D:B01E.0021: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 21:14:01 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0022/input/input48
May 18 21:14:01 gaz-laptop kernel: hid-generic 0005:046D:B01E.0022: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 21:37:02 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0023/input/input49
May 18 21:37:02 gaz-laptop kernel: hid-generic 0005:046D:B01E.0023: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 18 22:10:25 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0024/input/input50
May 18 22:10:25 gaz-laptop kernel: hid-generic 0005:046D:B01E.0024: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 09:32:27 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0025/input/input51
May 22 09:32:27 gaz-laptop kernel: hid-generic 0005:046D:B01E.0025: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 09:35:55 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0026/input/input52
May 22 09:35:55 gaz-laptop kernel: hid-generic 0005:046D:B01E.0026: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 09:39:01 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0027/input/input53
May 22 09:39:01 gaz-laptop kernel: hid-generic 0005:046D:B01E.0027: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 09:40:28 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0028/input/input54
May 22 09:40:28 gaz-laptop kernel: hid-generic 0005:046D:B01E.0028: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 09:41:55 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0029/input/input55
May 22 09:41:55 gaz-laptop kernel: hid-generic 0005:046D:B01E.0029: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 09:42:41 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.002A/input/input56
May 22 09:42:41 gaz-laptop kernel: hid-generic 0005:046D:B01E.002A: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 09:44:10 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.002B/input/input57
May 22 09:44:10 gaz-laptop kernel: hid-generic 0005:046D:B01E.002B: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 10:01:40 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.002C/input/input58
May 22 10:01:40 gaz-laptop kernel: hid-generic 0005:046D:B01E.002C: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 10:18:15 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.002D/input/input59
May 22 10:18:15 gaz-laptop kernel: hid-generic 0005:046D:B01E.002D: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 10:49:31 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.002E/input/input60
May 22 10:49:31 gaz-laptop kernel: hid-generic 0005:046D:B01E.002E: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 11:04:18 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.002F/input/input61
May 22 11:04:18 gaz-laptop kernel: hid-generic 0005:046D:B01E.002F: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 11:05:16 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0030/input/input62
May 22 11:05:16 gaz-laptop kernel: hid-generic 0005:046D:B01E.0030: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 11:09:39 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0031/input/input63
May 22 11:09:39 gaz-laptop kernel: hid-generic 0005:046D:B01E.0031: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 11:14:20 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0032/input/input64
May 22 11:14:20 gaz-laptop kernel: hid-generic 0005:046D:B01E.0032: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 11:56:57 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0033/input/input65
May 22 11:56:57 gaz-laptop kernel: hid-generic 0005:046D:B01E.0033: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 11:57:27 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0034/input/input66
May 22 11:57:27 gaz-laptop kernel: hid-generic 0005:046D:B01E.0034: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 12:02:21 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0035/input/input67
May 22 12:02:21 gaz-laptop kernel: hid-generic 0005:046D:B01E.0035: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 12:06:35 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0036/input/input68
May 22 12:06:35 gaz-laptop kernel: hid-generic 0005:046D:B01E.0036: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 13:34:14 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0037/input/input69
May 22 13:34:14 gaz-laptop kernel: hid-generic 0005:046D:B01E.0037: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 14:04:23 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0038/input/input70
May 22 14:04:23 gaz-laptop kernel: hid-generic 0005:046D:B01E.0038: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 16:44:25 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0039/input/input71
May 22 16:44:26 gaz-laptop kernel: hid-generic 0005:046D:B01E.0039: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 17:12:38 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003A/input/input72
May 22 17:12:38 gaz-laptop kernel: hid-generic 0005:046D:B01E.003A: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 17:13:50 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003B/input/input73
May 22 17:13:50 gaz-laptop kernel: hid-generic 0005:046D:B01E.003B: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 17:30:47 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003C/input/input74
May 22 17:30:47 gaz-laptop kernel: hid-generic 0005:046D:B01E.003C: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 17:41:18 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003D/input/input75
May 22 17:41:18 gaz-laptop kernel: hid-generic 0005:046D:B01E.003D: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 17:51:08 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003E/input/input76
May 22 17:51:08 gaz-laptop kernel: hid-generic 0005:046D:B01E.003E: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 22 18:15:05 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.003F/input/input77
May 22 18:15:05 gaz-laptop kernel: hid-generic 0005:046D:B01E.003F: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 23 08:47:45 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0040/input/input78
May 23 08:47:45 gaz-laptop kernel: hid-generic 0005:046D:B01E.0040: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
May 23 08:57:00 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0041/input/input79
May 23 08:57:00 gaz-laptop kernel: hid-generic 0005:046D:B01E.0041: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Обновление как раз случилось 18 мая (скачок во времени: смена часового пояса с разницей в 14 часов) и поплыло: вкл-выкл, выкл-вкл.
Рядом с данными строчками была следующая полезная информация:
May 22 12:06:31 gaz-laptop kernel: usb 1-1-port4: disabled by hub (EMI?), re-enabling...
May 22 12:06:31 gaz-laptop kernel: usb 1-1.4: reset full-speed USB device number 57 using ehci-pci
May 22 12:06:31 gaz-laptop kernel: usb 1-1.4: USB disconnect, device number 57
May 22 12:06:32 gaz-laptop kernel: usb 1-1.4: new full-speed USB device number 58 using ehci-pci
May 22 12:06:32 gaz-laptop kernel: usb 1-1.4: New USB device found, idVendor=0a5c, idProduct=21e6
May 22 12:06:32 gaz-laptop kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 22 12:06:32 gaz-laptop kernel: usb 1-1.4: Product: BCM20702A0
May 22 12:06:32 gaz-laptop kernel: usb 1-1.4: Manufacturer: Broadcom Corp
May 22 12:06:32 gaz-laptop kernel: usb 1-1.4: SerialNumber: F82FA8EBF32E
May 22 12:06:32 gaz-laptop kernel: Bluetooth: hci0: BCM: chip id 63
May 22 12:06:32 gaz-laptop kernel: Bluetooth: hci0: BCM: features 0x07
May 22 12:06:32 gaz-laptop kernel: Bluetooth: hci0: gaz-laptop
May 22 12:06:32 gaz-laptop kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 0462
May 22 12:06:33 gaz-laptop kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 0462
May 22 12:06:33 gaz-laptop kernel: Bluetooth: hci0: Broadcom Bluetooth Device
May 22 12:06:35 gaz-laptop kernel: input: MX Master as /devices/virtual/misc/uhid/0005:046D:B01E.0036/input/input68
May 22 12:06:35 gaz-laptop kernel: hid-generic 0005:046D:B01E.0036: input,hidraw0: BLUETOOTH HID v0.05 Keyboard [MX Master] on F8:2F:A8:EB:F3:2E
Примечательна первая строчка:
May 22 12:06:31 gaz-laptop kernel: usb 1-1-port4: disabled by hub (EMI?), re-enabling...
К сожалению, гугл даёт много булшита, кроме этой ветки форума: https://bbs.archlinux.org/viewtopic.php?id=236479
Изучение показало: виноват параметр модуля btusb
- enable_autosuspend
. Его установка по умолчанию зависит от параметра ядра CONFIG_BT_HCIBTUSB_AUTOSUSPEND
, вот как это выглядит в
коде:
static bool enable_autosuspend = IS_ENABLED(CONFIG_BT_HCIBTUSB_AUTOSUSPEND);
А в манжаро какого-то чёрта эту опцию включили:
$ cat /lib/modules/4.15.18-2-MANJARO/build/.config | grep CONFIG_BT_HCIBTUSB_AUTOSUSPEND
$ cat /lib/modules/4.16.8-1-MANJARO/build/.config | grep CONFIG_BT_HCIBTUSB_AUTOSUSPEND
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
Видим: в 4.15 - нет, в 4.16 есть и включена.
Выключаем опцию на лету:
echo N | sudo tee /sys/module/btusb/parameters/enable_autosuspend
И перманентно, создаём файл /etc/modprobe.d/btusb.conf
со следующим содержимым:
options btusb enable_autosuspend=n
Перед 23 мая были сделаны данные изменения и из лога видно, как изменилось поведение: один раз мышка нашлась когда пришёл и включил на работе, второй раз - переподавал питание на модуль Bluetooth.
Материалы:
- https://ljn917.wordpress.com/2018/03/01/disable-bluetooth-autosuspend/ - тут можно взять идею селективного управления автозасыпанием
- https://bbs.archlinux.org/viewtopic.php?id=236479 - собственно решение
- intel 8265 bluetooth no longer functions as of 4.16 - тут всё понятно