Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
APM Gnome battery display
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
gondoi
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2003
Posts: 138
Location: San Angelo, TX

PostPosted: Sun Oct 19, 2003 2:01 am    Post subject: APM Gnome battery display Reply with quote

Ok, Got another APM post to go along with the tons already out there.

I have compiled APM into the kernel and installed apmd and it is running. Things shutdown correctly and all that, but the Battery Charge Monitor in Gnome shows that the AC adapter is plugged in.. ok cool.. but I unplug the AC adapter and it still shows that it's plugged in.. Not to mention it shows that there is no battery available.

Another thing I have noticed before when I installed RedHat a long time ago, it did the same thing.. Also, same with Knoppix when I run it.

Here is the output from /proc/apm
Code:
gondoi # cat /proc/apm
1.16 1.2 0x03 0x01 0xff 0x80 -1% -1 ?


Even when I unplug the AC adapter that is the ouput.

OH, btw, I am running on a Dell Inspiron 2600.

Anyone know much about APM?

Here is another problem.. If anyone suggests ACPI I seem to have put APM in the make.conf file when I first started building gentoo, so when I first tried ACPI the gnome battery applet didn't do a thing.

Anyway, anyone have any suggestions?

gondoi
_________________
"I'm only acting retarded, what's your excuse?"
- The Gord
Back to top
View user's profile Send private message
snowpatch
n00b
n00b


Joined: 09 Mar 2003
Posts: 38
Location: Philadelphia

PostPosted: Sun Oct 19, 2003 2:24 am    Post subject: no battery in gnome applet Reply with quote

Does the applet indicate a battery present when the ac is unplugged? On my Inspiron 4000 I get "no battery present" in the applet if the charge is really low. If you pull the battery out and check on the back do you have a button to push with LEDs to indicate charge? Maybe it is an old battery.
Back to top
View user's profile Send private message
gondoi
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2003
Posts: 138
Location: San Angelo, TX

PostPosted: Tue Oct 21, 2003 4:42 am    Post subject: umm.. got a prob Reply with quote

Ok, looks like I was hasty in posting that... Well, when I shutdown it didn't power off.
When I had ACPI installed earlier it did.

Sooo... my question now is.... how do I redo things for acpi? do I have to remerge gnome with acpi in the make.conf?

And to answer the question... No it doesn't show battery at anytime... and i'm not sure about the LEDs.. i've never taken it out.
_________________
"I'm only acting retarded, what's your excuse?"
- The Gord
Back to top
View user's profile Send private message
snowpatch
n00b
n00b


Joined: 09 Mar 2003
Posts: 38
Location: Philadelphia

PostPosted: Tue Oct 21, 2003 3:42 pm    Post subject: apm or acpi Reply with quote

Do you have apm configured still in your kernel? For acpi you will have to re-compile the kernel and also put acpi in your USE flags.
Back to top
View user's profile Send private message
gondoi
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2003
Posts: 138
Location: San Angelo, TX

PostPosted: Tue Oct 21, 2003 4:53 pm    Post subject: acpi Reply with quote

At this moment I do have apm compiled in.. but I have compiled a new kernel with acpi and i'm about to reboot to it...

I have taken out apm from the USE variable and added acpi.

I also re-emerged gnome-applets, I noticed it used the apm variable and it has the battstat applet I am trying to get working.


Here is a new twist though, on the gnome site... the gnome-applets package only has version 2.0.9 of battstat, which has "broken" acpi support. I can't seem to find anywhere what version is in the gentoo ebuild, but I figure it is the same as what is on the gnome site.

One more thing... there is a battstat ebuild, and it is the current 2.0.13 version, but here is what I get when I try to emerge it.

Code:
# emerge -vp battstat
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] sys-apps/apmd-3.0.2-r3  +X
[ebuild  N    ] gnome-base/gnome-print-0.35-r3  +nls -tetex
[blocks B     ] gnome-base/gnome-session (from pkg gnome-base/gnome-core-1.4.2-r1)
[blocks B     ] x11-terms/gnome-terminal (from pkg gnome-base/gnome-core-1.4.2-r1)
[blocks B     ] gnome-base/gnome-desktop (from pkg gnome-base/gnome-core-1.4.2-r1)
[ebuild  N    ] gnome-base/gnome-core-1.4.2-r1  -kde +nls +cups
[ebuild  N    ] gnome-extra/battstat-2.0.13  +nls


So does anyone know how I can get the current version installed... apart from downloading and compiling manually.. I don't mind doing this.. but I'd like to keep things in portage so nothing will get replaced with an emerge later.
_________________
"I'm only acting retarded, what's your excuse?"
- The Gord
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