Installing and using kernel modules installed using DKMS involves several (mostly automated) steps:
- (in your case) Add the PPA sources, refresh the packages list.
- Install the DKMS package with the package manager (
apt-get) which starts by copying the sources and automatic installation instructions to a standard directory (
- DKMS copies the file to its private directory.
- DKMS compiles the source code of the kernel module in its private directory.
- DKMS copies the compiled kernel module file to the modules directory (usually
- DKMS updates module dependencies so that you can use
modprobe <modname> instead of
insmod /lib/modules/<kernel version>/updates/<modname>.ko.
- You either load the kernel module manually (
modprobe <modname>) or a system component (udev) does it for you when you plug in your USB device.
Steps 1-6 are undone when purging the package. Step 7 is not automatically undone. Typically, a module stays loaded after it has loaded unless you manually remove it with
sudo rmmod <modname>. Use
lsmod to find out what name your module has, usually this is the same as
<modname>, but at least for nvidia drivers on Ubuntu, this is done different (you would use
modprobe nvidia-current, but use