Top "Linux-device-driver" questions

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

How to prevent "error: 'symbol' undeclared here" despite EXPORT_SYMBOL in a Linux kernel module?

I'm embedding some driver into a Linux kernel when I get this error (I'm adding the device in the board …

c linux-kernel linux-device-driver i2c
c++ device driver development in linux

I wanted to get more details for writing Graphics device drivers and audio device drivers using c++ for Linux box. …

c++ device-driver linux-device-driver
Function caller in linux kernel

Is there a way to get function caller in linux kernel? I know __func__ returns the function name which is …

linux-kernel linux-device-driver embedded-linux kernel kernel-mode
Some questions on dma_alloc_coherent

Is the DMA address returned from this call the same as the physical address? LDD3 says the DMA address should …

linux-kernel linux-device-driver dma
How can I pause for 100+ milliseconds in a linux driver module?

I'm writing a kernel driver for a device that produces regular amounts of data for reading periodically. The user space …

linux linux-kernel delay linux-device-driver
Linux Device Tree Help (GPIO controller/interrupts)

I've been learning about linux device trees and we've been trying to start porting some of our older code to …

linux linux-kernel linux-device-driver gpio device-tree
How to interpret addresses in a kernel oops

I have a kernel oops in a linux device driver I wrote. I want to determine which line is responsible …

linux kernel linux-device-driver
How do can I find out which Linux driver is hogging my GPIO?

I have a pad multiplxed as GPIO on my board. When I try to export it via /sys/class/gpio/…

linux-device-driver gpio
SCSI Read (10) and Write (10) with the SCSI Generic Interface

I try to issue a scsi read(10) and write(10) to a SSD. I use this example code as a reference/…

linux linux-device-driver scsi
Linux Kernel Modules: When to use try_module_get / module_put

I was reading the LKMPG ( See Section 4.1.4. Unregistering A Device ) and it wasn't clear to me when to use the …

linux-kernel linux-device-driver kernel-module