pwr-Solaar / Solaar

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

A feature to disable settings for a particular device #2653

Closed developersu closed 1 month ago

developersu commented 1 month ago

Information

``` solaar version 1.1.13 G512 RGB Mechanical Gaming Keyboard Device path : /dev/hidraw8 USB id : 046d:C33C Codename : G512 Kind : keyboard Protocol : HID++ 4.2 Report Rate : 1ms Serial number: Model ID: C33C00000000 Unit ID: 3337470D 0: U1 19.00.B0012 1: BOT 65.00.B60C0 Supports 20 HID++ 2.0 features: 0: ROOT {0000} V0 1: FEATURE SET {0001} V0 2: DEVICE FW VERSION {0003} V2 Firmware: Firmware U1 19.00.B0012 C33C Firmware: Bootloader BOT 65.00.B60C0 AADC Unit ID: 3337470D Model ID: C33C00000000 Transport IDs: {'usbid': 'C33C'} 3: KEYBOARD DISABLE BY USAGE {4522} V0 4: DEVICE NAME {0005} V0 Name: G513 Carbon GX Blue Kind: keyboard 5: unknown:1E00 {1E00} V0 hidden 6: KEYBOARD LAYOUT 2 {4540} V0 7: unknown:1EB0 {1EB0} V0 internal, hidden 8: REPORT RATE {8060} V0 Report Rate: 1ms Report Rate (saved): 1ms Report Rate : 1ms 9: DFUCONTROL SIGNED {00C2} V0 10: unknown:1801 {1801} V0 internal, hidden 11: DEVICE RESET {1802} V0 internal, hidden 12: PER KEY LIGHTING {8080} V2 13: COLOR LED EFFECTS {8070} V7 LED Control (saved): Device LED Control : Device LEDs Primary (saved): !LEDEffectSetting {ID: 1, color: 16711680, intensity: 0, period: 100, ramp: 0, speed: 0} LEDs Primary : !LEDEffectSetting {ID: 0} 14: unknown:1821 {1821} V0 15: REPORT HID USAGE {1BC0} V0 16: CONFIG DEVICE PROPS {1806} V3 internal, hidden 17: NEW FN INVERSION {40A2} V0 Fn-swap: disabled Fn-swap default: disabled Swap Fx function (saved): False Swap Fx function : False 18: REPROG CONTROLS V4 {1B04} V3 Key/Button Diversion (saved): {Next Color Effect:Regular, Increase Color Effect Speed:Regular, Decrease Color Effect Speed:Regular, Load Lighting Custom Profile:Regular} Key/Button Diversion : {Next Color Effect:Regular, Increase Color Effect Speed:Regular, Decrease Color Effect Speed:Regular, Load Lighting Custom Profile:Regular} 19: CONFIG CHANGE {0020} V0 Configuration: 11000000000000000000000000000000 Has 4 reprogrammable keys: 0: Next Color Effect , default: F8 => F8 is FN, FN sensitive, reprogrammable, divertable, persistently divertable, pos:1, group:0, group mask:empty reporting: default 1: Decrease Color Effect Speed, default: Laser Button => Laser Button is FN, FN sensitive, reprogrammable, divertable, persistently divertable, pos:1, group:0, group mask:empty reporting: default 2: Increase Color Effect Speed, default: F1 => F1 is FN, FN sensitive, reprogrammable, divertable, persistently divertable, pos:1, group:0, group mask:empty reporting: default 3: Load Lighting Custom Profile, default: Laser Button Long Press => Laser Button Long Press is FN, FN sensitive, reprogrammable, divertable, persistently divertable, pos:1, group:0, group mask:empty reporting: default Battery status unavailable. Bolt Receiver Device path : /dev/hidraw2 USB id : 046d:C548 Serial : 37313445374638453135384143413631 Has 1 paired device(s) out of a maximum of 6. Notifications: wireless, software present (0x000900) Device activity counters: 2=47 2: MX Master 3S Device path : None WPID : B034 Codename : MX Master 3S Kind : mouse Protocol : HID++ 4.5 Serial number: E8AC3583 Model ID: B03400000000 Unit ID: E8AC3583 1: BL1 69.00.B0003 0: RBM 22.00.B0003 3: The power switch is located on the (unknown). Supports 36 HID++ 2.0 features: 0: ROOT {0000} V0 1: FEATURE SET {0001} V0 2: DEVICE FW VERSION {0003} V4 Firmware: Bootloader BL1 69.00.B0003 B03438FCA4E6 Firmware: Firmware RBM 22.00.B0003 B03438FCA4E6 Firmware: Other Unit ID: E8AC3583 Model ID: B03400000000 Transport IDs: {'btleid': 'B034'} 3: DEVICE NAME {0005} V0 Name: MX Master 3S Kind: mouse 4: WIRELESS DEVICE STATUS {1D4B} V0 5: CONFIG CHANGE {0020} V0 Configuration: 11000000000000000000000000000000 6: CRYPTO ID {0021} V1 7: DEVICE FRIENDLY NAME {0007} V0 Friendly Name: MX Master 3S 8: UNIFIED BATTERY {1004} V3 Battery: 55%, discharging. 9: REPROG CONTROLS V4 {1B04} V5 Key/Button Actions (saved): {Left Button:Left Click, Right Button:Right Click, Middle Button:Mouse Middle Button, Back Button:Mouse Back Button, Forward Button:Mouse Forward Button, Mouse Gesture Button:Gesture Button Navigation, Smart Shift:Smart Shift} Key/Button Actions : {Left Button:Left Click, Right Button:Right Click, Middle Button:Mouse Middle Button, Back Button:Mouse Back Button, Forward Button:Mouse Forward Button, Mouse Gesture Button:Gesture Button Navigation, Smart Shift:Smart Shift} 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} 10: CHANGE HOST {1814} V1 Change Host : 2:desktop 11: HOSTS INFO {1815} V2 Host 0 (paired): honor Host 1 (paired): desktop Host 2 (paired): tablet 12: XY STATS {2250} V1 13: ADJUSTABLE DPI {2201} V2 Sensitivity (DPI) (saved): 1700 Sensitivity (DPI) : 1700 14: SMART SHIFT {2110} V0 Scroll Wheel Ratcheted (saved): Ratcheted Scroll Wheel Ratcheted : Ratcheted Scroll Wheel Ratchet Speed (saved): 10 Scroll Wheel Ratchet Speed : 10 15: HIRES WHEEL {2121} V1 Multiplier: 15 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 16: THUMB WHEEL {2150} V0 Thumb Wheel Direction (saved): True Thumb Wheel Direction : True Thumb Wheel Diversion (saved): False Thumb Wheel Diversion : False 17: WHEEL STATS {2251} V0 18: DFUCONTROL {00C3} V0 19: DEVICE RESET {1802} V0 internal, hidden, unknown:000010 20: unknown:1803 {1803} V0 internal, hidden, unknown:000010 21: CONFIG DEVICE PROPS {1806} V8 internal, hidden, unknown:000010 22: unknown:1816 {1816} V0 internal, hidden, unknown:000010 23: OOBSTATE {1805} V0 internal, hidden 24: unknown:1830 {1830} V0 internal, hidden, unknown:000010 25: unknown:1891 {1891} V7 internal, hidden, unknown:000008 26: unknown:18A1 {18A1} V0 internal, hidden, unknown:000010 27: unknown:1E00 {1E00} V0 hidden 28: unknown:1E02 {1E02} V0 internal, hidden 29: unknown:1602 {1602} V0 30: unknown:1EB0 {1EB0} V0 internal, hidden, unknown:000010 31: unknown:1861 {1861} V1 internal, hidden, unknown:000010 32: unknown:9300 {9300} V0 internal, hidden, unknown:000010 33: unknown:9001 {9001} V0 internal, hidden, unknown:000010 34: unknown:1E22 {1E22} V0 internal, hidden, unknown:000010 35: unknown:9205 {9205} V0 internal, hidden, unknown:000010 Has 8 reprogrammable keys: 0: Left Button , default: Left Click => Left Click mse, analytics key events, pos:0, group:1, group mask:g1 reporting: default 1: Right Button , default: Right Click => Right Click mse, analytics key events, pos:0, group:1, group mask:g1 reporting: default 2: Middle Button , default: Mouse Middle Button => Mouse Middle Button mse, reprogrammable, divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2 reporting: default 3: Back Button , default: Mouse Back Button => Mouse Back Button mse, reprogrammable, divertable, raw XY, analytics key events, 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, analytics key events, 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, analytics key events, pos:0, group:2, group mask:g1,g2 reporting: diverted, raw XY diverted 6: Smart Shift , default: Smart Shift => Smart Shift mse, reprogrammable, divertable, raw XY, analytics key events, pos:0, group:2, group mask:g1,g2 reporting: default 7: Virtual Gesture Button , default: Virtual Gesture Button => Virtual Gesture Button divertable, virtual, raw XY, force raw XY, pos:0, group:3, group mask:empty reporting: default Battery: 55%, discharging. ```

Is your feature request related to a problem? Please describe. I have a mouse and keyboard that are both supported by Solaar. I'm happy to use application to rule my mouse. However it always changes settings for the keyboard on start like backlight. I don't want that and I wanna use another app to rule my keyboard. E.g. when I apply changes for backlight in another app then running instance of the Solaar reverts all my setup! I don't want that! Solution is to close Solaar but I need it for my mouse

Describe the solution you'd like Add switch-key or something to stop interaction with hardware

Describe alternatives you've considered I dunno

Additional context :(

pfps commented 1 month ago

You can simply use the Solaar UI to ignore all the settings for the keyboard using the icons at the right-hand side of main Solaar window.

developersu commented 1 month ago

I can't. When I change settings using third-party application I see how keyboard icon at Solaar disappears for a second. Once it appears again everything I changed become ruined.

On right-hand side I change nothing. Like in this setup backlights turns off immediately and this is unwanted behavior in my case.

pic

pfps commented 1 month ago

Click on the lock ions until they turn to something like a "no entry" icon. That will prevent Solaar from changing that setting.

developersu commented 1 month ago

Well.. okay.. this way it works like a charm

Highly appreciate your assistance and thank you for your work <3