Linux drivers
Linux device drivers
Drivers are not same on Windows as they are on Linux.
however ,under some circumstances, Windows device drivers can be loaded into a Linux kernel.
Drivers can be complied into the Linux kernel or as seperate modules.
If they are modules, they can be (un)loaded on demand.
list and find information about drivers
(see man pages)
modprobe
loads a kernel module.
rmmod
rmmod removes kernel modile.
lsmod
lists the currently loaded modules.
modinfo
shows info about a specific module.
lspci
lspci lsusb
lspci -nn # for names and numers
list what drivers are installed.
check the sub dir in /lib/modules/{kernel-version}kernel/drivers/
find /lib/modules/$(uname -r)/kernel/ -name '*.ko'
to find a specific driver , use grep , examples :
find /lib/modules/$(uname -r)/kernel/ -name '*.ko' | grep 'ax88179'
find /lib/modules/$(uname -r)/kernel/ -name '*.ko' | grep 'usb'
or replace the {kernel-version} after /lib/modules with your running version :
use uname -a # to see which version is running right now.
==> /lib/modules/3.2.0-0.bpo.2-amd64/kernel/drivers/
**/lib/modules/ 5.4.0-81-generic/kernel/drivers/
[[n my Linux frame buffer driver,it supports below resolutions and
refresh rate.
cat /sys/class/graphics/fb1/modes
command gives below supports