Drop settings by lost connections
Hi there!
Debian 10, KDE
If I switch my MX Master 3 on/off OR switch Bluetooth on/off, logid doesn't work correctly.
My settings are dropped and I need to run forced systemclt restart logid
systemctl status logid MAYBE write me [WARN] Error ignored on detached thread/task: _readReport read failed: Input/output error (like a #180 )
Same on Ubuntu 18.04 and the logid didn't report any WARN or ERROR.
@meugr I had a temporary solution.
Add an udev rules in /etc/udev/rules.d/90-my.rules
# /etc/udev/rules.d/90-my.rules
ACTION=="add", SUBSYSTEM=="bluetooth", RUN{program}="/bin/systemctl restart logid.service"
and call
> sudo udevadm control --reload
This will restart logid service when a new bluetooth device added. If your mouse use the usb, you can modify "bluetooth" to "usb".
@ArtisticZhao Thanks, nice temporary hack. It's absolutely working for me
I have this issue with my MX master 3 mac.. the logid service is only outputing the following log after "Started Logitech Configuration Daemon"
logid[14471]: [WARN] Error ignored on detached thread/task: _readReport read failed: Input/output error
A bit better solution:
ACTION=="add", SUBSYSTEM=="input", ATTRS{id/vendor}=="046d", RUN{program}="/bin/systemctl restart logid.service"
this will trigger only when a Logitech device is connected. The previously suggested rule will trigger on any Bluetooth device (including non-Logitech ones)
if you want to be more granular you can use ATTRS{id/product}=="b019" (MX Master 2S in this example) or ATTRS{phys}=="00:11:22:33:44:55" to filter by a specific mac address. ATTRS{name}=="MX Master 2S Mouse" is also an option
This did not solve my issue...
A bit better solution:
ACTION=="add", SUBSYSTEM=="input", ATTRS{id/vendor}=="046d", RUN{program}="/bin/systemctl restart logid.service"this will trigger only when a Logitech device is connected. The previously suggested rule will trigger on any Bluetooth device (including non-Logitech ones)
if you want to be more granular you can use
ATTRS{id/product}=="b019"(MX Master 2S in this example) orATTRS{phys}=="00:11:22:33:44:55"to filter by a specific mac address.ATTRS{name}=="MX Master 2S Mouse"is also an option
That solve the issue for me.