i’ve googled, i’ve searched in this forum, i’ve searched in the wiki, i surfed trough yast… no success.
can anyone link to a guide of how to add kernel modules?
i want to add usbmon to my machine.
jg@Osuse** ~****$**cat /etc/os-release
PRETTY_NAME=“openSUSE Leap 42.2”
i downloaded kernel-devel but did not see any change in yast.
Hi and welcome to the Forum
No need to add the module, it’s already there;
vermagic: 4.4.92-18.36-default SMP mod_unload modversions
signer: openSUSE Secure Boot Signkey
If (as root user) run the command;
lsmod |grep usb
Should be in the list, if you want to make this persistent over reboots, add to a file in /etc/modules-load.d/ called usbmon.conf and in this file one line with the module name usbmon.
thanks. a lot.
anyway, out of curiosity… what is the procedure for adding a module to the kernel? coud you please lead me to some link about the issue?
So that sorted it out?
If the hardware is present it should all be added automatically when needed, if wanting to be loaded then the directory /etc/modules-load.d.
Or do you mean an out of kernel tree module, if so openSUSE uses a kmp rpm (SLE centric but applicable also for openSUSE);
You can load a Loadable Kernel Module using the modprobe command as Malcolm described in his first post.
These are only LKM.
There are other kernel modules which are not “loadable” so would be added to the base kernel image instead.