diff -Nru systemd-208/debian/changelog systemd-208/debian/changelog --- systemd-208/debian/changelog 2014-08-07 01:11:33.000000000 -0400 +++ systemd-208/debian/changelog 2014-08-08 08:06:15.000000000 -0400 @@ -1,3 +1,10 @@ +systemd (208-7ubuntu5) UNRELEASED; urgency=medium + + * Add support for HP ProLiant m400 Server Cartridge soft powerdown + (LP: #1354306) + + -- dann frazier Fri, 08 Aug 2014 08:05:39 -0400 + systemd (208-7ubuntu4) utopic; urgency=medium * Lower Breaks: to lvm2 again. Our lvm2 package has always used udev for diff -Nru systemd-208/debian/patches/ProLiant-m400-power-button.patch systemd-208/debian/patches/ProLiant-m400-power-button.patch --- systemd-208/debian/patches/ProLiant-m400-power-button.patch 1969-12-31 19:00:00.000000000 -0500 +++ systemd-208/debian/patches/ProLiant-m400-power-button.patch 2014-08-08 07:52:52.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-208/debian/patches/series systemd-208/debian/patches/series --- systemd-208/debian/patches/series 2014-08-07 01:11:33.000000000 -0400 +++ systemd-208/debian/patches/series 2014-08-08 07:53:23.000000000 -0400 @@ -534,3 +534,4 @@ Create-disk-by-partlabel-links-for-mmcblk-partitions.patch Support-system-image-read-only-etc.patch ProLiant-m800-power-button.patch +ProLiant-m400-power-button.patch