diff --git a/ODROID-U2.md b/ODROID-U2.md index 42712c7..7acb026 100644 --- a/ODROID-U2.md +++ b/ODROID-U2.md @@ -11,4 +11,22 @@ ctl.!default { type hw card 0 } -``` \ No newline at end of file +``` + +## CPU Fan +The optional CPU fan can be controlled via the `/sys/devices/platform/odroidu2-fan` +interface. + +``` +# echo auto > /sys/devices/platform/odroidu2-fan/fan_mode +# echo manual > /sys/devices/platform/odroidu2-fan/fan_mode +``` + +### Fan Speed (Manual Only) +Values range from 0 (0%) to 255 (100%) + +``` +# echo 0 > /sys/devices/platform/odroidu2-fan/pwm_duty +# echo 255 > /sys/devices/platform/odroidu2-fan/pwm_duty +``` +