Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome-power-manager kernel 2.6.24
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sun Apr 06, 2008 4:27 pm    Post subject: gnome-power-manager kernel 2.6.24 Reply with quote

Is there a way to get gnome-extra/gnome-power-manager-2.22.1(and earlier) to work correctly with a 2.6.24 kernel?
the problem is something to do with the "new" /sys/class/power_supply/ in favor of the deprecated /proc/acpi stuff.
When I enable both g-p-m sees 2 batteries and it uses an average of the values, which is useless. with the sys/class/power stuff only, the battery level is correct on startup, but never changes which is equally useless.
As a long shot I have tried USE=apm etc. in hal, none of it makes a difference.

How do I go about fixing this?
Back to top
View user's profile Send private message
jel
Apprentice
Apprentice


Joined: 10 Aug 2005
Posts: 259
Location: Gothenburg

PostPosted: Mon Apr 07, 2008 6:31 am    Post subject: Re: gnome-power-manager kernel 2.6.24 Reply with quote

bosele wrote:
Is there a way to get gnome-extra/gnome-power-manager-2.22.1(and earlier) to work correctly with a 2.6.24 kernel?
the problem is something to do with the "new" /sys/class/power_supply/ in favor of the deprecated /proc/acpi stuff.
When I enable both g-p-m sees 2 batteries and it uses an average of the values, which is useless. with the sys/class/power stuff only, the battery level is correct on startup, but never changes which is equally useless.
As a long shot I have tried USE=apm etc. in hal, none of it makes a difference.

How do I go about fixing this?


CONFIG_ACPI_PROCFS set?
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Mon Apr 07, 2008 2:00 pm    Post subject: Reply with quote

well no, I'm wondering if I can get away from the depricated stuff. anyway if i have it enabled it will show me 2 batteries, and i remember needing the future power /sys interface for something, although I can't remember for what atm.
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Mon Apr 07, 2008 7:32 pm    Post subject: Reply with quote

nevermind, upstream hal has a patch, so I'll just have to wait.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum