summaryrefslogtreecommitdiffstats
path: root/pyiplledmonitor
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-01-23 03:11:27 -0600
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 10:28:12 +0000
commita5cc1c4293f79f9b8b96c741112d52fe7fb5b5cc (patch)
treef67c6fc432e5041749b2c24a34e39f4a65089d42 /pyiplledmonitor
parentb82ab7edd8e9cd533377d20ca5c9697af60dbb1b (diff)
downloadtalos-skeleton-a5cc1c4293f79f9b8b96c741112d52fe7fb5b5cc.tar.gz
talos-skeleton-a5cc1c4293f79f9b8b96c741112d52fe7fb5b5cc.zip
Add skiboot state to IPL observer and LED monitor services
This helps reduce issues with the OCCs dropping off the bus during skiboot initialization
Diffstat (limited to 'pyiplledmonitor')
-rw-r--r--pyiplledmonitor/ipl_status_led_monitor.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyiplledmonitor/ipl_status_led_monitor.py b/pyiplledmonitor/ipl_status_led_monitor.py
index 998e1a5..907ceeb 100644
--- a/pyiplledmonitor/ipl_status_led_monitor.py
+++ b/pyiplledmonitor/ipl_status_led_monitor.py
@@ -170,7 +170,8 @@ class IPLStatusLEDMonitor(DbusProperties, DbusObjectManager):
'18': 10,
'19': 10,
'20': 11,
- '21': 11
+ '21': 11,
+ '22': 12
}.get(self.current_ipl_istep_major, 0)
proc = subprocess.Popen(["i2cset", "-y", "12", "0x31", "0x10", str(128 + led_code)], stdout=subprocess.PIPE, stderr=open(os.devnull, 'wb'), shell=False)
(out, err) = proc.communicate()
OpenPOWER on IntegriCloud