ltunify: suggest loading hid-logitech-dj

This commit is contained in:
Peter Wu
2013-04-24 10:22:39 +02:00
parent 3e2049b48b
commit 50dbefc2ae

View File

@@ -921,6 +921,10 @@ int open_hidraw(void) {
"for %s\n", hiddev_name);
} else {
fprintf(stderr, "No Logitech Unifying Receiver device found\n");
if (access("/sys/module/hid_logitech_dj", F_OK)) {
fprintf(stderr, "Driver is not loaded, try:"
" sudo modprobe hid-logitech-dj\n");
}
}
}
globfree(&matches);