diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-15 21:19:48 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-06-15 21:23:31 -0400 |
commit | 57b53bd03732023f53603ed9438f3250306e9856 (patch) | |
tree | 6ce5754fb2171636e0ce1889a7fd5c410c4e1204 /configs | |
parent | 40187443840d0e419c13391b2091fda29d63dea4 (diff) | |
download | talos-skeleton-57b53bd03732023f53603ed9438f3250306e9856.tar.gz talos-skeleton-57b53bd03732023f53603ed9438f3250306e9856.zip |
Fix Firestone,Garrison i2c addresses for OCC
Previously these were hardcoded via a garrison layer patch.
When skeleton started looking for addresses in the system
configuration file and stopped hardcoding them, the garrison
and firestone files were updated but with the barreleye
addresses.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/Firestone.py | 4 | ||||
-rw-r--r-- | configs/Garrison.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/Firestone.py b/configs/Firestone.py index 4767178..988d09e 100644 --- a/configs/Firestone.py +++ b/configs/Firestone.py @@ -617,9 +617,9 @@ MISC_SENSORS = { 0x5f : { 'class' : 'BootCountSensor' }, 0x05 : { 'class' : 'BootProgressSensor' }, 0x08 : { 'class' : 'OccStatusSensor', - 'os_path' : '/sys/class/i2c-adapter/i2c-3/3-0050/online' }, + 'os_path' : '/sys/class/i2c-adapter/i2c-4/4-0050/online' }, 0x09 : { 'class' : 'OccStatusSensor', - 'os_path' : '/sys/class/i2c-adapter/i2c-3/3-0051/online' }, + 'os_path' : '/sys/class/i2c-adapter/i2c-5/5-0050/online' }, 0xb5 : { 'class' : 'OperatingSystemStatusSensor' }, 0xb3 : { 'class' : 'PowerCap', 'os_path' : '/sys/class/hwmon/hwmon3/user_powercap' }, diff --git a/configs/Garrison.py b/configs/Garrison.py index e8f0927..617f083 100644 --- a/configs/Garrison.py +++ b/configs/Garrison.py @@ -617,9 +617,9 @@ MISC_SENSORS = { 0x5f : { 'class' : 'BootCountSensor' }, 0x05 : { 'class' : 'BootProgressSensor' }, 0x08 : { 'class' : 'OccStatusSensor', - 'os_path' : '/sys/class/i2c-adapter/i2c-3/3-0050/online' }, + 'os_path' : '/sys/class/i2c-adapter/i2c-4/4-0050/online' }, 0x09 : { 'class' : 'OccStatusSensor', - 'os_path' : '/sys/class/i2c-adapter/i2c-3/3-0051/online' }, + 'os_path' : '/sys/class/i2c-adapter/i2c-5/5-0050/online' }, 0xb5 : { 'class' : 'OperatingSystemStatusSensor' }, 0xb3 : { 'class' : 'PowerCap', 'os_path' : '/sys/class/hwmon/hwmon3/user_powercap' }, |