Top "Kernel-module" questions

A kernel module is a run-time loadable object file that is loaded into operating system kernel to add functionality to a running kernel.

Getting kernel version from linux kernel module at runtime

how can I obtain runtime information about which version of kernel is running from inside linux kernel module code (kernel …

linux-kernel kernel-module kernel-mode
How to find the version of a compiled kernel module?

I am in a situation where it would be very convenient to find the version of a loaded kernel module …

linux kernel-module
How can I obtain battery level inside a Linux kernel module?

I am trying to get the battery level inside a Linux kernel module (the module is inserted via modprobe). I …

linux-kernel kernel-module acpi
Insert linux kernel module statically

When building the Linux kernel from sources one could decide if a certain functionality is statically built into the kernel …

linux linux-kernel kernel kernel-module
Address mapping of PCI-memory in Kernel space

I'm trying to read and write to and PCI-device from a loadable kernel module. Therefore I follow this post: pci_…

c linux-kernel kernel kernel-module pci
Bluetooth over uart using hciattach?

I am using QN9021 SoC working in controller mode (BLE Bluetooth core specification v4.0). It supports some standard HCI commands …

linux bluetooth kernel-module bluez hci
Hello world kernel module for android & unknown relocation: 27 when insmod

I am trying to create a simple kernel module. I am trying to print messages to dmesg but i keep …

android module linux-kernel kernel kernel-module
Changing file permissions in kernel

I am writing kernel module(C in Linux) and I want to change the permission of the other files in …

c linux file-permissions kernel-module
Is there a size limit for kernel module in linux?

I have a problem loading a kernel module, there is a large data structure, around the size of 2Gb of …

linux-kernel kernel-module vmalloc