BeagleBone: GPIO Linux Loadable Kernel Module (LKM) Development Demonstration
This video supports the third article in a series: “Writing a Linux Kernel Module — Part 3: Buttons and LEDs”. See http://www.derekmolloy.ie/kernel-gpio... The article is focused on education and training rather than a deep practical need. There are three different LKMs demonstrated in this video, each with its own individual purpose and needs: Example 1: Button Press, LED Light: In this example an LED lights when a button is pressed. To perform this task, kernel interrupts are required and the use of linux/gpio.h. This example is used to test the interrupt performance. Example 2: Enhanced Button GPIO Driver: This example is used to introduce kobjects and a mechanism for adding new entries to Sysfs. This allows you to send data to and receive data from the LKM at run time. The example also introduces the use of timing in kernel code. Example 3: Enhanced LED GPIO Driver: This example is used to flash an LED, which allows for a discussion on Linux kthreads. Essentially, an LED is flashed at a frequency using a kernel module, which can be controlled from Linux user space. All my articles are available at: http://www.derekmolloy.ie/ and my book is available at http://www.exploringbeaglebone.com/

How to Avoid Writing Device Drivers for Embedded Linux - Chris Simmonds, 2net

Beaglebone: An I2C Tutorial - Interfacing to a BMA180 Accelerometer

Understanding the Structure of a Linux Kernel Device Driver - Sergio Prado, Toradex

Linus Torvalds: AI Is Changing Linux Fast

Device Tree: hardware description for everybody !

Linus Torvalds: AI Can’t Think Like a Programmer

Embedded Linux Booting Process (Multi-Stage Bootloaders, Kernel, Filesystem)

New GPIO Interface for User Space - Bartosz Golaszewski, BGDev

I kept coding until an RTOS was inevitable

FPGAs Aren’t Processors (Unless You Want Them to Be) || FPGA Deep Dive and Use

Beaglebone: Introduction to GPIOs - Using Device Tree Overlays under Linux 3.8+

How Do Linux Kernel Drivers Work? - Learning Resource

Most Ridiculous Worker Mistakes Caught on Camera

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Android 17 sucks. So I put Linux on a phone.

Yocto Linux #3 - Hello World Kernel Module

Satisfying Machines Operating at an Insane Level

Beaglebone: GPIO Programming on ARM Embedded Linux

