2020-02-18 02:02:33 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [[ -d /sys/devices/platform/SMF.512/hwmon/ ]]; then
|
|
|
|
cd /sys/devices/platform/SMF.512/hwmon/*
|
|
|
|
echo 0xcc > mb_poweron_reason
|
|
|
|
fi
|
2021-08-04 16:35:36 -05:00
|
|
|
|
|
|
|
io_rd_wr.py --set --val 40 --offset 0x131
|
|
|
|
io_rd_wr.py --set --val 06 --offset 210; io_rd_wr.py --set --val 0B --offset 211; io_rd_wr.py --set --val aa --offset 213
|
|
|
|
|
2020-04-28 15:16:19 -05:00
|
|
|
/usr/local/bin/s6100_i2c_enumeration.sh deinit & > /dev/null
|