Skip to content

Commit

Permalink
Enabled smooth fan speed changes for the oryp7
Browse files Browse the repository at this point in the history
Commit requires #190 to be merged in order to work.
  • Loading branch information
MilesBHuff committed May 7, 2021
1 parent 2b73a89 commit 9fcac00
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/board/system76/oryp7/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@ CFLAGS+=\
-DPOWER_LIMIT_AC=180 \
-DPOWER_LIMIT_DC=28

# Smooth the fan speed updates such that 0-to-100 happens over this period.
# Divide by 4 for seconds, set SMOOTH_FANS=0 to disable entirely.
CFLAGS+=\
-DSMOOTH_FANS_UP=20 \
-DSMOOTH_FANS_DOWN=40

# Custom fan curve
CFLAGS+=-DBOARD_HEATUP=5
CFLAGS+=-DBOARD_COOLDOWN=20
CFLAGS+=-DBOARD_COOLDOWN=10
CFLAGS+=-DBOARD_FAN_POINTS="\
FAN_POINT(50, 25), \
FAN_POINT(51, 29), \
Expand Down Expand Up @@ -64,7 +70,7 @@ CFLAGS+=-DBOARD_FAN_POINTS="\
# Enable DGPU support
CFLAGS+=-DHAVE_DGPU=1
CFLAGS+=-DBOARD_DGPU_HEATUP=5
CFLAGS+=-DBOARD_DGPU_COOLDOWN=20
CFLAGS+=-DBOARD_DGPU_COOLDOWN=10
CFLAGS+=-DBOARD_DGPU_FAN_POINTS="\
FAN_POINT(50, 25), \
FAN_POINT(51, 29), \
Expand Down

0 comments on commit 9fcac00

Please sign in to comment.