info@embeddedgyan.com     +91 88841 76222

Hardware Interrupt, Software Interrupt and Work Queue Handlers – Part 1

article by: at: 1st Mar 2013 under: Linux Drivers

During Linux Device Driver development, when a driver function is executed, it can be executed in the following context: Application Context, when the application makes open(), read(), write(), close() or […]

Read more ›

Multiple Instance Support with Interrupt Handler, Work Queue and Mutex

article by: at: 26th Feb 2013 under: Linux Drivers

This post describes a sample design for handling multiple instances of a device. Here is an outline of the problem: There are three instances of the device. The device only […]

Read more ›

How to see kernel threads?

article by: at: 21st Feb 2013 under: Linux Drivers

If you are developing Linux device drivers, in order to better understand the Linux concepts, you might be interested to know the Linux kernel threads. For example, What is the […]

Read more ›

register_chrdev_region() and cdev_add()

article by: at: 21st Feb 2013 under: Linux Drivers

This article discusses the need for the register_chrdev_region() and cdev_add() interfaces. register_chrdev_region() function is used to reserve a range of major, minor number regions. cdev_add() is used to make an […]

Read more ›

wait_queue_head_t and wake_up()

article by: at: 20th Feb 2013 under: Linux Drivers

Linux has the wait_queue_head_t data structure for implementing blocking I/O operations. A process that wants to wait for a condition can call either of the following wait_event_xxx() functions: wait_event() wait_event_interruptible() […]

Read more ›

« Previous PageNext Page »