Changes between Version 7 and Version 8 of gscreboot


Ignore:
Timestamp:
08/23/2018 09:43:00 PM (6 years ago)
Author:
Ryan Erbstoesser
Comment:

add example for powerdown hook for indefinite sleep

Legend:

Unmodified
Added
Removed
Modified
  • gscreboot

    v7 v8  
    4444Gateworks recommend using an indefinite GSC sleep (documented below) rather than the poweroff / shutdown command directly.
    4545
     46For systems with GSC Drivers:
     47{{{#!bash
     48#2147483647 is the max integer for a 32 bit register
     49sync && echo 2147483647 > /sys/bus/i2c/devices/i2c-0/0-0020/powerdown
     50}}}
     51
     52Manual I2C Method:
    4653{{{#!bash
    4754i2cset -f -y 0 0x20 2 0xff