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

"Failed to start logid.service: Unit logid.service not found." When Trying To Start #483

Open
theCCoderr opened this issue Dec 15, 2024 · 0 comments

Comments

@theCCoderr
Copy link

I tried building and installing this app exactly as written in the github but I try to launch/start it, I get this error: "Failed to start logid.service: Unit logid.service not found."

I have created a logid.cfg file in /etc/ and nothing changed.

I tried pulling the github and building in another directory but got the same error.

Installation Log:

amrbasbous@Laptop:$ sudo apt install cmake libevdev-dev libudev-dev libconfig++-dev git
[sudo] password for amrbasbous:
cmake is already the newest version (3.30.3-1).
libevdev-dev is already the newest version (1.13.2+dfsg-1).
libudev-dev is already the newest version (256.5-2ubuntu3.1).
libconfig++-dev is already the newest version (1.5-0.4build2).
git is already the newest version (1:2.45.2-1ubuntu1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
amrbasbous@Laptop:
$ git clone https://github.com/PixlOne/logiops.git
Cloning into 'logiops'...
remote: Enumerating objects: 3500, done.
remote: Counting objects: 100% (629/629), done.
remote: Compressing objects: 100% (117/117), done.
remote: Total 3500 (delta 570), reused 529 (delta 512), pack-reused 2871 (from 1)
Receiving objects: 100% (3500/3500), 833.37 KiB | 2.31 MiB/s, done.
Resolving deltas: 100% (2522/2522), done.
amrbasbous@Laptop:$ cd logiops
amrbasbous@Laptop:
/logiops$ mkdir build
cd build
cmake ..
make
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.45.2")
Submodule 'src/ipcgull' (https://github.com/PixlOne/ipcgull.git) registered for path 'src/ipcgull'
Cloning into '/home/amrbasbous/logiops/src/ipcgull'...
Submodule path 'src/ipcgull': checked out 'cd0f9a8cefb5b2545e163fceb249fdbcbaf666aa'
LogiOps Version Number: v0.3.5
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.82.1
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.82.1
-- Build shared library: OFF
-- Build static library: ON
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'libevdev'
-- Found libevdev, version 1.13.2
-- Checking for module 'systemd'
-- Package 'systemd', required by 'virtual:world', not found
-- Checking for module 'libconfig'
-- Found libconfig, version 1.5
-- Checking for module 'libudev'
-- Found libudev, version 256
/home/amrbasbous/logiops/src/logid/../ipcgull/src/include
-- dbus system policy will be installed at /usr/share/dbus-1/system.d
-- Configuring done (11.9s)
-- Generating done (0.0s)
-- Build files have been written to: /home/amrbasbous/logiops/build
[ 1%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/function.cpp.o
[ 2%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/property.cpp.o
[ 4%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/signal.cpp.o
[ 5%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/interface.cpp.o
[ 7%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/node.cpp.o
[ 8%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/exception.cpp.o
[ 10%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/common_gdbus.cpp.o
[ 11%] Building CXX object src/ipcgull/CMakeFiles/ipcgull.dir/src/server_gdbus.cpp.o
[ 11%] Built target ipcgull
[ 13%] Linking CXX static library libipcgull.a
[ 13%] Built target ipcgull_static
[ 14%] Building CXX object src/logid/CMakeFiles/logid.dir/logid.cpp.o
[ 16%] Building CXX object src/logid/CMakeFiles/logid.dir/util/log.cpp.o
[ 17%] Building CXX object src/logid/CMakeFiles/logid.dir/config/config.cpp.o
[ 19%] Building CXX object src/logid/CMakeFiles/logid.dir/InputDevice.cpp.o
[ 20%] Building CXX object src/logid/CMakeFiles/logid.dir/DeviceManager.cpp.o
[ 22%] Building CXX object src/logid/CMakeFiles/logid.dir/Device.cpp.o
[ 23%] Building CXX object src/logid/CMakeFiles/logid.dir/Receiver.cpp.o
[ 25%] Building CXX object src/logid/CMakeFiles/logid.dir/Configuration.cpp.o
[ 26%] Building CXX object src/logid/CMakeFiles/logid.dir/features/DPI.cpp.o
[ 28%] Building CXX object src/logid/CMakeFiles/logid.dir/features/SmartShift.cpp.o
[ 29%] Building CXX object src/logid/CMakeFiles/logid.dir/features/HiresScroll.cpp.o
[ 31%] Building CXX object src/logid/CMakeFiles/logid.dir/features/RemapButton.cpp.o
[ 32%] Building CXX object src/logid/CMakeFiles/logid.dir/features/DeviceStatus.cpp.o
[ 34%] Building CXX object src/logid/CMakeFiles/logid.dir/features/ThumbWheel.cpp.o
[ 35%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/Action.cpp.o
[ 37%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/NullAction.cpp.o
[ 38%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/KeypressAction.cpp.o
[ 40%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/ToggleHiresScroll.cpp.o
[ 41%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/ToggleSmartShift.cpp.o
[ 43%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/CycleDPI.cpp.o
[ 44%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/ChangeDPI.cpp.o
[ 46%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/GestureAction.cpp.o
[ 47%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/ChangeHostAction.cpp.o
[ 49%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/ChangeProfile.cpp.o
[ 50%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/gesture/Gesture.cpp.o
[ 52%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/gesture/ReleaseGesture.cpp.o
[ 53%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/gesture/ThresholdGesture.cpp.o
[ 55%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/gesture/IntervalGesture.cpp.o
[ 56%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/gesture/AxisGesture.cpp.o
[ 58%] Building CXX object src/logid/CMakeFiles/logid.dir/actions/gesture/NullGesture.cpp.o
[ 59%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/Error.cpp.o
[ 61%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/raw/DeviceMonitor.cpp.o
[ 62%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/raw/RawDevice.cpp.o
[ 64%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/raw/IOMonitor.cpp.o
[ 65%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp10/Receiver.cpp.o
[ 67%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp10/ReceiverMonitor.cpp.o
[ 68%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp/Device.cpp.o
[ 70%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp/Report.cpp.o
[ 71%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp10/Error.cpp.o
[ 73%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp10/Device.cpp.o
[ 74%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/Device.cpp.o
[ 76%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/Error.cpp.o
[ 77%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/Feature.cpp.o
[ 79%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/EssentialFeature.cpp.o
[ 80%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/Root.cpp.o
[ 82%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/FeatureSet.cpp.o
[ 83%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/DeviceName.cpp.o
[ 85%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/Reset.cpp.o
[ 86%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/AdjustableDPI.cpp.o
[ 88%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/SmartShift.cpp.o
[ 89%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/ReprogControls.cpp.o
[ 91%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/HiresScroll.cpp.o
[ 92%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/ChangeHost.cpp.o
[ 94%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/WirelessDeviceStatus.cpp.o
[ 95%] Building CXX object src/logid/CMakeFiles/logid.dir/backend/hidpp20/features/ThumbWheel.cpp.o
[ 97%] Building CXX object src/logid/CMakeFiles/logid.dir/util/task.cpp.o
[ 98%] Building CXX object src/logid/CMakeFiles/logid.dir/util/ExceptionHandler.cpp.o
[100%] Linking CXX executable ../../logid
[100%] Built target logid
amrbasbous@Laptop:/logiops/build$ sudo make install
[ 11%] Built target ipcgull
[ 13%] Built target ipcgull_static
[100%] Built target logid
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/logid
-- Installing: /usr/share/dbus-1/system.d/pizza.pixl.LogiOps.conf
amrbasbous@Laptop:
/logiops/build$ sudo systemctl start logid
Failed to start logid.service: Unit logid.service not found.

/etc/logid.cfg:

devices: (
{
name: "Wireless Mouse MX Master 3S";
smartshift:
{
on: true;
threshold: 20;
};
hiresscroll:
{
hires: false;
invert: false;
target: false;
};
dpi: 1750;buttons: (
{
# Thumb button
cid: 0xc3;
action =
{
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_VOLUMEUP"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_VOLUMEDOWN"];
};
},
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_PREVIOUSSONG"];
};
},
{
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_NEXTSONG"];
}
},
{
direction: "None";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_PLAYPAUSE"];
}
}
);
};
},
{
# Button behind the scroll
cid: 0xc4;
action =
{
type = "ToggleSmartshift";
};
},
{
# Back button: Previous workspace
cid: 0x53;
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEUP"];
};
},
{
# Next button: Next workspace
cid: 0x56;
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEDOWN"];
};
});
});

"sudo logid -v" Output:

amrbasbous@Laptop:~/logiops/build$ sudo logid -v
[DEBUG] Unsupported device /dev/hidraw7 ignored
[DEBUG] Unsupported device /dev/hidraw1 ignored
[DEBUG] Unsupported device /dev/hidraw2 ignored
[INFO] Detected receiver at /dev/hidraw3
[DEBUG] Unsupported device /dev/hidraw4 ignored
[DEBUG] Unsupported device /dev/hidraw5 ignored
[DEBUG] Unsupported device /dev/hidraw6 ignored
[DEBUG] Unsupported device /dev/hidraw0 ignored
[INFO] Device found: MX Master 3S on /dev/hidraw3:1
[DEBUG] /dev/hidraw3:1 remappable buttons:
[DEBUG] CID | reprog? | fn key? | mouse key? | gesture support?
[DEBUG] 0x50 | | | YES |
[DEBUG] 0x51 | | | YES |
[DEBUG] 0x52 | YES | | YES | YES
[DEBUG] 0x53 | YES | | YES | YES
[DEBUG] 0x56 | YES | | YES | YES
[DEBUG] 0xc3 | YES | | YES | YES
[DEBUG] 0xc4 | YES | | YES | YES
[DEBUG] 0xd7 | YES | | | YES
[DEBUG] Thumb wheel detected (0x2150), capabilities:
[DEBUG] timestamp | touch | proximity | single tap
[DEBUG] YES | YES | YES | YES
[DEBUG] Thumb wheel resolution: native (18), diverted (120)

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

1 participant