On 27 February 2009 г. 22:47:36 Christian Weisgerber wrote:
> Vadim Zhukov <[email protected]> wrote:
> > > kdeutils3 provides some components for laptop battery monitoring,
> > > suspending, etc. that are accessible from the KDE control panel.
> > > The OpenBSD support for this is contained in
> > > x11/kde/utils3/patches/patch-klaptopdaemon_portable_cpp
> > >
> > > As far as I can tell, this doesn't work at all now
> > > And of course it requires that you don't run apmd.
> >
> > It works fine with apmd(8) here.
>
> Really? It doesn't complain that it can't open /dev/apmctl?
> You can suspend the machine with it?
It doesn't. I just "chmod g+w /dev/apmctl" and it works: apmd sets
hw.setperfin background, and KLaptop tray icon shows me that I'll run
out of battery in 50 minutes now.
I can't test suspending because my laptop is ACPI-only one. :( Maybe I
can try to enable & test ACPI suspend/resume code not so long ago added
to repository, but I'm not sure that I have enough skills to do that
properly.
--
Best wishes,
Vadim Zhukov