Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One successful run with MX Master 3S and following failures #461

Open
pkesso opened this issue May 30, 2024 · 2 comments
Open

One successful run with MX Master 3S and following failures #461

pkesso opened this issue May 30, 2024 · 2 comments

Comments

@pkesso
Copy link

pkesso commented May 30, 2024

I got 1 (one) successful run of v0.3.4 with MX Master 3S. Timeout was set to 50000 at that moment, but it doesn't seems to be important - mouse connected less than in 1 second. However, next times I tried to run it with the same config, the only thing I got was:

# time ./logid -v
[DEBUG] Unsupported device /dev/hidraw0 ignored
[DEBUG] Unsupported device /dev/hidraw1 ignored
[INFO] Detected receiver at /dev/hidraw2
[DEBUG] Unsupported device /dev/hidraw3 ignored

real    0m0,257s
user    0m0,007s
sys     0m0,012s

and exit code was 0.
There was no processes running in background, and reboot did not helped. What could it be?

Timeout parameter is also missing in config example btw.

@johnnogaj
Copy link

johnnogaj commented Nov 14, 2024

Sorry this is old but I was having a similar issue recently where I was able to get my MX Master 3S to connect and work one time, but anytime I would restart or shutdown and reboot the mouse would not work at all. I could see it connected via bluetooth but the logid service would not show it connected in the log.

Changing the logid.service to the following now works for my setup:

[Unit]
Description=Logitech Configuration Daemon
StartLimitIntervalSec=0
After=bluetooth.target
Wants=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/logid
User=root
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure

[Install]
WantedBy=graphical.target

The key item that I changed was to set the service to start After=bluetooth.target and this now seems to work well. I am connecting the mouse via bluetooth and not with the unifying receiver however, so this may not be applicable for connecting with a unifying receiver.

Don't forget to systemctl daemon-reload after changing the service file definition and then restart the logid service. I am on Ubuntu 24.04

@pkesso
Copy link
Author

pkesso commented Nov 14, 2024

@johnnogaj I got a new laptop; with the same, but freshly installed version of fedora and logid it works now.

Thank you for tip, however I don't think it is the same problem, since I dont use nor bluetooth connection, neither systemd. I had a problem using usb dongle (with the green symbol, new type) and manually started logid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants