Skip to content

Commit

Permalink
added dedicated i2cset command to switch an ArgonONE case to "Always on"
Browse files Browse the repository at this point in the history
mode according to https://github.com/Argon40Tech/Argon-ONE-i2c-Codes.
Please note, however, that this seems to work only with newer ArgonONE HAT
hardware revisions or firmwares (see
Argon40Tech/Argon-ONE-i2c-Codes#1).
  • Loading branch information
jens-maus committed Aug 8, 2020
1 parent ba35307 commit 2997854
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ cleanup()
# install exit traps
trap cleanup EXIT INT TERM

# switch ArgonONE case to "always on"
# see https://github.com/Argon40Tech/Argon-ONE-i2c-Codes
# NOTE: This seems to require newer ArgonONE firmwares/hardware revisions
/usr/sbin/i2cset -y 1 0x1a 0xfe

# start fancontrol sub-process
fancontrol &
fancontrolPID=$!
Expand Down

0 comments on commit 2997854

Please sign in to comment.