Skip to content

Instantly share code, notes, and snippets.

@rkok
Created August 7, 2024 07:54
Show Gist options
  • Save rkok/0d3b884a322100f6bd7abccaa1ce20b2 to your computer and use it in GitHub Desktop.
Save rkok/0d3b884a322100f6bd7abccaa1ce20b2 to your computer and use it in GitHub Desktop.
Get current fan speed for the Geekworm X-C1
echo $(($(cat /sys/class/pwm/pwmchip0/pwm0/duty_cycle) / 5000))%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment