diff options
author | Peter Wu <lekensteyn@gmail.com> | 2013-04-24 10:22:39 +0200 |
---|---|---|
committer | Peter Wu <lekensteyn@gmail.com> | 2013-04-24 10:22:39 +0200 |
commit | 50dbefc2ae98743a349a92f6e9922f2d5743e8c7 (patch) | |
tree | 9b089b190e8710fb57fb510442f87d105adbe16d | |
parent | 3e2049b48b56f945442b3223e3ac7a48c039fce8 (diff) | |
download | ltunify-50dbefc2ae98743a349a92f6e9922f2d5743e8c7.tar.gz |
ltunify: suggest loading hid-logitech-dj
-rw-r--r-- | ltunify.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |