Skip to content

Commit

Permalink
Enabled smooth fan speed changes for the oryp7
Browse files Browse the repository at this point in the history
Config changes are from @curiousercreative's personal file.
Commit requires #190 to be merged in order to work.
  • Loading branch information
MilesBHuff committed May 1, 2021
1 parent cb47663 commit 95fd78c
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,8 +34,14 @@ CFLAGS+=\
-DPOWER_LIMIT_AC=180 \
-DPOWER_LIMIT_DC=28

# smooth the fan speed updates such that 0 to full speed happens over this period
# divide by 4 for seconds, set SMOOTH_FANS=0 to disable entirely
CFLAGS+=\
-DSMOOTH_FANS_UP=45 \
-DSMOOTH_FANS_DOWN=100

# Custom fan curve
CFLAGS+=-DBOARD_HEATUP=4
CFLAGS+=-DBOARD_HEATUP=3
CFLAGS+=-DBOARD_COOLDOWN=12
CFLAGS+=-DBOARD_FAN_POINTS="\
FAN_POINT(50, 25), \
Expand Down Expand Up @@ -63,7 +69,7 @@ CFLAGS+=-DBOARD_FAN_POINTS="\

# Enable DGPU support
CFLAGS+=-DHAVE_DGPU=1
CFLAGS+=-DBOARD_DGPU_HEATUP=4
CFLAGS+=-DBOARD_DGPU_HEATUP=3
CFLAGS+=-DBOARD_DGPU_COOLDOWN=12
CFLAGS+=-DBOARD_DGPU_FAN_POINTS="\
FAN_POINT(50, 25), \
Expand Down

0 comments on commit 95fd78c

Please sign in to comment.