LinuxDays 2025

Linux Driver Workshop
04.10.2025 , 345
Jazyk: English

This workshop provides a brief introduction to Linux driver programming. The aim is to control an RGB LED using a small Linux driver on a Raspberry Pi.

The workshop is interactive and the knowledge gained can be applied immediately. All you need is a laptop; the Raspberry Pis and other hardware will be provided.


The workshop covers the following topcis:

  • Brief overview of the tasks of a Kernel
  • Introduction to the I2C bus
  • Setting up a Raspberry Pi for driver programming
  • Writing a Hello World I2C Driver
  • Writing a Makefile to build the driver
  • Accessing the I2C bus from within a driver
  • How to communicate with the driver from userspace over sysfs

Required software: Texteditor, ssh client and sshfs

Required hardware: Laptop with a USB A and Ethernet connector or dongle

Required knowledge:
- First experience with the programming language C
- Being able to navigate the Bash shell
- Optional: first experience with Makefiles


Obtížnost:

Intermediate

Embedded Linux Youtuber