Package: solaar
Version: 1.0.4+dfsg-1
Severity: normal

Dear maintainer,

after upgrading from buster to bullseye I have the following error message in $HOME/.xsession-errors everytime when Solaar starts:

Solaar depends on a udev file that is not present
For more information see the Solaar installation directions
at https://pwr-solaar.github.io/Solaar/installation


Having a look at the code, it is quite obvious that Solaar requests a udev rules file with the name "42-logitech-unify-permissions.rules", but for some reason this file has been named "60-solaar.rules" in Debian. So there are two possible solutions:
(a) Rename 60-solaar.rules to 42-logitech-unify-permissions.rules to be in
    line with upstream.
(b) If it cannot be position 42 but has to stay at position 60 for some
    reason whatsoever, then you need to adapt line 141 in
    /usr/share/solaar/lib/solaar/gtk.py from

    udev_file = '42-logitech-unify-permissions.rules'

    to

    udev_file = '60-solaar.rules'


Moreover, 60-solaar.rules is missing the following lines compared to upstream's 42-logitech-unify-permissions.rules at least:

--- /lib/udev/rules.d/60-solaar.rules   2020-10-22 16:02:24 +0200
+++ /home/thomas/solaar/rules.d/42-logitech-unify-permissions.rules     
2020-03-30 16:56:11 +0200
@@ -20,6 +48,9 @@

 LABEL="solaar_apply"

+# don't apply to the paired peripherals, just the receivers
+DRIVERS=="logitech-djdevice|logitech-hidpp-device", GOTO="solaar_end"
+
 # Allow any seated user to access the receiver.
 # uaccess: modern ACL-enabled udev
 # udev-acl: for Ubuntu 12.10 and older


It really would be great if you could fix this for the version in bullseye given that there are already several bug reports on Github and Launchpad with respect to systems running Solaar on Ubuntu 20.04 LTS and I would expect that there will be new reports once bullseye is released.

Best regards,

Thomas Uhle



-- System Information:
Debian Release: 11.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 5.10.0-8-arm64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages solaar depends on:
ii  adduser                          3.118
ii  debconf [debconf-2.0]            1.5.77
ii  gir1.2-ayatanaappindicator3-0.1  0.5.5-2
ii  gir1.2-gtk-3.0                   3.24.24-4
ii  gir1.2-notify-0.7                0.7.9-3
ii  passwd                           1:4.8.1-1
ii  python3                          3.9.2-3
ii  python3-gi                       3.38.0-2
ii  python3-pyudev                   0.22.0-2
ii  udev                             247.3-6

Versions of packages solaar recommends:
ii  python3-dbus  1.2.16-5
ii  upower        0.99.11-2

solaar suggests no packages.

Reply via email to