mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
14 lines
465 B
Diff
14 lines
465 B
Diff
diff --git a/src/ckb-daemon/usb_linux.c b/src/ckb-daemon/usb_linux.c
|
|
index 8673f86..4714305 100644
|
|
--- a/src/ckb-daemon/usb_linux.c
|
|
+++ b/src/ckb-daemon/usb_linux.c
|
|
@@ -440,7 +440,7 @@ static void udev_enum(){
|
|
|
|
int usbmain(){
|
|
// Load the uinput module (if it's not loaded already)
|
|
- if(system("modprobe uinput") != 0)
|
|
+ if(system("@kmod@/bin/modprobe uinput") != 0)
|
|
ckb_warn("Failed to load uinput module\n");
|
|
|
|
// Create the udev object
|