View previous topic :: View next topic |
Author |
Message |
gondoi Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/5522552643e8cf37bcc745.jpg)
Joined: 27 Mar 2003 Posts: 138 Location: San Angelo, TX
|
Posted: Sun Oct 19, 2003 2:01 am Post subject: APM Gnome battery display |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
snowpatch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Mar 2003 Posts: 38 Location: Philadelphia
|
Posted: Sun Oct 19, 2003 2:24 am Post subject: no battery in gnome applet |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
gondoi Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/5522552643e8cf37bcc745.jpg)
Joined: 27 Mar 2003 Posts: 138 Location: San Angelo, TX
|
Posted: Tue Oct 21, 2003 4:42 am Post subject: umm.. got a prob |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
snowpatch n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Mar 2003 Posts: 38 Location: Philadelphia
|
Posted: Tue Oct 21, 2003 3:42 pm Post subject: apm or acpi |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
gondoi Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/5522552643e8cf37bcc745.jpg)
Joined: 27 Mar 2003 Posts: 138 Location: San Angelo, TX
|
Posted: Tue Oct 21, 2003 4:53 pm Post subject: acpi |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|