On Tue, Aug 24, 2010 at 09:53:14AM +0200, Josselin Mouette wrote: > It looks like an interesting piece software, but having to choose > between one implementation that is slow and one that doesn’t support > quirks looks like a lose-lose situation to me. > > Are there any efforts underway to merge the two projects, or at least > their functionality?
Not as far as I know, and I'm not sure it would be possible. We talked about it in the pm-utils list, but it does not sound feasible. pm-utils achieves lots of flexibility by using rather complex shellscripts that source a large library of useful functions. Running those shellscripts on the freerunner takes seconds of real time: http://www.mail-archive.com/pm-ut...@lists.freedesktop.org/msg01952.html It also implements a "cancel resume" exit code from hooks, that is currently used to resuspend right away if the phone ususpended just because you unplugged your USB cable. Normal pm-utils won't be able to support that anytime soon, but they agreed to standardise the exit code (see the whole thread linked earlier). The lack of quirks support is not as bad as it sounds, as you'd use pm-utils-light on embedded hardware where you generally have an intimate relationship with the hardware and are either in a position to fix the drivers getting rid of the quirks, or in a need to handle quirks with hardware-specific custom code. I'd say that the systems that need quirk support are more than fast enough to handle standard pm-utils without issues. I wouldn't suggest people to install pm-utils-light unless they really know what they are doing. Ciao, Enrico -- GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enr...@enricozini.org>
signature.asc
Description: Digital signature