Closed jasht1 closed 1 year ago
2023-10-29 @ 11:26
The problem seem to have been that I had 2 instances of logiops installed, one form trying apt install logiops
and one from source. I removed both and reinstalled from scratch and it solved my problem.
apt
versionhaving removed the the apt get
version I can still run logid
and have it work as expected & it has removed the system service that was previously enabled in systemctl
that couldn't use key press actions.
joeashton@pop-os:~$ sudo apt remove logiops
...
joeashton@pop-os:~$ systemctl status logid
○ logid.service
Loaded: masked (Reason: Unit logid.service is masked.)
Active: inactive (dead) since Sun 2023-10-29 11:25:15 GMT; 3min 41s ago
Main PID: 868 (code=killed, signal=TERM)
CPU: 407ms
Oct 29 11:15:34 pop-os systemd[1]: Started Logitech Configuration Daemon.
Oct 29 11:15:35 pop-os logid[868]: [WARN] Error adding device /dev/hidraw4: ope>
Oct 29 11:15:35 pop-os logid[868]: [WARN] Error adding device /dev/hidraw3: ope>
Oct 29 11:25:14 pop-os systemd[1]: Stopping Logitech Configuration Daemon...
Oct 29 11:25:15 pop-os systemd[1]: logid.service: Deactivated successfully.
Oct 29 11:25:15 pop-os systemd[1]: Stopped Logitech Configuration Daemon.
lines 1-12/12 (END)
joeashton@pop-os:~$ sudo logid
[INFO] Device found: Wireless Mouse MX Master on /dev/hidraw2:255
removing programs built form source with cmake is way less clean than I hoped hope.
joeashton@pop-os:/etc/systemd/system$ sudo rm logid.service
...
joeashton@pop-os:~$ sudo xargs -a /home/joeashton/logiops/build/install_manifest.txt rm
rm: cannot remove '/usr/bin/logid': No such file or directory
rm: cannot remove '/lib/systemd/system/logid.service': No such file or directory
joeashton@pop-os:~/Programs$ git clone https://github.com/PixlOne/logiops.git
...
joeashton@pop-os:~/Programs$ cd logiops
joeashton@pop-os:~/Programs/logiops$ mkdir build
joeashton@pop-os:~/Programs/logiops$ cd build
joeashton@pop-os:~/Programs/logiops/build$ cmake ..
...
joeashton@pop-os:~/Programs/logiops/build$ make
...
joeashton@pop-os:~/Programs/logiops/build$ sudo make install
...
joeashton@pop-os:~/Programs/logiops/build$ sudo systemctl enable --now logid
...
directly after install and systemctl enable
logid works as expected.
joeashton@pop-os:~/Programs/logiops/build$ systemctl status logid
● logid.service - Logitech Configuration Daemon
Loaded: loaded (/lib/systemd/system/logid.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-10-29 12:29:14 GMT; 10min ago
Main PID: 7229 (logid)
Tasks: 8 (limit: 18212)
Memory: 1.3M
CPU: 1.894s
CGroup: /system.slice/logid.service
└─7229 /usr/local/bin/logid
Oct 29 12:29:14 pop-os systemd[1]: Started Logitech Configuration Daemon.
Oct 29 12:29:18 pop-os logid[7229]: [INFO] Device found: Wireless Mouse MX Master on /dev/hidraw2:255
on reboot logiops continues to function as expected. Problem solved
Without initiating
logid
manually through the terminal none of my key press bindings worklibinput debug-events --show-keycodes
but have no effect beyond that. eg holding 0xc3 and moving down results in:as expected based on my config but not moving to the next virtual desktop as expected.
togglesmartshift
.I'm not sure if this issue is related to #166 as there are similarities, however in my case logid functions perfectly if I launch it manually in the terminal with
sudo logid
& that issue appears to be resolved. When I runsudo logid
:sudo logid -v
outputs:libinput debug-events --show-keycodes
reveals all expected keypresses are occurring twice, e.g. holding 0xc3 and moving down results in:successfully moves to next virtual desktop as intended.
I'm still very new to Linux (only 4 days in) so I would greatly appreciate some help with this.
Configuration & further info
Pop!_OS 22.04 LTS
using Wayland on Pop
Logiops version 0.2.2-2
Wireless Mouse MX Master
/etc/logid.cfg:
irrespective of whether lollipops is functioning properly the
systemctl status
is the samesystemctl status logid.service
outputs:Oct 28 03:00:12 pop-os systemd[1]: Started Logitech Configuration Daemon. Oct 28 03:00:12 pop-os logid[878]: [WARN] Error adding device /dev/hidraw3: open failed: No such file or directory Oct 28 03:00:12 pop-os logid[878]: [WARN] Error adding device /dev/hidraw4: open failed: No such file or directory ~ ~ lines 1-13/13 (END)