Bug 2363047 - Incompatible hid_parser package used with Solaar
Summary: Incompatible hid_parser package used with Solaar
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: solaar
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-30 08:04 UTC by Szymon Pusz
Modified: 2025-05-18 01:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-15 01:55:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pwr-Solaar Solaar issues 2869 0 None open G Pro X Lightspeed headset not working 2025-04-30 11:37:37 UTC

Description Szymon Pusz 2025-04-30 08:04:07 UTC
Upstream Solaar includes specific hid_parser and hidapi versions at https://github.com/pwr-Solaar/Solaar/tree/master/lib/hid_parser and https://github.com/pwr-Solaar/Solaar/tree/master/lib/hidapi.
In Fedora repos it looks like at least hid_parser is stripped in the package and instead it is using system-wide version which is not fully compatible with what Solaar expects. This results that some devices don't work at all and Solaar crashes at startup.
This is raised upstream https://github.com/pwr-Solaar/Solaar/issues/2869 but it looks more like Fedora packaging problem where Solaar should be packaged with built-in hidapi/hid_parser versions and stop depending on system-wide versions.

Reproducible: Always

Steps to Reproduce:
1. Install Solaar with 'sudo dnf install solaar'
2. Attach various devices (may be hard) to USB
3. Run solaar -ddd and see for any errors like mentioned in https://github.com/pwr-Solaar/Solaar/issues/2869
Actual Results:
For some devices solar crashes with
Traceback (most recent call last):
  File "/usr/lib64/python3.13/threading.py", line 1041, in _bootstrap_inner
    self.run()
    ~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/logitech_receiver/listener.py", line 136, in run
    if self.receiver.ping():
       ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/logitech_receiver/device.py", line 544, in ping
    handle = self.handle or self.receiver.handle
                            ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'handle'

Expected Results:
Solaar starts without any errors and device is properly handled by the app

Comment 1 Dominik 'Rathann' Mierzejewski 2025-04-30 11:38:33 UTC
Thanks for the report. I'll take a look at the diff between upstream hid_parser and solaar's and see what I can do here.

Comment 2 Fedora Update System 2025-05-09 09:53:11 UTC
FEDORA-2025-7ff67514ed (python-hid-parser-0.0.3-11.20211206git4b7944f.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7ff67514ed

Comment 3 Fedora Update System 2025-05-09 09:53:14 UTC
FEDORA-2025-43b2f269d9 (python-hid-parser-0.0.3-11.20211206git4b7944f.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-43b2f269d9

Comment 4 Fedora Update System 2025-05-10 02:37:30 UTC
FEDORA-2025-7ff67514ed has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7ff67514ed`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7ff67514ed

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-05-10 02:52:17 UTC
FEDORA-2025-43b2f269d9 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-43b2f269d9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-43b2f269d9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-05-15 01:55:18 UTC
FEDORA-2025-7ff67514ed (python-hid-parser-0.0.3-11.20211206git4b7944f.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2025-05-18 01:36:24 UTC
FEDORA-2025-43b2f269d9 (python-hid-parser-0.0.3-11.20211206git4b7944f.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.