diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | README.md | 13 | ||||
| -rw-r--r-- | dkms.conf | 3 |
3 files changed, 15 insertions, 3 deletions
@@ -13,4 +13,4 @@ clean: hid-tminit .PHONY: hid-tminit hid-tminit: - $(MAKE) -C hid-tminit $(MAKECMDGOALS) + $(MAKE) -C hid-tminit KDIR="$(KDIR)" $(MAKECMDGOALS) @@ -17,7 +17,16 @@ With that in mind, ## Installation -### Manual +### Dependencies + +Kernel modules require kernel headers to be installed. + ++ Debian-based: `apt install linux-headers-$(uname -m)` (typically `linux-headers-x86_64` ++ Arch-based: `pacman -S linux-headers` ++ Fedora-based: `yum install kernel-devel kernel-headers` + + +### Manual installation + Unplug wheel from computer + `git clone --recurse-submodules https://github.com/Kimplul/hid-tmff2.git` @@ -28,6 +37,8 @@ With that in mind, Done! +> Note: On some systems, you will get an error/warning about SSL. This is normal for unsigned modules. For info on signing modules yourself (completely optional), see [here](https://www.kernel.org/doc/html/latest/admin-guide/module-signing.html?highlight=module%20signing). + ### DKMS + Unplug wheel from computer @@ -6,7 +6,8 @@ AUTOINSTALL="yes" # this will cause the kernel module build to infer that it was invoked via # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting # the 'make' command name to suppress this behavior. -MAKE[0]="'make'" +MAKE[0]="'make' KDIR=\"$kernel_source_dir\"" +CLEAN[0]="'make' KDIR=\"$kernel_source_dir\" clean" # The list of kernel modules. #__DKMS_MODULES |
