Category Linux Kernel

Linux Kernel module programming

Linux Kernel PWM Driver with SYSFS

Intro In this post I presented a Linux kernel module that drives a GPIO pin on the Raspberry Pi as a PWM pin. That version allowed the user to change dutycycle and frequency of the PWM pulses by writing into… Continue Reading →

PWM Driver built on Threads in Linux Kernel Module  on Raspberry Pi

Intro This short post is an extension to my earlier post . If you read that post you will have noticed that the calculations of <b>tusec_On </b> and <b>tusec_Off</b>, which or the on- and off times of the PWM dutycycle, were… Continue Reading →

Bit Banging PWM Driver using a Kernel Module on Raspberry Pi

Intro In this post I am presenting the code for a linux kernel module that makes a GPIO pin of the Raspberry Pi act as a PWM pin using simple bit banging. The module is running in the Raspbian linux… Continue Reading →

Making sure a Program keeps on Running on Raspberry Pi

In this short post I would like to just write some useful notes I collected and tested of how to make sure a program keeps on running. I had this kind of ‘problem’ with my home-surveillance, which seemed to ‘crash’… Continue Reading →

© 2021 man made machines — Powered by WordPress

Theme by Anders NorenUp ↑