pwr-Solaar / Solaar

Linux device manager for Logitech devices
https://pwr-solaar.github.io/Solaar
GNU General Public License v2.0
5.54k stars 410 forks source link

MX Master 2S not setting Ratchet Speed #2115

Closed Massimo-B closed 1 year ago

Massimo-B commented 1 year ago

Information

``` solaar show solaar version 1.1.9 Unifying Receiver Device path : /dev/hidraw5 USB id : 046d:C52B Serial : 90E3927F Firmware : 12.11.B0032 Bootloader : 04.16 Other : AA.AA Has 2 paired device(s) out of a maximum of 6. Notifications: wireless, software present (0x000900) Device activity counters: 2=7 1: MX Anywhere 2S Device path : None WPID : 406A Codename : MX Anywhere 2S Kind : mouse Protocol : unknown (device is offline) Polling rate : 8 ms (125Hz) Serial number: C55F9F1B The power switch is located on the base. Battery: unknown (device is offline). 2: Wireless Mouse MX Master 2S Device path : None WPID : 4069 Codename : MX Master 2S Kind : mouse Protocol : HID++ 4.5 Polling rate : 8 ms (125Hz) Serial number: 27173902 Model ID: B01940690000 Unit ID: C4FCA0A7 Bootloader: BOT 56.01.B0006 Firmware: MPM 12.01.B0006 Firmware: MPM 12.01.B0006 Other: The power switch is located on the base. Supports 32 HID++ 2.0 features: 0: ROOT {0000} V0 1: FEATURE SET {0001} V0 2: DEVICE FW VERSION {0003} V2 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: C4FCA0A7 Model ID: B01940690000 Transport IDs: {'btleid': 'B019', 'wpid': '4069'} 3: DEVICE NAME {0005} V0 Name: Wireless Mouse MX Master 2S Kind: mouse 4: WIRELESS DEVICE STATUS {1D4B} V0 5: CONFIG CHANGE {0020} V0 6: CRYPTO ID {0021} V0 7: BATTERY STATUS {1000} V0 Battery: 90%, discharging, next level 50%. 8: CONFIG DEVICE PROPS {1806} V0 internal, hidden 9: CHANGE HOST {1814} V1 Change Host : 1:gentoo-mb 10: REPROG CONTROLS V4 {1B04} V3 Key/Button Actions (saved): {Left Button:Left Click, Right Button:Right Click, Middle Button:Smart Shift, Back Button:Mouse Back Button, Forward Button:Mouse Forward Button, Mouse Gesture Button:Gesture Button Navigation, Smart Shift:Mouse Middle Button} Key/Button Actions : {Left Button:Left Click, Right Button:Right Click, Middle Button:Smart Shift, Back Button:Mouse Back Button, Forward Button:Mouse Forward Button, Mouse Gesture Button:Gesture Button Navigation, Smart Shift:Mouse Middle Button} Key/Button Diversion (saved): {Middle Button:Regular, Back Button:Regular, Forward Button:Regular, Mouse Gesture Button:Mouse Gestures, Smart Shift:Regular} Key/Button Diversion : {Middle Button:Regular, Back Button:Regular, Forward Button:Regular, Mouse Gesture Button:Diverted, Smart Shift:Regular} 11: ADJUSTABLE DPI {2201} V1 Sensitivity (DPI) (saved): 2350 Sensitivity (DPI) : 2350 12: VERTICAL SCROLLING {2100} V0 Roller type: 3G Ratchet per turn: 24 Scroll lines: 0 13: SMART SHIFT {2110} V0 Scroll Wheel Ratcheted (saved): Ratcheted Scroll Wheel Ratcheted : Ratcheted Scroll Wheel Ratchet Speed (saved): 0 Scroll Wheel Ratchet Speed : 16 14: HIRES WHEEL {2121} V0 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 Scroll Wheel Diversion (saved): False Scroll Wheel Diversion : False 15: GESTURE 2 {6501} V0 Gestures (saved): {45: False, 46: True} Gestures : {46: True, 45: False} Gestures Diversion (saved): {46: False} Gestures Diversion : {46: False} 16: DFUCONTROL SIGNED {00C2} V0 17: unknown:1813 {1813} V0 internal, hidden 18: unknown:1830 {1830} V0 internal, hidden 19: unknown:1890 {1890} V0 internal, hidden 20: unknown:1891 {1891} V0 internal, hidden 21: unknown:18A1 {18A1} V0 internal, hidden 22: unknown:18C0 {18C0} V0 internal, hidden 23: unknown:1DF3 {1DF3} V0 internal, hidden 24: unknown:1E00 {1E00} V0 hidden 25: unknown:1EB0 {1EB0} V0 internal, hidden 26: unknown:1803 {1803} V0 internal, hidden 27: unknown:1861 {1861} V0 internal, hidden 28: unknown:9001 {9001} V0 internal, hidden 29: unknown:9200 {9200} V0 internal, hidden 30: unknown:9202 {9202} V0 internal, hidden 31: OOBSTATE {1805} V0 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 => Smart Shift 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: diverted, raw XY diverted 6: Smart Shift , default: Smart Shift => Mouse Middle Button 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 Diverted:( 0) False NaturalScrolling Enabled( 1): False Diverted:(None) None 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%. ```
``` cat .config/solaar/config.yaml - 1.1.9 - _NAME: Wireless Mouse MX Master 2S _absent: [hi-res-scroll, lowres-scroll-mode, thumb-scroll-invert, thumb-scroll-mode, onboard_profiles, report_rate, pointer_speed, speed-change, backlight, backlight-timed, fn-swap, persistent-remappable-keys, disable-keyboard-keys, crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, gesture2-params, sidetone, equalizer, adc_power_management] _battery: 4096 _dpi-sliding: 10 _modelId: B01940690000 _sensitive: {change-host: false, dpi: true, dpi-sliding: true, gesture2-gestures: true, mouse-gestures: false, reprogrammable-keys: true, scroll-ratchet: true, smart-shift: true} _serial: '27173902' _unitId: C4FCA0A7 _wpid: '4069' change-host: null divert-keys: {82: 0, 83: 0, 86: 0, 195: 2, 196: 0} dpi: 2350 gesture2-divert: {46: false} gesture2-gestures: {45: false, 46: true} hires-scroll-mode: false hires-smooth-invert: false hires-smooth-resolution: false reprogrammable-keys: {80: 80, 81: 81, 82: 196, 83: 83, 86: 86, 195: 195, 196: 82} scroll-ratchet: 2 smart-shift: 0 ```

Hi, setting Scroll Wheel Ratched Speed was working in the past but does report a "Read/write operation failed" now. Having Ratcheted enabled, there is some threshold speed as it automatically switches when moving very fast, but I can't change that anymore.

pfps commented 1 year ago

I don't think anything has changed with this.

Can you try setting the ratchet speed with solaar config MX smart-shift 24. If you have more than one MX device you will have to change that argument to more of the device name (remember to quote it if you have to include spaces).

If that doesn't work, provide output of solaar -ddd config MX smart-shift 24.

Massimo-B commented 1 year ago
$ solaar config "Wireless Mouse MX Master 2S" smart-shift 24
Setting smart-shift of Wireless Mouse MX Master 2S to 24
$ solaar config "Wireless Mouse MX Master 2S" smart-shift 8
Setting smart-shift of Wireless Mouse MX Master 2S to 8

Works.

After that, also the setting via GUI works. Seems like it has repaired some invalid value, eventhough before doing the set on CLI I have looked at solaar config "Wireless Mouse MX Master 2S" and found smart-shift = 16 just as usual.