Linux kernel drivers
-
Embedded Linux Device Drivers development – Part 6 – Communicating with kernel driver from user space – IOCTL
Introduction The part 5 of Linux driver series covered the concept of device file operations how they can be implemented and shared a module example for “open, read, write, close” actions. This article is a continuation to this series, and will present IOCTL system call how it can be implemented to perform file operations allowing…
-
Embedded Linux Device Drivers development – Part 5 – Communicating with kernel driver from user space – File operations
Introduction The previous post (part 4) discussed device files, how they can be created and managed in Linux kernel as an essential step for establishing communication between user application and kernel module. This article is a continuation of Linux kernel device driver series and will explain some concepts about device files operations. File operations are…
-
Embedded Linux Device Drivers development – Part 4 – Communicating with kernel driver from user space – Device file
Introduction The previous post (Part 3) explained the Major and Minor numbers and their role in Linux kernel. To remind, in order to communicate with the hardware from a user application, the application uses a system call to interact with the device file that recognizes the concerned module by its Major and Minor numbers, the…