Skip to content

Commit

Permalink
Add support for Win Mini fan control.
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Nov 22, 2023
1 parent 0ea43ac commit 5d0a6b2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,18 @@
FAN_RPMWRITE_MAX=184
FAN_RPMVALUE_MAX=4968
FAN_IS_ADAPTED=True
elif PRODUCT_NAME in (
"G1617-01",
):
FAN_RAM_REG_ADDR=0x4E
FAN_RAM_REG_DATA=0x4F
FAN_RAM_MANUAL_OFFSET=0x47A
FAN_RAM_RPMWRITE_OFFSET=0x47A
FAN_RAM_RPMREAD_OFFSET=0x478
FAN_RAM_RPMREAD_LENGTH=2

FAN_RPMWRITE_MAX=244
FAN_RPMVALUE_MAX=6286
FAN_IS_ADAPTED=True
except Exception as e:
logging.error(f"风扇配置异常|{e}")

0 comments on commit 5d0a6b2

Please sign in to comment.