Top "Linux-device-driver" questions

Device drivers take on a special role in the Linux kernel.

proc_create() example for kernel module

Can someone give me proc_create() example? Earlier they used create_proc_entry() in the kernel but now they are …

linux-kernel linux-device-driver
Difference between .o and .ko file

I am writing simple Linux module mod.c. When I compile mod.c file, it creates two output file mod.…

linux-device-driver
kernel stack and user space stack

What's the difference between kernel stack and user stack? Why kernel stack is used? If a local variable is declared …

linux linux-kernel linux-device-driver
insmod error: inserting './hello.ko': -1 Invalid module format"

I have just made my first driver module, the hello world module following LDD3. However unfortunately encountered this error: insmod: …

linux linux-kernel linux-device-driver embedded-linux kernel-module
How to get linux kernel page size programmatically

I am working on a Linux module for IA64. My current problem is that the driver uses the PAGE_SIZE …

memory-management linux-device-driver dma
I2C Driver in Linux

I am aware of I2C in a very basic level which relies inside linux kernel, but no clue to …

linux-kernel linux-device-driver i2c
What is the difference between a Linux platform driver and normal device driver?

Earlier I had assumed that : Platform driver is for those devices that are on chip. Normal device driver are for …

c linux linux-kernel linux-device-driver
Linux Stack Sizes

I'm looking for a good description of stacks within the linux kernel, but I'm finding it surprisingly difficult to find …

linux linux-kernel linux-device-driver
How nl80211 library & cfg80211 work?

I want to learn about how nl80211 and cfg80211 works in detail. Function flow, how nl80211 interact with network tools …

c linux-kernel linux-device-driver wifi
Linux kernel device driver to DMA from a device into user-space memory

I want to get data from a DMA enabled, PCIe hardware device into user-space as quickly as possible. Q: How …

linux linux-kernel linux-device-driver dma