I'm still new to understanding the Linux kernel so please forgive the basic question. If you could point me to resources that I could read/watch that would be greatly appreciated.
Coming from Windows, the hardware driver workflow appears to be that you install the core operating system first, then install drivers separately.
With Linux it appears that all the drivers are compiled into the kernel directly - does that mean an installed Linux distro comes with support for all supported hardware, even if you only use a subset of that?
Does that mean installing something like the proprietary NVIDIA driver (which is not included in the kernel) will actually require recompiling the kernel with the NVIDIA driver - where distros like Ubuntu and Fedora provide pre-compiled kernels with the driver built in?
I recently installed a driver on my Linux install that added support for the Xbox wireless dongle. It used "DKMS" to add the driver to my system without compiling it into the kernel.
Is DKMS a method to add micro-kernel features to Linux? Why aren't all drivers distributed as dynamic modules? Aren't kernel modules already dynamic as they are installed under /ib/modules
?
How do dynamic kernel modules affect secure boot in the context of a self-signed Linux install?
modprobe
command does – jsotola Jul 30 '23 at 00:25all the drivers are compiled into the kernel directly
no, they are not - I have some (about a dozen) lite installs of Debian 12 (no desktop for example) ... and they have anywhere between 75 and 165 dynamically loaded drivers – Jaromanda X Jul 30 '23 at 00:42