public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] KDE4 doesn't detect power capabilities (hibernate, suspend, battery  and frequency scaling)
@ 2010-04-16  6:41 Yoav Luft
  2010-04-20 15:08 ` Momesso Andrea
  0 siblings, 1 reply; 5+ messages in thread
From: Yoav Luft @ 2010-04-16  6:41 UTC (permalink / raw
  To: gentoo-user

After some experiments with the ndiswrapper driver, KDE4 stopped
providing a frontend to various power capabilities. It doesn't detect
the battery, it doesn't offer suspend or hibernate it the shutdown
script, et cetera. The battery properties are still accessable through
/sys/class/power/BAT1 and I can still suspend and hibernate using
pm-suspend and pm-hibernate.
I would like use KDE's frontend, though, as finding out how long the
battery can hold from reading it's voltage isn't the most comfortable
thing.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] KDE4 doesn't detect power capabilities (hibernate, suspend, battery and frequency scaling)
  2010-04-16  6:41 [gentoo-user] KDE4 doesn't detect power capabilities (hibernate, suspend, battery and frequency scaling) Yoav Luft
@ 2010-04-20 15:08 ` Momesso Andrea
  2010-04-23 12:31   ` Yoav Luft
  0 siblings, 1 reply; 5+ messages in thread
From: Momesso Andrea @ 2010-04-20 15:08 UTC (permalink / raw
  To: gentoo-user

On Friday 16 April 2010 08:41:57 Yoav Luft wrote:
> After some experiments with the ndiswrapper driver, KDE4 stopped
> providing a frontend to various power capabilities. It doesn't detect
> the battery, it doesn't offer suspend or hibernate it the shutdown
> script, et cetera. The battery properties are still accessable through
> /sys/class/power/BAT1 and I can still suspend and hibernate using
> pm-suspend and pm-hibernate.
> I would like use KDE's frontend, though, as finding out how long the
> battery can hold from reading it's voltage isn't the most comfortable
> thing.

Make sure that the hald daemon starts before kde does.

---
TopperH
http://topperh.blackmamba.kicks-ass.org



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] KDE4 doesn't detect power capabilities (hibernate,  suspend, battery and frequency scaling)
  2010-04-20 15:08 ` Momesso Andrea
@ 2010-04-23 12:31   ` Yoav Luft
  2010-04-23 12:43     ` erdunand
  2010-04-23 15:56     ` Momesso Andrea
  0 siblings, 2 replies; 5+ messages in thread
From: Yoav Luft @ 2010-04-23 12:31 UTC (permalink / raw
  To: gentoo-user

I think it does, but how can I make sure of it?

On Tue, Apr 20, 2010 at 6:08 PM, Momesso Andrea
<momesso.andrea@gmail.com> wrote:
> On Friday 16 April 2010 08:41:57 Yoav Luft wrote:
>> After some experiments with the ndiswrapper driver, KDE4 stopped
>> providing a frontend to various power capabilities. It doesn't detect
>> the battery, it doesn't offer suspend or hibernate it the shutdown
>> script, et cetera. The battery properties are still accessable through
>> /sys/class/power/BAT1 and I can still suspend and hibernate using
>> pm-suspend and pm-hibernate.
>> I would like use KDE's frontend, though, as finding out how long the
>> battery can hold from reading it's voltage isn't the most comfortable
>> thing.
>
> Make sure that the hald daemon starts before kde does.
>
> ---
> TopperH
> http://topperh.blackmamba.kicks-ass.org
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] KDE4 doesn't detect power capabilities (hibernate, suspend, battery and frequency scaling)
  2010-04-23 12:31   ` Yoav Luft
@ 2010-04-23 12:43     ` erdunand
  2010-04-23 15:56     ` Momesso Andrea
  1 sibling, 0 replies; 5+ messages in thread
From: erdunand @ 2010-04-23 12:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

On Fri, Apr 23, 2010 at 03:31:23PM +0300, Yoav Luft wrote:
> I think it does, but how can I make sure of it?
> 
> On Tue, Apr 20, 2010 at 6:08 PM, Momesso Andrea
> >
> > Make sure that the hald daemon starts before kde does.
> >
> 

Adding the following in the depend() function in /etc/init.d/xdm
should do the trick:

after hald

(I don't use hal anymore so I can't check but I think it may already
be there)
-- 
Éric Valérian DUNAND

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] KDE4 doesn't detect power capabilities (hibernate, suspend, battery and frequency scaling)
  2010-04-23 12:31   ` Yoav Luft
  2010-04-23 12:43     ` erdunand
@ 2010-04-23 15:56     ` Momesso Andrea
  1 sibling, 0 replies; 5+ messages in thread
From: Momesso Andrea @ 2010-04-23 15:56 UTC (permalink / raw
  To: gentoo-user

On Friday 23 April 2010 14:31:23 Yoav Luft wrote:
> I think it does, but how can I make sure of it?
> 
> On Tue, Apr 20, 2010 at 6:08 PM, Momesso Andrea
> 
> <momesso.andrea@gmail.com> wrote:
> > On Friday 16 April 2010 08:41:57 Yoav Luft wrote:
> >> After some experiments with the ndiswrapper driver, KDE4 stopped
> >> providing a frontend to various power capabilities. It doesn't detect
> >> the battery, it doesn't offer suspend or hibernate it the shutdown
> >> script, et cetera. The battery properties are still accessable through
> >> /sys/class/power/BAT1 and I can still suspend and hibernate using
> >> pm-suspend and pm-hibernate.
> >> I would like use KDE's frontend, though, as finding out how long the
> >> battery can hold from reading it's voltage isn't the most comfortable
> >> thing.
> > 
> > Make sure that the hald daemon starts before kde does.


Please, don't top-post.

"/etc/init.d/hald status"  will tell you if it's working. If it isn't 
"rc-update add hald" will add it to your default runlevel.

---
TopperH
http://topperh.blackmamba.kicks-ass.org



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-23 13:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-16  6:41 [gentoo-user] KDE4 doesn't detect power capabilities (hibernate, suspend, battery and frequency scaling) Yoav Luft
2010-04-20 15:08 ` Momesso Andrea
2010-04-23 12:31   ` Yoav Luft
2010-04-23 12:43     ` erdunand
2010-04-23 15:56     ` Momesso Andrea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox