Skip to content

Releases: dacarson/x-fan40-kernel

v1.0.2

24 Jun 21:05

Choose a tag to compare

v1.0.1

23 Jun 17:51

Choose a tag to compare

Bug fixes and test tool improvements

Bug fix: Coral apex temperature sources not discovered

Apex devices were silently ignored if NVMe was already present at module
load time. The retry gate (if (!temp_path_count)) was closed the moment
NVMe was found, so the Coral TPU was never polled and source always
reported nvme0 even when apex was hotter.

Discovery is now idempotent (duplicate path detection) and retries for up
to 30 poll cycles, resetting the counter whenever a new source appears.

test-fan40 improvements

  • --pwm <0-255> — switch to manual mode, set PWM duty cycle, wait 2 s,
    and print RPM. Fan stays in manual mode so you can test multiple values.
    Use --auto to restore thermal control when done.
  • --auto — restore pwm1_enable=2 (thermal framework control).
  • New Aux Sensor Status section showing aux_temp, source,
    fan_state, and fan_driver read directly from the module sysfs.
  • hwmon line now shows cooling state, pwm1_enable label
    (auto/manual/disabled), and PWM duty-cycle as a percentage.

v1.0.0

22 Jun 23:37

Choose a tag to compare

x-fan40-kernel v1.0.0

First release of the x-fan40 kernel module and device tree overlay for Raspberry Pi.

What's included

  • x-fan40 DT overlay — configures the PWM fan, tachometer, and CPU thermal zone
  • x-fan40-aux-thermal kernel module — virtual thermal sensor for auxiliary heat sources (Coral TPU, NVMe) that drives the fan alongside the CPU zone

Build and install

See README.md for full instructions.

Module info

  • Author: David Carson
  • License: Dual MIT/GPL
  • Version: 1.0.0