One of nicer features of ivman is that it can replace outdated sys-power/acpid to handle ACPI events (using HAL). But currently it can't match 'Conditions' by their so-called 'detail'. This 'detail' is used by HAL to distinguish which of the power/sleep/wake-up keys has been used. So, currently ivman can only execute the same action for each of them. I've created simple patch, which allows ivman to match Conditions by their detail. It also does update manpages and sample XML files accordingly.
Created attachment 162292 [details, diff] condition detail matching
Created attachment 162293 [details, diff] Add condition detail patch to ebuild
Upstream says ivman needs a new maintainer and the last active one doesn't want to do anything with the code.
I've left the patch on upstream patch tracker for any future maintainer. I think we can close the bug with RESOLVED/UPSTREAM. I feel like we're going to drop ivman from portage soon.
closed as uzpstream for you, thanks