PixlOne / logiops

An unofficial userspace driver for HID++ Logitech devices
GNU General Public License v3.0
3.43k stars 272 forks source link

logiops silently exits with 0 with "Wireless Mouse MX Master 3" #409

Open ckiee opened 1 year ago

ckiee commented 1 year ago

The title, and the output from logid v0.3.3:

ckie@cookiemonster ~/git/nixpkgs -> sudo ./result/bin/logid -v; echo $?
[DEBUG] Unsupported device /dev/hidraw4 ignored
[DEBUG] Ignoring virtual node on /dev/hidraw1
[INFO] Detected receiver at /dev/hidraw0
[DEBUG] Unsupported device /dev/hidraw3 ignored
[DEBUG] Unsupported device /dev/hidraw5 ignored
[DEBUG] Unsupported device /dev/hidraw6 ignored
[DEBUG] Unsupported device /dev/hidraw7 ignored
0

I ran a git bisect and this regression was introduced in https://github.com/PixlOne/logiops/commit/dbe24f9350212c1ea68dc2de60f431117214fb0e, huge diff!

There may also be other bugs afoot but I cannot tell if they were fixed because logiops does not launch on any of these v0.3.x releases.

johantiden commented 1 year ago

Same here with 94f6dba

~/git/johantiden/logiops/build
❯ cmake -DCMAKE_BUILD_TYPE=Release ..
...
❯ sudo make install/local
~/git/johantiden/logiops/build
❯ sudo ./logid -v; echo $?
[DEBUG] Unsupported device /dev/hidraw0 ignored
[DEBUG] Unsupported device /dev/hidraw7 ignored
[DEBUG] Unsupported device /dev/hidraw1 ignored
[DEBUG] Ignoring virtual node on /dev/hidraw4
[DEBUG] Ignoring virtual node on /dev/hidraw5
[DEBUG] Ignoring virtual node on /dev/hidraw6
[INFO] Detected receiver at /dev/hidraw3
[DEBUG] Unsupported device /dev/hidraw2 ignored
[DEBUG] Failed to add device /dev/hidraw8 on try 1, backing off for 500ms
0

Not that my mouse is on hidraw1. The below line is missing:

[INFO] Device found: Wireless Mouse MX Master 3 on /dev/hidraw1:255
AlexLJordan commented 11 months ago

I have the same issue as OP after updating from 0.2.3 Gonna downgrade again, hope it's fixed eventually.