[SHR] Frameworkd RequestResource patch
dreilly at atariland.net
Thu Feb 12 22:22:18 CET 2009
I do not know if this is addressed upstream or not, but there is a a
bug in the SHR unstable frameworkd  that caused resources requested
via RequestResource to never be released if there are no idle timeouts
set in frameworkd.conf. The patch  applied to  addresses the
issue without requiring those values to be set in the config file
(which is the default).
If there as a better place to send such things please let me know.
As a result, one can have pretty nice functionality with suspend and
resume with two additional rules in
# Disable suspend while USB plugged in.
filters: Not(HasAttr(status, "discharging"))
# Auto suspend.
filters: HasAttr(status, "suspend")
Dylan Maxwell Reilly
More information about the community