# run this command and then the 'ls' command detailed further down once the
# install has completed
# the kernel version you see will be 3.19.xx
sudo dkms install -m hp-wmi -v 1.01
Kernel preparation unnecessary for this kernel. Skipping...
applying patch bugzilla-69131.patch...patching file hp-wmi.c
Hunk #1 succeeded at 901 (offset 18 lines).
Building module:
cleaning build area....
make KERNELRELEASE=4.1.0+ -C /lib/modules/4.1.0+/build SUBDIRS=/var/lib/dkms/hp-wmi/1.01/build modules....
cleaning build area....
DKMS: build completed.
hp-wmi.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/4.1.0+/updates/dkms/
depmod.......
DKMS: install completed.
# if you saw all the above output then...
# run this command to check the module is present
ls -al /lib/modules/$(uname -r)/updates/dkms/
-rw-r--r-- 1 root root 26264 Aug 18 23:41 hp-wmi.ko