Results 1 to 2 of 2

Thread: make fan consistent upon reboot.

  1. #1
    Join Date
    Oct 2023
    Beans
    24

    make fan consistent upon reboot.

    hi there... I have a docker compose file that should mount this volume:
    /sys/devices/platform/cooling_fan/hwmon/hwmon3/fan1_input

    the weird thing is that sometimes the file is written in
    /sys/devices/platform/cooling_fan/hwmon/hwmon3/fan1_input
    and sometimes in
    /sys/devices/platform/cooling_fan/hwmon/hwmon2/fan1_input


    if I reboot it switched from hwmon2 to hwmon3 and viceversa


    why this file is not consistent upon reboot? is it possible to make it consistent upon reboot?

  2. #2
    Join Date
    Oct 2023
    Beans
    24

    Re: make fan consistent upon reboot.

    I solved by populating an environment variable with a bash script and using it in my docker compose.
    not the best practice I think, but it works.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •