diff -Nru systemd-204/debian/changelog systemd-204/debian/changelog --- systemd-204/debian/changelog 2014-08-05 11:51:22.000000000 -0400 +++ systemd-204/debian/changelog 2014-08-08 08:13:17.000000000 -0400 @@ -1,3 +1,10 @@ +systemd (204-5ubuntu20.5) trusty; urgency=medium + + * Add support for HP ProLiant m400 Server Cartridge soft powerdown + (LP: #1354306) + + -- dann frazier Fri, 08 Aug 2014 13:45:25 +0200 + systemd (204-5ubuntu20.4) trusty-proposed; urgency=medium * Add HP ProLiant m800 Server Cartridge power control support. The cartridge diff -Nru systemd-204/debian/patches/ProLiant-m400-power-button.patch systemd-204/debian/patches/ProLiant-m400-power-button.patch --- systemd-204/debian/patches/ProLiant-m400-power-button.patch 1969-12-31 19:00:00.000000000 -0500 +++ systemd-204/debian/patches/ProLiant-m400-power-button.patch 2014-08-08 07:19:03.000000000 -0400 @@ -0,0 +1,16 @@ +Description: Add HP ProLiant m400 Server Cartridge power control support. + The cartridge uses gpio_keys.6 to emulate shutdown. +Author: dann frazier +Bug-Ubuntu: http://launchpad.net/bugs/1354306 + +Index: systemd-204/src/login/70-power-switch.rules +=================================================================== +--- systemd-204.orig/src/login/70-power-switch.rules ++++ systemd-204/src/login/70-power-switch.rules +@@ -10,5 +10,6 @@ ACTION=="remove", GOTO="power_switch_end + SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch" + SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch" + SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="platform", KERNELS=="gpio_keys.12", ATTRS{keys}=="116", PROGRAM="/bin/cat /proc/device-tree/model", RESULT=="HP ProLiant m800 Server Cartridge", TAG+="power-switch" ++SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="platform", KERNELS=="gpio-keys.6", PROGRAM="/bin/grep '^HP ProLiant m400 Server Cartridge$' /proc/device-tree/model", TAG+="power-switch" + + LABEL="power_switch_end" diff -Nru systemd-204/debian/patches/series systemd-204/debian/patches/series --- systemd-204/debian/patches/series 2014-08-05 11:50:29.000000000 -0400 +++ systemd-204/debian/patches/series 2014-08-07 12:29:53.000000000 -0400 @@ -27,3 +27,4 @@ add-cgmanager-support Advertise-hibernation-only-if-there-s-enough-free-sw.patch ProLiant-m800-power-button.patch +ProLiant-m400-power-button.patch