New answers tagged kernel-modules
0
votes
information regarding can, can-dev kernel modules on Debian GNU/Linux 10 (buster) Linux 4.19.94-ti-r42
https://www.kernelconfig.io/config_can?arch=x86&kernelversion=4.19.279
This link shows the modules and what I would need to select in order to create them.
I searched for both can.ko and can-dev....
- 1
0
votes
How to unload kernel module 'nvidia-drm'?
I'm leaving this here just as a drastic last resort, you should avoid doing it like this if possible, first try other answers.
You can brutally kill all processes using the nvidia device and then ...
2
votes
Accepted
How to use gettimeofday in the kernel module?
The first rule of kernel development is that the C library isn’t available. In a kernel module, if you want to know the time, you should use the appropriate ktime accessor, for example
#include <...
- 393k
0
votes
Binding lsmod module name with kernel configuration menu entry
Be warned that the lsmod command lists module's name, not the module's filename. They may be different. For instance the aesni_intel module is located in a module file aesni-intel (hyphen, not ...
- 1
0
votes
WSL 2 does not have /lib/modules/
I was trying to do a Yocto build that worked fine on Ubuntu 22.04 native but failed on WSL2 because it couldn't find /lib/modules/5.15.90.1-microsoft-standard-WSL2:
murata-wireless/cyw-fmac - Build ...
- 137
0
votes
Linux Traffic Control (tc) not working without reboot
Found a way, depending on the RHEL release, but works for my uses.
yumdownloader --resolve kernel-modules-extra
rpm2cpio kernel-modules-extra-*.rpm | cpio -idmv
mv lib/modules/$(uname -r)/kernel/net/...
- 111
0
votes
Accepted
Reading PHY MII registers beyond 0x1F
I figured out how it works:
The basic standard MDIO address consists of 5 bits and therefore only the [0..32] range can be accessed directly. For devices that offer additional registers beyond the ...
- 41
0
votes
Kernel module to connect ps/2 keyboard to usb?
Enabling "legacy usb" in BIOS let's you use passive USB/PS2 (pin to pin) converters. And they work on windows.
I've never tried with linux though.
- 454
0
votes
Shared memory between user module and kernel module
To reduce the overhead of utilizing a communication library like netlink, leveraging shared memory between a kernel module and a user-level module is a potential alternative. To implement shared ...
Top 50 recent answers are included
Related Tags
kernel-modules × 1135linux-kernel × 325
linux × 297
kernel × 270
drivers × 168
debian × 85
compiling × 73
ubuntu × 59
modprobe × 48
usb × 44
wifi × 41
arch-linux × 36
fedora × 36
centos × 34
boot × 30
make × 30
virtualbox × 29
networking × 21
devices × 20
c × 20
rhel × 19
nvidia × 18
udev × 17
network-interface × 16
embedded × 16