klaptopdaemon (breezy) & hibernate/resume
sebas at kde.nl
Thu Sep 29 09:06:47 CDT 2005
On Thursday 29 September 2005 14:57, Derek Broughton wrote:
> Sebastian Kügler wrote:
> > On Wednesday 28 September 2005 20:14, Derek Broughton wrote:
> >> Can anybody tell me how exactly klaptopdaemon hibernates my ACPI-enabled
> >> computer?
> >> Google isn't forthcoming. The documentation in the package says
> >> nothing.
> >> I would have expected it to use the acpi-support scripts, but not so far
> >> as I can tell.
> >> Specifically, I want to make sure that whereami runs on resume, and it
> >> doesn't. I can probably run whereami out of the ifplugd actions and get
> >> what I want for now, but it's less than ideal.
> > I've written a howto some time ago, maybe that sheds some light on the
> > issue, find it at: http://vizzzion.org/?id=acpi_sleep
> Thanks, but that doesn't actually mention klaptopdaemon. I _know_ how acpi
> works, and I have the acpi scripts doing what I want. I was hoping to see
> a way to actually use the button I already have on my desktop.
Ok, that's one of the prerequisities though, you only have to fix
> > klaptopdaemon *should* call a script, but older versions directly wrote
> > to /proc/acpi,
> And it looks like it still does, but I can't find documentation. I might
> have to actually read the source!!!
Compiling /usr/bin/klaptop_acpi_helper from svn should really fix that then,
Revision 403409 is the fix I was talking about. A brief look at the source
should reveal which script is called, though. IIRC it was /usr/sbin/hibernate
If you're not planning going through this hassle, and you trust me enough I
could just send you my hand-compiled binary, it does work here (for S4 & S3
actually). Let me know in that case.
> > which broke suspend from klaptopdaemon since it doesn't
> > give you the option to wrap some necessary actions around the sleep.
Hope this helps,
http://www.kde.nl | http://vizZzion.org | GPG Key ID: 9119 0EF9
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Creative brains are a valuable, limited resource. They shouldn't be wasted on
reinventing the wheel when there are so many fascinating new problems waiting
out there. - Eric Steven Raymond
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 481 bytes
Desc: not available
Url : http://lists.ubuntu.com/archives/kubuntu-users/attachments/20050929/45d1d9f2/attachment-0001.pgp
More information about the kubuntu-users