{"repo":"neggles/cm4io-fan","free":true,"listed":false,"github":"https://github.com/neggles/cm4io-fan","clone":"git clone https://github.com/neggles/cm4io-fan.git","description":"CM4 IO board PWM fan controller driver","language":"C","stars":85,"topics":["raspberry-pi","compute-module-4","cm4io","emc2301","fan","hwmon"],"license":"GPL-2.0","category":"self-hosted-apps","readme_excerpt":"cm4io-fan kernel module and device tree overlay to add support for the EMC2301 fan controller on the Raspberry Pi Compute Module 4 IO Board. Works with 5.10+ 64-bit kernels only. Uses Traverse Technologies' EMC2301 hwmon driver for their ten64 board, which you should definitely check out because it's awesome. Usage 1. Install dkms if you haven't already: 2. Download the latest source .tar.gz from the releases page 3. Untar it to /usr/src/cm4io-fan- and run the dkms install: 4. Add these lines to your /boot/config.txt (adjust the rpm values for your specific fan, defaults are 3500 / 5500) and reboot. See below for more config options. 5. Some distributions may not automatically load the kernel module despite the devicetree entry; Raspberry Pi OS does, Ubuntu 21.10 does not, etc. To make the module load, edit /etc/modules (or make a new file called /etc/modules-load.d/cm4io-fan.conf ), adding this line: Install from git 1. Install dkms if you haven't already: 2. Clone the repo 3. Run install.sh, feel free to inspect it yourself first. It will archive the current HEAD to /usr/src with an appropriate version, and run DKMS. Config options The device tree overlay has a few options, here's the equivalent of a /boot/overlays/README info section: many thanks to: - taudac/taudac-driver-dkms for helping me work out how the shit DKMS works - Traverse Technologies for the kernel module","default_branch":null,"files":null,"tree":[],"storefront":"/r/neggles","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/neggles/cm4io-fan/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}