I’m organizing a workshop on writing a simple kernel driver on Thursday November 13th 20:00: Workshop My first kernel driver - RevSpace
If you want to attend, please register on the wiki. If you do not have edit access to the RevSpace wiki, you can ask someone on RevSpace’s chat to add you to the list.
Important: participants will need to setup a kernel build environment before the workshop, see the preparation instructions.
Attendees will be given an USB (ch341t) to qwiic converter + a qwiic sht40 temperature/humidity sensor.
Preparation instructions + a ready-to-build driver to instantiate an i2c-device/-client for the sensor are available on github.
The goal of the workshop is for attendees to write their own (very simple) kernel driver for the sensor offering sysfs attributes providing temperature and humidity readings. Example code snippets of a skeleton i2c-driver and example communication code will be provided to make it possible to write a simple driver in 2 - 2.5 hours.
Attendees will be expected to know the C-programming language at an intermediate (or better) level.