Logitech G305 not fully detected
Author: fteppeCreated Jul 23, 2026Updated Aug 25, 2026
Labelsbug
Solaar 1.1.20 Fedora 44 Linux 7.1.4-200.fc44.x86_64 x86_64 GNU/Linux
Solaar show
flatpak run --branch=stable --arch=x86_64 --command=solaar io.github.pwr_solaar.solaar show
rules cannot access modifier keys in Wayland, accessing process only works on GNOME with Solaar Gnome extension installed
solaar version 1.1.20
Lightspeed Receiver
Device path : /dev/hidraw2
USB id : 046d:C53F
Serial : 3FFB3F92
C Pending : ff
0 : 55.02.B0009
1 : 00.00
3 : 00.00
Has 1 paired device(s) out of a maximum of 1.
Notifications: software present, wireless (0x000900)
Device activity counters: (empty)
1: G305 Lightspeed Wireless Gaming Mouse
Device path : /dev/hidraw3
WPID : 4074
Codename : G305
Kind : mouse
Protocol : HID++ 4.2
Report Rate : 1ms
Serial number: 26FEEA32
Model ID: 407400000000
Unit ID: E25456C3
1: BL2 66.00.B0004
0: RQM 78.00.B0004
The power switch is located on the base.
Supports 27 HID++ 2.0 features:
solaar: error: Traceback (most recent call last):
File "/app/lib/python3.13/site-packages/solaar/cli/__init__.py", line 244, in run
m.run(c, args, _find_receiver, _find_device)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/solaar/cli/show.py", line 479, in run
_print_device(dev, dev.number)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/solaar/cli/show.py", line 229, in _print_device
settings_templates.check_feature_settings(dev, dev_settings)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/logitech_receiver/settings_templates.py", line 4703, in check_feature_settings
if isinstance(setting, list):
^^^^^^^
UnboundLocalError: cannot access local variable 'setting' where it is not associated with a value
Describe the bug My Logitech mouse G305 is detected by solaar but it doesn't show any property to edit, only the remaining battery. I ran Solaar show and it showed an error in the python code
I also ran solaar -d show and got this result:
flatpak run io.github.pwr_solaar.solaar -d show
rules cannot access modifier keys in Wayland, accessing process only works on GNOME with Solaar Gnome extension installed
solaar version 1.1.20
Lightspeed Receiver
Device path : /dev/hidraw2
USB id : 046d:C53F
Serial : 3FFB3F92
C Pending : ff
0 : 55.02.B0009
1 : 00.00
3 : 00.00
Has 1 paired device(s) out of a maximum of 1.
Notifications: software present, wireless (0x000900)
Device activity counters: (empty)
1: G305 Lightspeed Wireless Gaming Mouse
Device path : /dev/hidraw3
WPID : 4074
Codename : G305
Kind : mouse
Protocol : HID++ 4.2
Report Rate : 1ms
Serial number: 26FEEA32
Model ID: 407400000000
Unit ID: E25456C3
1: BL2 66.00.B0004
0: RQM 78.00.B0004
The power switch is located on the base.
Supports 27 HID++ 2.0 features:
2026-07-23 13:59:24,914,914 ERROR [MainThread] logitech_receiver.base: (14) device 1 error on feature request {075B}: 2 = 2
2026-07-23 13:59:24,919,919 ERROR [MainThread] logitech_receiver.settings_templates: check_feature onboard_profiles [ONBOARD PROFILES] error {'number': 1, 'request': 1883, 'error': 2, 'params': b'\x00\x00\x00\x00'}
Traceback (most recent call last):
File "/app/lib/python3.13/site-packages/logitech_receiver/settings_templates.py", line 4636, in check_feature
detected = settings_class.build(device)
File "/app/lib/python3.13/site-packages/logitech_receiver/settings.py", line 92, in build
validator = validator_class.build(cls, device, **cls.validator_options)
File "/app/lib/python3.13/site-packages/logitech_receiver/settings_templates.py", line 583, in build
headers = hidpp20.OnboardProfiles.get_profile_headers(device)
File "/app/lib/python3.13/site-packages/logitech_receiver/hidpp20.py", line 1649, in get_profile_headers
chunk = device.feature_request(SupportedFeature.ONBOARD_PROFILES, 0x50, 0, 0, 0, i)
File "/app/lib/python3.13/site-packages/logitech_receiver/device.py", line 740, in feature_request
return hidpp20.feature_request(self, feature, function, *params, no_reply=no_reply)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/logitech_receiver/hidpp20.py", line 1758, in feature_request
return device.request((feature_index << 8) + (function & 0xFF), *params, no_reply=no_reply)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/logitech_receiver/device.py", line 700, in request
return self.low_level.request(
~~~~~~~~~~~~~~~~~~~~~~^
self.handle or (self.receiver.handle if self.receiver else None),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
protocol=self.protocol,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/app/lib/python3.13/site-packages/logitech_receiver/base.py", line 762, in request
raise exceptions.FeatureCallError(
...<4 lines>...
)
logitech_receiver.exceptions.FeatureCallError: {'number': 1, 'request': 1883, 'error': 2, 'params': b'\x00\x00\x00\x00'}
2026-07-23 13:59:24,919,919 WARNING [MainThread] logitech_receiver.settings_templates: ignore feature onboard_profiles because of error {'number': 1, 'request': 1883, 'error': 2, 'params': b'\x00\x00\x00\x00'}
solaar: error: Traceback (most recent call last):
File "/app/lib/python3.13/site-packages/solaar/cli/__init__.py", line 244, in run
m.run(c, args, _find_receiver, _find_device)
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/solaar/cli/show.py", line 479, in run
_print_device(dev, dev.number)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/solaar/cli/show.py", line 229, in _print_device
settings_templates.check_feature_settings(dev, dev_settings)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.13/site-packages/logitech_receiver/settings_templates.py", line 4703, in check_feature_settings
if isinstance(setting, list):
^^^^^^^
UnboundLocalError: cannot access local variable 'setting' where it is not associated with a value
To Reproduce Steps to reproduce the behavior:
- Connect the G305 mouse
- Run solaar show
Additional context
I managed to fix the issue by setting default value to setting in logitech_receiver/settings_templates.py
I wrote
setting = Noneat line 4691 before the "try" block.
But I'm not sure if this is a clean fix or not.
Source: pwr-Solaar/Solaar