Debian Bug report logs - #594099
RFP: pm-utils-light -- pm-utils replacement for embedded hardware

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Enrico Zini <enrico@debian.org>

Date: Mon, 23 Aug 2010 17:15:04 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-devel@lists.debian.org, wnpp@debian.org:
Bug#594099; Package wnpp. (Mon, 23 Aug 2010 17:15:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Enrico Zini <enrico@debian.org>:
New Bug report received and forwarded. Copy sent to debian-devel@lists.debian.org, wnpp@debian.org. (Mon, 23 Aug 2010 17:15:07 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Enrico Zini <enrico@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ITP: pm-utils-light -- pm-utils replacement for embedded hardware
Date: Mon, 23 Aug 2010 18:12:10 +0100
Package: wnpp
Severity: wishlist
Owner: Enrico Zini <enrico@debian.org>

* Package name    : pm-utils-light
  Version         : 0.6
  Upstream Author : Enrico Zini <enrico@enricozini.org>
* URL             : http://pkg-fso.nomeata.de/sid/pm-utils-light
* License         : GPL
  Programming Lang: C
  Description     : pm-utils replacement for embedded hardware

 Pros:
 * It tries its best to run hooks in exactly the same way as pm-utils.
 * It's faster
 * It can load hooks from a .so file, which is much faster, avoids
   context switches and allows to keep state conveniently in memory.
 * .so files will be loaded also if they are not executable. Install a
   non-executable .so file to have it loaded by pm-utils light but ignored by
   pm-utils.
 * It allows to cancel a resume, for example in order to go back to sleep in
   case of a resume for usb disconnect.
 .
 Cons:
 * No support for quirks
 * It does not ship the functions and pm-functions shell libraries, so plugins
   cannot make use of them


This is currently available in the pkg-fso repository. It gained a few
users, and I've been asked to upload it to sid.

Some more details in this announcement:
http://lists.alioth.debian.org/pipermail/pkg-fso-maint/2009-November/002223.html

Ciao,

Enrico




Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Enrico Zini <enrico@debian.org>:
Bug#594099; Package wnpp. (Tue, 24 Aug 2010 07:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josselin Mouette <joss@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Enrico Zini <enrico@debian.org>. (Tue, 24 Aug 2010 07:57:04 GMT) Full text and rfc822 format available.

Message #10 received at 594099@bugs.debian.org (full text, mbox):

From: Josselin Mouette <joss@debian.org>
To: 594099@bugs.debian.org
Cc: debian-devel@lists.debian.org
Subject: Re: Bug#594099: ITP: pm-utils-light -- pm-utils replacement for embedded hardware
Date: Tue, 24 Aug 2010 09:53:14 +0200
Le lundi 23 août 2010 à 18:12 +0100, Enrico Zini a écrit :
>   Description     : pm-utils replacement for embedded hardware
> 
>  Pros:
>  * It tries its best to run hooks in exactly the same way as pm-utils.
>  * It's faster
>  * It can load hooks from a .so file, which is much faster, avoids
>    context switches and allows to keep state conveniently in memory.
>  * .so files will be loaded also if they are not executable. Install a
>    non-executable .so file to have it loaded by pm-utils light but ignored by
>    pm-utils.
>  * It allows to cancel a resume, for example in order to go back to sleep in
>    case of a resume for usb disconnect.
>  .
>  Cons:
>  * No support for quirks
>  * It does not ship the functions and pm-functions shell libraries, so plugins
>    cannot make use of them

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?

Cheers,
-- 
 .''`.
: :' :     “You would need to ask a lawyer if you don't know
`. `'       that a handshake of course makes a valid contract.”
  `-        --  J???rg Schilling





Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Enrico Zini <enrico@debian.org>:
Bug#594099; Package wnpp. (Tue, 24 Aug 2010 09:06:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Enrico Zini <enrico@enricozini.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Enrico Zini <enrico@debian.org>. (Tue, 24 Aug 2010 09:06:07 GMT) Full text and rfc822 format available.

Message #15 received at 594099@bugs.debian.org (full text, mbox):

From: Enrico Zini <enrico@enricozini.org>
To: 594099@bugs.debian.org, debian-devel@lists.debian.org
Subject: Re: Bug#594099: ITP: pm-utils-light -- pm-utils replacement for embedded hardware
Date: Tue, 24 Aug 2010 10:01:57 +0100
[Message part 1 (text/plain, inline)]
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-utils@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 <enrico@enricozini.org>
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Enrico Zini <enrico@debian.org>:
Bug#594099; Package wnpp. (Wed, 27 Jul 2011 16:32:35 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Enrico Zini <enrico@debian.org>. (Wed, 27 Jul 2011 16:32:35 GMT) Full text and rfc822 format available.

Message #20 received at 594099@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@debian.org>
To: 594099@bugs.debian.org
Cc: control@bugs.debian.org
Subject: pm-utils-light: changing back from ITP to RFP
Date: Wed, 27 Jul 2011 18:02:33 +0200
retitle 594099 RFP: pm-utils-light -- pm-utils replacement for embedded hardware
noowner 594099
thanks

Hi,

This is an automatic email to change the status of pm-utils-light back from ITP
(Intent to Package) to RFP (Request for Package), because this bug hasn't seen
any activity during the last 6 months.

If you are still interested in adopting pm-utils-light, please send a mail to
<control@bugs.debian.org> with:

 retitle 594099 ITP: pm-utils-light -- pm-utils replacement for embedded hardware
 owner 594099 !
 thanks

However, it is not recommended to keep ITP for a long time without acting on
the package, as it might cause other prospective maintainers to refrain from
packaging that software. It is also a good idea to document your progress on
this ITP from time to time, by mailing <594099@bugs.debian.org>.

Thank you for your interest in Debian,
-- 
Lucas, for the QA team <debian-qa@lists.debian.org>




Changed Bug title to 'RFP: pm-utils-light -- pm-utils replacement for embedded hardware' from 'ITP: pm-utils-light -- pm-utils replacement for embedded hardware' Request was from Lucas Nussbaum <lucas@debian.org> to control@bugs.debian.org. (Wed, 27 Jul 2011 16:50:46 GMT) Full text and rfc822 format available.

Removed annotation that Bug was owned by Enrico Zini <enrico@debian.org>. Request was from Lucas Nussbaum <lucas@debian.org> to control@bugs.debian.org. (Wed, 27 Jul 2011 16:50:46 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 03:02:50 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.