LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-16-2004, 10:51 PM   #1
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Rep: Reputation: 15
battery meter? gkrellm


Slackware 10, kde 3.2

I saw that Slack came with gkrellm, but I can't get the battery to show up. I have "enable battery" checked.

I looked for kbatt but I don't seem to have it.

Edit: so I got kbatt at http://kbatt.sourceforge.net, and followed the instructions, but I can't add it as an applet.. it's not in the menu.

Last edited by lauram93; 07-16-2004 at 11:34 PM.
 
Old 07-17-2004, 12:29 AM   #2
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Original Poster
Rep: Reputation: 15
enabling apm support

Well, upon restart I can add it as an applet to the taskbar, but it says I have no APM support. (Maybe that's why it doesn't work in gkrellm?)

I googled a bit for enabling APM support and from what it looks like I have to update the kernel or something. I have no idea where to start.
 
Old 07-17-2004, 01:52 AM   #3
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Which kernel are you running?
If it's the default it's probably 2.4.xx, and is probably set up for apm.
Open a term and type:

lsmod

Do you see apm anywhere?
If not go su and type:

modprobe apm

If you get no complaints, check your batt meter.

If this works then edit /etc/rc.d/rc.modules.
Look for this section:

#### APM support ###
# APM is a BIOS specification for saving power using several different
# techniques. This is mostly useful for battery powered laptops.
#/sbin/modprobe apm

Change (uncomment) it to this:

#### APM support ###
# APM is a BIOS specification for saving power using several different
# techniques. This is mostly useful for battery powered laptops.
/sbin/modprobe apm

Reboot and see what gives.
 
Old 09-05-2004, 04:16 AM   #4
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Original Poster
Rep: Reputation: 15
Sorry, I abandoned this thread for awhile.. but.. I did everything you said, and the battery still doesnt show up in gkrellm, and kbatt always says I'm on AC power when I'm not..
 
Old 09-17-2004, 04:13 PM   #5
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Original Poster
Rep: Reputation: 15
anyone?
 
Old 10-02-2004, 07:26 AM   #6
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
You didn't say which kernel you're running.
With the 2.4.xx kernel I have better luck using the stock
"barei" with APM uncommented in /etc/rc.d/rc.modules.

With the 2.6.xx kernel I had to build my own with ACPI functions built in.
I also had to append lilo with "ACPI=force".

Right after you boot do a "dmesg" and look for any errors.
 
Old 10-16-2004, 08:13 AM   #7
dns21
Member
 
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
I am experiencing similar issues with my attempt to get the battery bar working. After editing the /etc/rc.d/rc.modules file by uncommenting "/sbin/modprobe apm" and restarting, I got the same problem when I tried to install college linux. Essentially, it scrolls hex when attempting to boot and seems interminable. Prior to editing /ec/rc.d/modules i tried running "modprobe apm" in konsole (in kde) and my computer froze entirely. I couldn't even get to tty2 and kill the pid that resulted in my computer freezing. I have no idea where to start with this problem. Perhaps I am just looking for the solution in the wrong places. Be it direction to the pathway to help me solve my problem, or the fix for my problem, any help would be greatly appreciated. I am running Slackware 10 with kernel v2.4.26 on a dell inspiron 1000.
Thank you,
Jason

Last edited by dns21; 10-18-2004 at 01:27 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Battery Meter uveraser Linux - Laptop and Netbook 3 06-22-2004 07:09 AM
Battery Meter klfreese Red Hat 5 09-01-2003 06:59 PM
Battery level meter wzzrd Linux - Hardware 6 05-01-2003 03:09 PM
Battery Meter PortOS Linux - Hardware 2 12-09-2002 01:01 PM
Battery Meter yawara Linux - General 4 12-04-2002 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration