Bluetooth devices not reset correctly when turned off and on
Created by: PixlRainbow
Information
- Solaar version (
solaar --version
orgit describe --tags
if cloned from this repository): 1.1.0 from apt PPA - Distribution: Ubuntu 18.04.6
- Kernel version (ex.
uname -srmo
):Linux 4.15.0-163-generic x86_64 GNU/Linux
- Output of
solaar show
:
Wired Devices
1: Wireless Mouse MX Master 2S
Device path : /dev/hidraw2
USB id : 046d:B019
Codename : MX Master 2S
Kind : mouse
Protocol : HID++ 4.5
Serial number: ?
Model ID: B01940690000
Unit ID: 2CFD573C
Bootloader: BOT 56.01.B0006
Firmware: MPM 12.01.B0006
Firmware: MPM 12.01.B0006
Other:
Supports 29 HID++ 2.0 features:
0: ROOT {0000}
1: FEATURE SET {0001}
2: DEVICE FW VERSION {0003}
Firmware: Bootloader BOT 56.01.B0006 406916A9FC5401
Firmware: Firmware MPM 12.01.B0006 B01916A9FC5401
Firmware: Firmware MPM 12.01.B0006 406916A9FC5401
Firmware: Other
Unit ID: 2CFD573C Model ID: B01940690000 Transport IDs: {'btleid': 'B019', 'wpid': '4069'}
3: DEVICE NAME {0005}
Name: Wireless Mouse MX Master 2S
Kind: mouse
4: WIRELESS DEVICE STATUS {1D4B}
5: RESET {0020}
6: CRYPTO ID {0021}
7: BATTERY STATUS {1000}
Battery: 90%, discharging, next level 50%.
8: CONFIG DEVICE PROPS {1806} internal, hidden
9: CHANGE HOST {1814}
Change Host : 1:starlight-desktop
10: REPROG CONTROLS V4 {1B04}
Key/Button Actions (saved): {'195': 195, '196': 196, '80': 80, '81': 81, '82': 82, '83': 83, '86': 86}
Key/Button Actions : {'80': 80, '81': 81, '82': 82, '83': 83, '86': 86, '195': 195, '196': 196}
11: ADJUSTABLE DPI {2201}
Sensitivity (DPI) (saved): 1000
Sensitivity (DPI) : 1000
12: VERTICAL SCROLLING {2100}
Roller type: 3G
Ratchet per turn: 24
Scroll lines: 0
13: SMART SHIFT {2110}
Scroll Wheel Rachet (saved): 16
Scroll Wheel Rachet : 16
14: HIRES WHEEL {2121}
Multiplier: 8
Has invert: Normal wheel motion
Has ratchet switch: Normal wheel mode
Low resolution mode
HID notification
Scroll Wheel Direction (saved): False
Scroll Wheel Direction : False
Scroll Wheel Resolution (saved): False
Scroll Wheel Resolution : False
15: GESTURE 2 {6501}
Gestures (saved): {'45': True, '46': True}
Gestures : {'46': True, '45': True}
16: unknown:1813 {1813} internal, hidden
17: unknown:1830 {1830} internal, hidden
18: unknown:18A1 {18A1} internal, hidden
19: unknown:18C0 {18C0} internal, hidden
20: unknown:1DF3 {1DF3} internal, hidden
21: unknown:1E00 {1E00} hidden
22: unknown:1EB0 {1EB0} internal, hidden
23: unknown:1803 {1803} internal, hidden
24: unknown:1861 {1861} internal, hidden
25: unknown:9001 {9001} internal, hidden
26: unknown:9200 {9200} internal, hidden
27: unknown:9202 {9202} internal, hidden
28: OOBSTATE {1805} internal, hidden
Has 8 reprogrammable keys:
0: Left Button , default: Left Click => Left Click
mse, pos:0, group:1, group mask:g1
reporting: default
1: Right Button , default: Right Click => Right Click
mse, pos:0, group:1, group mask:g1
reporting: default
2: Middle Button , default: Mouse Middle Button => Mouse Middle Button
mse, reprogrammable, divertable, raw XY, pos:0, group:3, group mask:g1,g2,g3
reporting: default
3: Back Button , default: Mouse Back Button => Mouse Back Button
mse, reprogrammable, divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
4: Forward Button , default: Mouse Forward Button => Mouse Forward Button
mse, reprogrammable, divertable, raw XY, pos:0, group:2, group mask:g1,g2
reporting: default
5: Mouse Gesture Button , default: Gesture Button Navigation => Gesture Button Navigation
mse, reprogrammable, divertable, raw XY, pos:0, group:3, group mask:g1,g2,g3
reporting: default
6: Smart Shift , default: Smart Shift => Smart Shift
mse, reprogrammable, divertable, raw XY, pos:0, group:3, group mask:g1,g2,g3
reporting: default
7: Virtual Gesture Button , default: Virtual Gesture Button => Virtual Gesture Button
divertable, virtual, raw XY, force raw XY, pos:0, group:4, group mask:empty
reporting: default
Has 2 gesture(s), 0 param(s) and 4 spec(s):
Thumbwheel Enabled ( 0): True
NaturalScrolling Enabled ( 1): True
period unit Spec ( 3): 800
DVI field width Spec ( 1): 8
field widths Spec ( 2): 8
resolution Spec ( 4): 2048
Battery: 90%, discharging, next level 50%.
Describe the bug
When the MX Master 2S (connected via Bluetooth) is switched off and back on, or switched between different hosts without power cycling, gesture rules no longer apply. This occurs even when the Solaar GUI window is open throughout.
Settings re-apply when setting "mouse gestures" to "off" and then back to "mouse gesture button".
To Reproduce Steps to reproduce the behavior:
- Have this rule:
- "Mouse Gestures" initially set to "Mouse Gesture Button"
- Notice that pressing mouse gesture button does open the gnome activities overview via simulated shortcut keystroke
- Turn off the mouse with physical power switch
- Wait for Ubuntu to report disconnect
- Turn on the mouse with physical power switch
- Wait for Ubuntu and Solaar to report reconnect and mouse powered on
- Press the mouse gesture button and notice it has reset to its default behaviour of selecting the activity bar without opening the overview screen
- Switch the "Mouse Gestures" setting to "off" and then back to "Mouse Gesture Button"
- Clicking mouse gesture button now opens gnome activities overview via simulated shortcut keystroke
Steps 4 and 6 can be substituted with using the host switch button to change to a different host and back without power cycling.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.