Top "Linux-device-driver" questions

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

What is the difference between .dts file and .dtsi file?

What is the difference between .dts file and .dtsi file? Is there a difference when generating device tree blobs? When …

linux linux-kernel linux-device-driver device-tree linux-development
Kernel module compilation and KBUILD_NOPEDANTIC

I've noticed that recent kernels (starting from 2.16.24?) don't like if CFLAGS is changed in external module Kbuild file. If CFLAGS …

linux makefile linux-kernel linux-device-driver
What is the difference between misc drivers and char drivers?

I'm reading about misc drivers in Linux, and I'm a little confused about the differences between them and char drivers. …

c linux linux-device-driver
How does the linux kernel manage less than 1GB physical memory?

I'm learning the linux kernel internals and while reading "Understanding Linux Kernel", quite a few memory related questions struck me. …

linux-kernel kernel arm linux-device-driver embedded-linux
Who calls "probe" function in driver code?

I am trying to understand this driver code of mcspi for omap2 panda board. I don't understand who calls the …

c linux-kernel linux-device-driver spi
what is the reason for this mmc reading in linux

what is the reason for this mmc reading problem in linux ..? please help to solve this...? please check my kernel …

linux linux-device-driver embedded-linux archlinux
Interrupts in Beaglebone

I am reading a hall sensor output in beaglebone gpio pin, for every rising edge the interrupt service routine needs …

linux embedded linux-device-driver embedded-linux beagleboard
tasklet, taskqueue, work-queue -- which to use?

I am going through ldd3 for last few months. I read first few chapters many times. These two links are …

linux-device-driver embedded-linux interrupt-handling
copy_to_user undefined in linux kernel version 4.12.8

In my project I am using char driver to communicate between user space and kernel space. I use the function …

linux linux-kernel linux-device-driver embedded-linux ubuntu-16.04
Is it possible to call a user-space callback function from kernel space in Linux (ioctl)?

Is it possible to expand the ioctl interface in Linux so that the user-space application can send a pointer to …

linux-kernel kernel linux-device-driver ioctl