* [PATCH skeleton v2 1/3] Add inventory fan5
2016-01-14 11:40 [PATCH skeleton v2 0/3] Add inventory fan5 OpenBMC Patches
@ 2016-01-14 11:40 ` OpenBMC Patches
2016-01-14 11:40 ` [PATCH skeleton v2 2/3] Initial fan LED status OpenBMC Patches
2016-01-14 11:40 ` [PATCH skeleton v2 3/3] Remove reboot function in power button, reboot is in reset button OpenBMC Patches
2 siblings, 0 replies; 4+ messages in thread
From: OpenBMC Patches @ 2016-01-14 11:40 UTC (permalink / raw)
To: openbmc; +Cc: Ken
From: Ken <ken.sk.lai@mail.foxconn.com>
---
bin/Barreleye.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/Barreleye.py b/bin/Barreleye.py
index f068ea1..ec4fab5 100755
--- a/bin/Barreleye.py
+++ b/bin/Barreleye.py
@@ -223,6 +223,7 @@ FRU_INSTANCES = {
'<inventory_root>/system/chassis/fan2' : { 'fru_type' : 'FAN','is_fru' : True, },
'<inventory_root>/system/chassis/fan3' : { 'fru_type' : 'FAN','is_fru' : True, },
'<inventory_root>/system/chassis/fan4' : { 'fru_type' : 'FAN','is_fru' : True, },
+ '<inventory_root>/system/chassis/fan5' : { 'fru_type' : 'FAN','is_fru' : True, },
'<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' },
--
2.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH skeleton v2 2/3] Initial fan LED status
2016-01-14 11:40 [PATCH skeleton v2 0/3] Add inventory fan5 OpenBMC Patches
2016-01-14 11:40 ` [PATCH skeleton v2 1/3] " OpenBMC Patches
@ 2016-01-14 11:40 ` OpenBMC Patches
2016-01-14 11:40 ` [PATCH skeleton v2 3/3] Remove reboot function in power button, reboot is in reset button OpenBMC Patches
2 siblings, 0 replies; 4+ messages in thread
From: OpenBMC Patches @ 2016-01-14 11:40 UTC (permalink / raw)
To: openbmc; +Cc: Ken
From: Ken <ken.sk.lai@mail.foxconn.com>
---
bin/startup_hacks.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/bin/startup_hacks.sh b/bin/startup_hacks.sh
index 18582ae..02fd3a8 100755
--- a/bin/startup_hacks.sh
+++ b/bin/startup_hacks.sh
@@ -2,3 +2,10 @@
systemctl stop serial-getty@ttyS0
+# Set to output pin
+i2cset -y 0x06 0x20 0x06 0x00
+i2cset -y 0x06 0x20 0x07 0x00
+
+# Turn on all fan LED to BLUE
+i2cset -y 0x06 0x20 0x03 0x55
+i2cset -y 0x06 0x20 0x02 0xaa
--
2.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH skeleton v2 3/3] Remove reboot function in power button, reboot is in reset button.
2016-01-14 11:40 [PATCH skeleton v2 0/3] Add inventory fan5 OpenBMC Patches
2016-01-14 11:40 ` [PATCH skeleton v2 1/3] " OpenBMC Patches
2016-01-14 11:40 ` [PATCH skeleton v2 2/3] Initial fan LED status OpenBMC Patches
@ 2016-01-14 11:40 ` OpenBMC Patches
2 siblings, 0 replies; 4+ messages in thread
From: OpenBMC Patches @ 2016-01-14 11:40 UTC (permalink / raw)
To: openbmc; +Cc: Ken
From: Ken <ken.sk.lai@mail.foxconn.com>
---
bin/chassis_control.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/bin/chassis_control.py b/bin/chassis_control.py
index 27e9152..0a0b44d 100755
--- a/bin/chassis_control.py
+++ b/bin/chassis_control.py
@@ -57,9 +57,6 @@ class ChassisControlObject(Openbmc.DbusProperties,Openbmc.DbusObjectManager):
bus.add_signal_receiver(self.power_button_signal_handler,
dbus_interface = "org.openbmc.Button", signal_name = "Released",
path="/org/openbmc/buttons/power0" )
- bus.add_signal_receiver(self.reset_button_signal_handler,
- dbus_interface = "org.openbmc.Button", signal_name = "PressedLong",
- path="/org/openbmc/buttons/power0" )
bus.add_signal_receiver(self.softreset_button_signal_handler,
dbus_interface = "org.openbmc.Button", signal_name = "Released",
path="/org/openbmc/buttons/reset0" )
@@ -184,7 +181,7 @@ class ChassisControlObject(Openbmc.DbusProperties,Openbmc.DbusObjectManager):
self.reboot();
def softreset_button_signal_handler(self):
- self.softReboot();
+ self.reboot();
def host_watchdog_signal_handler(self):
print "Watchdog Error, Hard Rebooting"
--
2.6.4
^ permalink raw reply related [flat|nested] 4+ messages in thread