From a5cc1c4293f79f9b8b96c741112d52fe7fb5b5cc Mon Sep 17 00:00:00 2001 From: Raptor Engineering Development Team Date: Tue, 23 Jan 2018 03:11:27 -0600 Subject: Add skiboot state to IPL observer and LED monitor services This helps reduce issues with the OCCs dropping off the bus during skiboot initialization --- pyiplledmonitor/ipl_status_led_monitor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyiplledmonitor') 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() -- cgit v1.2.1