Top "Linux-device-driver" questions

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

kernel driver reading ok from user space, but writing back is always 0

So I'm working my way through kernel driver programming, and currently I'm trying to build a simple data transfer between …

linux linux-device-driver kernel-module serial-communication
Format specifier for printk loff_t types?

I am working on a Linux character device driver for a school assignment and am not sure how to print …

c linux linux-kernel linux-device-driver printk
Reason to pass data using struct inode and struct file in Linux device driver programming

I'm studying Chapter 3.5 of Linux Device Drivers, 3rd edition. This section introduces a method to retrieve a custom structure we …

c linux linux-kernel linux-device-driver inode
Allocating more than 4 MB of pinned contiguous memory in the Linux Kernel

For some interaction with a PCI device that is being built, we'd like to create large contiguous pieces of memory …

memory linux-kernel linux-device-driver
How to attach file operations to sysfs attribute in platform driver?

I wrote a platform driver for a peripheral we developed and would like to expose some configuration options to the …

linux-kernel linux-device-driver embedded-linux sysfs
what is the use of Flattened device tree - Linux Kernel

I am going through the Uboot & kernel startup process. What exactly is the use of the FDT (Flat device …

linux-kernel linux-device-driver u-boot device-tree
Linux suspend/resume code flow (on android phone)

Does anyone know any good reading on how the whole process and code flow are for android/linux suspend/resume (…

android linux linux-device-driver resume suspend
what is Gpio hog in device tree?

I am trying to set a pin mode in device tree for am335. I change the pinmux node in device …

linux linux-device-driver beagleboneblack device-tree
Accessing ethernet phy driver from linux user space

i want to access ethernet phy driver from linux user space, In uboot we can directly access phy registers using …

linux driver linux-device-driver network-driver
using persistant storage in linux kernel

I am trying to use persistent store(Pstore) available in linux kernel but somehow i am not getting the logs …

linux linux-kernel linux-device-driver embedded-linux device-driver