Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] TuxOnIce 2.6.24-r3: No more /proc/acpi/battery
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
oslinux
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2006
Posts: 97

PostPosted: Mon Mar 03, 2008 8:57 pm    Post subject: [SOLVED] TuxOnIce 2.6.24-r3: No more /proc/acpi/battery Reply with quote

Hi all!
I just upgraded my laptop from gentoo-sources-2.6.23-r9 to tuxonice-sources-2.6.24-r3 to see if suspend to ram works (It didn't) but now i have a big issue:
there's no more /proc/acpi/battery !!!
This means that there's no acpi control over the battery and i don't know it's charge level, kpowersave says that AC adapter is always plugged in!!!

Thank you in advance for any helps or hints.

Luca


Last edited by oslinux on Tue Mar 04, 2008 10:50 am; edited 1 time in total
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 614
Location: Munich, Germany

PostPosted: Mon Mar 03, 2008 10:26 pm    Post subject: Reply with quote

They have been replaced by functions in /sys.

If you still want them recompile your kernel and enable "create deprecated /proc/acpi files".
_________________
Black Holes are created when God divides by zero!
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Mon Mar 03, 2008 10:45 pm    Post subject: Reply with quote

Deleted bad/double post.
_________________
John

My gentoo overlay
Instructons for overlay


Last edited by drescherjm on Mon Mar 03, 2008 10:48 pm; edited 2 times in total
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Mon Mar 03, 2008 10:45 pm    Post subject: Reply with quote

Speaking of suspend to ram. It worked fine on my laptop on gentoo-sources-2.6.24. Have you tried that?

Code:
echo "mem" > /sys/power/state

_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
oslinux
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2006
Posts: 97

PostPosted: Tue Mar 04, 2008 10:40 am    Post subject: Reply with quote

Yes, it brings the laptop into S3 mode, but resume is impossible, if i push any key the power led returns on but the screen stays black.
But i'll open another post for that! (Don't want to go OT)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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