Bug#375217: ITP: muswsusp -- tools to use userspace software suspend provided by the linux kernel

2006-06-24 Thread Tim Dijkstra (tdykstra)
Package: wnpp
Severity: wishlist
Owner: Tim Dijkstra (tdykstra) [EMAIL PROTECTED]


* Package name: muswsusp
  Version : 0.2
  Upstream Author : Rafael J. Wysocki [EMAIL PROTECTED], Pavel Machek
  [EMAIL PROTECTED]
* URL : http://suspend.sf.net
* License : GPL
  Programming Lang: C
  Description : tools to use userspace software suspend provided by the 
linux kernel

 µswsusp contains the programs to use the userspace software suspend
 facility available in linux kernel 2.6.17-rc1 and higher. It enables
 you to save the state of the whole system to disk and power off your system.
 After restarting your system it will be put back in the exact system state
 you left it (this is sometimes called hibernation).
 .
 It also includes an option to suspend-to-ram after the state is saved to disk.
 In the suspend-to-ram state the system still uses power, but is faster in
 resuming. In case the battery depletes the state is still on disk and
 resume from disk can continue without data loss.
 .
 To use this package you need a linux kernel version 2.6.17-rc1 or newer
 configured to use an mkinitramfs.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (20, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.1
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to nl_NL.utf8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#375217: ITP: muswsusp -- tools to use userspace software suspend provided by the linux kernel

2006-06-24 Thread Michael Biebl
Tim Dijkstra (tdykstra) wrote:
 Package: wnpp
 Severity: wishlist
 Owner: Tim Dijkstra (tdykstra) [EMAIL PROTECTED]
 
 
 * Package name: muswsusp
   Version : 0.2
   Upstream Author : Rafael J. Wysocki [EMAIL PROTECTED], Pavel Machek
   [EMAIL PROTECTED]
 * URL : http://suspend.sf.net
 * License : GPL
   Programming Lang: C
   Description : tools to use userspace software suspend provided by the 
 linux kernel
 
  µswsusp contains the programs to use the userspace software suspend
  facility available in linux kernel 2.6.17-rc1 and higher. It enables
  you to save the state of the whole system to disk and power off your system.
  After restarting your system it will be put back in the exact system state
  you left it (this is sometimes called hibernation).
  .
  It also includes an option to suspend-to-ram after the state is saved to 
 disk.
  In the suspend-to-ram state the system still uses power, but is faster in
  resuming. In case the battery depletes the state is still on disk and
  resume from disk can continue without data loss.
  .
  To use this package you need a linux kernel version 2.6.17-rc1 or newer
  configured to use an mkinitramfs.
 
 

Hi Tim,

I already experimented with uswsusp and did some integration into the
initramfs-tools architecture.
If you install the attached file hooks.resume to
/usr/share/initramfs-tools/hooks/resume and
scripts.local-top.resum to
/usr/share/initramfs-tools/scripts/local-top/resume,
the resume binary is automatically integrated into the initrd upon
installation of a Debian kernel. If you have already installed a kernel,
run update-initramfs -u. You should consider to add this to the postinst
script of your package (See the udev package how to do this).
An last but not least, please call the package uswsusp and *not* muswsusp.
Hint: Google for uswsusp and for muswsusp. You will then know why
uswsusp is better.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
#! /bin/sh

PREREQ=udev_helper

prereqs()
{
echo $PREREQ
}

case $1 in
prereqs)
prereqs
exit 0
;;
esac

/sbin/resume

#!/bin/sh

PREREQ=

prereqs()
{
echo $PREREQ
}

case $1 in
prereqs)
prereqs
exit 0
;;
esac

[ -x /sbin/resume ] || exit 0

. /usr/share/initramfs-tools/hook-functions

copy_exec /sbin/resume /sbin
cp /etc/suspend.conf ${DESTDIR}/etc



signature.asc
Description: OpenPGP digital signature


Bug#375217: ITP: muswsusp -- tools to use userspace software suspend provided by the linux kernel

2006-06-24 Thread Tim Dijkstra
On Sat, 24 Jun 2006 22:08:30 +0200
Michael Biebl [EMAIL PROTECTED] wrote:

 I already experimented with uswsusp and did some integration into the
 initramfs-tools architecture.
 If you install the attached file hooks.resume to
 /usr/share/initramfs-tools/hooks/resume and
 scripts.local-top.resum to
 /usr/share/initramfs-tools/scripts/local-top/resume,
 the resume binary is automatically integrated into the initrd upon
 installation of a Debian kernel. If you have already installed a
 kernel, run update-initramfs -u. You should consider to add this to
 the postinst script of your package (See the udev package how to do
 this). 
 Cheers,
 Michael

I have written the scripts myself already; that was the reason I made
the packages, actually. But they look really similar to yours;)

 An last but not least, please call the package uswsusp and
 *not* muswsusp. Hint: Google for uswsusp and for muswsusp. You will
 then know why uswsusp is better.

hmm, well they call it µswsusp. But maybe your right.

If you want to take a look at the packages:

http://www.famdijkstra.org/~tdykstra/debian/muswsusp/
http://www.famdijkstra.org/~tdykstra/debian/liblzf/

grts Tim


signature.asc
Description: PGP signature