G502 config section is duplicated every time Solaar is launched
Created by: a-priestley
Information
- Solaar version (
solaar --version
orgit describe --tags
if cloned from this repository):solaar 1.1.5
- Distribution:
Arch
- Kernel version (ex.
uname -srmo
):Linux 5.19.9-zen1-1-zen x86_64 GNU/Linux
- Output of
solaar show
:
Solaar version 1.1.5
USB and Bluetooth Devices
1: G502 Gaming Mouse
Device path : /dev/hidraw1
USB id : 046d:C07D
Codename : G502
Kind : mouse
Protocol : HID++ 4.2
Polling rate : 1 ms (1000Hz)
Serial number:
Model ID: 000000000000
Unit ID: 00000000
Firmware: U 88.02.B0017
Bootloader: BOT 14.00.B0007
Hardware: 72
Other:
Supports 20 HID++ 2.0 features:
0: ROOT {0000} V0
1: FEATURE SET {0001} V0
2: FEATURE INFO {0002} V0
3: DEVICE FW VERSION {0003} V0
Firmware: Firmware U 88.02.B0017
Firmware: Bootloader BOT 14.00.B0007
Firmware: Hardware 72
Firmware: Other
Unit ID: 00000000 Model ID: 000000000000 Transport IDs: {}
4: DEVICE NAME {0005} V0
Name: Tunable FPS Gaming Mouse G502
Kind: mouse
5: LED CONTROL {1300} V0
6: unknown:18A1 {18A1} V0 internal, hidden
7: unknown:1E00 {1E00} V0 hidden
8: unknown:1E20 {1E20} V0
9: unknown:1EB0 {1EB0} V0 internal, hidden
10: ADJUSTABLE DPI {2201} V0
Sensitivity (DPI) : 800
11: ANGLE SNAPPING {2230} V0
12: SURFACE TUNING {2240} V0
13: REPORT RATE {8060} V0
Polling Rate (ms): 1
Polling Rate (ms) : 1
14: ONBOARD PROFILES {8100} V0
Device Mode: Host
Onboard Profiles : Disable
15: MOUSE BUTTON SPY {8110} V0
16: unknown:1850 {1850} V0 internal, hidden
17: DFUCONTROL UNSIGNED {00C1} V0
18: unknown:1801 {1801} V0 internal, hidden
19: DEVICE RESET {1802} V0 internal, hidden
Battery status unavailable.
2: G733 Gaming Headset
Device path : /dev/hidraw2
USB id : 046d:0AB5
Codename : G733 Headset
Kind : headset
Protocol : HID++ 4.2
Serial number:
Model ID: 0AB500000000
Unit ID: FFFFFFFF
Firmware: U1 37.00.B0131
Supports 9 HID++ 2.0 features:
0: ROOT {0000} V0
1: FEATURE SET {0001} V0
2: DEVICE FW VERSION {0003} V2
Firmware: Firmware U1 37.00.B0131 0AB5
Unit ID: FFFFFFFF Model ID: 0AB500000000 Transport IDs: {'usbid': '0AB5'}
3: DEVICE NAME {0005} V0
Name: G733 Gaming Headset
Kind: None
4: COLOR LED EFFECTS {8070} V0
5: GKEY {8010} V0
Divert G Keys (saved): True
Divert G Keys : False
6: EQUALIZER {8310} V0
7: SIDETONE {8300} V0
Sidetone (saved): 65
Sidetone : {'number': 255, 'request': 1805, 'error': 5, 'params': b''}
8: ADC MEASUREMENT {1F20} V0
Battery status unavailable.
Battery status unavailable.
- Contents of
~/.config/solaar/config.yaml
(or~/.config/solaar/config.json
if~/.config/solaar/config.yaml
not present):
- 1.1.5
- _NAME: G733 Gaming Headset
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
onboard_profiles, report_rate, pointer_speed, dpi, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys,
divert-keys, disable-keyboard-keys, crown-smooth, divert-crown, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert,
gesture2-params, equalizer]
_battery: 7968
_modelId: 0AB500000000
_sensitive: {divert-gkeys: true, sidetone: true}
_unitId: FFFFFFFF
divert-gkeys: true
sidetone: 65
- _NAME: G502 Gaming Mouse
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
pointer_speed, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, sidetone,
equalizer]
_battery: 0
_modelId: '000000000000'
_unitId: '00000000'
dpi: 800
onboard_profiles: 2
report_rate: 1
- _NAME: G502 Gaming Mouse
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
pointer_speed, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, sidetone,
equalizer]
_battery: 0
_modelId: '000000000000'
_unitId: '00000000'
dpi: 800
onboard_profiles: 2
report_rate: 1
- _NAME: G502 Gaming Mouse
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
pointer_speed, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, sidetone,
equalizer]
_battery: 0
_modelId: '000000000000'
_unitId: '00000000'
dpi: 800
onboard_profiles: 2
report_rate: 1
- _NAME: G502 Gaming Mouse
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
pointer_speed, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, sidetone,
equalizer]
_battery: 0
_modelId: '000000000000'
_unitId: '00000000'
dpi: 800
onboard_profiles: 2
report_rate: 1
- _NAME: G502 Gaming Mouse
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
pointer_speed, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, sidetone,
equalizer]
_battery: 0
_modelId: '000000000000'
_unitId: '00000000'
dpi: 800
onboard_profiles: 2
report_rate: 1
- _NAME: G502 Gaming Mouse
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
pointer_speed, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, sidetone,
equalizer]
_battery: 0
_modelId: '000000000000'
_unitId: '00000000'
dpi: 800
onboard_profiles: 2
report_rate: 1
- _NAME: G502 Gaming Mouse
_absent: [hi-res-scroll, lowres-scroll-mode, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
pointer_speed, speed-change, backlight, backlight-timed, fn-swap, reprogrammable-keys, persistent-remappable-keys, divert-keys, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, change-host, gesture2-gestures, gesture2-divert, gesture2-params, sidetone,
equalizer]
_battery: 0
_modelId: '000000000000'
_unitId: '00000000'
dpi: 800
onboard_profiles: 2
report_rate: 1
- Errors or warrnings from Solaar:
ERROR [MainThread] logitech_receiver.base: (18) device 255 error on feature request {080D}: 5 = logitech internal
<- there are a few other Errors like this one, but they all pertain to the device 255 (the headset)
Describe the bug
I have two devices recognized by Solaar: a G733 wireless headset, and a G502 wired mouse. Every time Solaar is launched, ~/.config/solaar/config.yaml
is appended to with a duplicate of the section for G502.
To Reproduce Steps to reproduce the behavior:
- Launch Solaar
- Note the extra config section for G502