LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-02-2004, 02:03 PM   #1
digitalkid1128
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
Kbatt (battery / acpi) question?


Hey all,

I am running MDK 10 and want to be able to see my battery indicator on the panel..I have been working and just suddenly lost power all of a sudden, SUCKED!

My question is I, I have successfully downloaded and untarred Kbatt-0.11 from sourceforge and am having problems installing it.

When I run ./configure it returns the following error.

checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log
[root@localhost kbatt-0.11]#


I have read other errors from the site regaurding Kbatt but all had to do with qt. I also tried the solutions stated in these posts to no avail.

Any suggestions..I know the status is geing read because when I type 'acpi' it returns the status of the battery. How can i make Kbatt read and display this for me.

P.S. I had it installed on a previous install of MDK 10 and it worked fine, and the error returned does not tell me much.

Thanks,

Digit
 
Old 07-02-2004, 09:11 PM   #2
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
My suggestion, and I may be a bit biased, is to try another Linux flavor. While you shouldn't have to do that, I have had a bunch of problems out of all Mandy versions I've tried, including several with the compile tools (doesn't Mandy come with kbatt anyway? I remember seeing it).

What all is your existing copy of kbatt doing? Even if you don't have kbatt running, your laptop should signal low battery through its case lights and speaker before the battery goes anyway. If it has done nothing, attacking your APM may be a wiser idea.
 
Old 07-02-2004, 10:21 PM   #3
digitalkid1128
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
All of the documents I read about getting kbatt to work suggested that I install and enable acpi and acpid, which I did. I also enabled acpi in the boot loader. is apm a better service to try to use with kbatt..

digit
 
Old 07-02-2004, 10:27 PM   #4
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
ACPI is "better" though buggy under Linux (as far as I know, I'm not the premiere expert). You can definately try both of them one at a time and see what happens.

Again, I have fixed a large number of problems by using RedHat instead of Mandrake. Nothing on Mandrake works for me.
 
Old 07-03-2004, 11:51 AM   #5
digitalkid1128
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, but I am a new-b in its plainest defitition and I tried red hat for a while and I couldnt work with it...I plan to install it on a desktop..but my laptop i need something flexable and user friendly..

I will eventually figure out the battery thing. I can al
 
Old 07-03-2004, 07:56 PM   #6
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
As long as your acpi is working ok you could try
a krell monitor like gkrellm. It will show your battery
state and much more. There are alot of themes for
it so you can make it look cool and leave it run all
the time.
 
Old 07-03-2004, 10:16 PM   #7
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Again, I gotta push you toward RedHat. It's more user friendly to me, mostly because it works better. Nothing's worse to a newbie (like me) who keeps having all these wierd problems that nobody knows, and by switching flavors, they all just go away.
 
Old 07-04-2004, 03:38 AM   #8
45t3r15k
LQ Newbie
 
Registered: Jul 2004
Location: Illinois
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Not the Distro

It's not the distro. I use Debian but don't recommend it to newbies. Once you are well aquainted with your inner geek and tired of circular dependency errors, THEN switch to Debian. But for Mandrake, you should be able to just download and install the kbatt mdk package from Mandy's site. If not, try to find an MDK package on KDE's site or try an RPM from KDE. The rpm command works just as well and exacly the same on Mandrake as on RH. It's good that you are trying to compile from source though. You learn a lot that way, so keep at it.

checking for extra libs... no
checking for libz... configure: error: not found. Check your installation and look into config.log

it looks like you do not have libz (might not be a recent enough or too recent version. might be located in a different place than .config expects it to be). Get that package and install it first. (This is BTW step one of getting tired of circular dependency errors). Work the problem. take the advice given in the error output.

"less config.log"

Look towards the bottom of the file. You may find more verbose information there.

Last edited by 45t3r15k; 07-04-2004 at 03:52 AM.
 
Old 07-04-2004, 11:39 AM   #9
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Re: Not the Distro

Quote:
Originally posted by 45t3r15k
The rpm command works just as well and exacly the same on Mandrake as on RH.
My experiences with RH and Mandy have told me otherwise. I guess it's a luck-of-the-draw type of thing.

Anyway, try to find it on FreshMeat or Icewalkers or something. It may just be part of KDE.
I'll ask again, does your laptop give you any warning whatsoever that the battery's about to go? Even if Linux ACPI isn't working, the laptop should start beeping that the battery's about gone.

My Kbatt has 4 states: Full, Partial (80%), Low, and Almost Gone. I would like to have more states, but the Windows battery meter has the same four states.

Last edited by lectraplayer; 07-04-2004 at 11:40 AM.
 
Old 07-05-2004, 08:20 AM   #10
digitalkid1128
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks every one, I fixed it...I had to install the kdetools package...It was right in front of my eyes the entire time..Someone on IRC mentioned it to me the other day and WHAM! Battery meter ahoy.

Thanks again
digit
 
Old 07-08-2004, 08:42 PM   #11
lectraplayer
Member
 
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: Porteus 3.1
Posts: 934

Rep: Reputation: 32
Dam those dependencies! They cause a lot of people a lot of heartace.
 
Old 07-09-2004, 04:02 AM   #12
pamting
LQ Newbie
 
Registered: Jul 2004
Location: Spain/Ireland/UK
Distribution: Fedora
Posts: 2

Rep: Reputation: 0
I have same problemn with battery on KDE. I solved it by switching to Gnome which works fime. Please let me know if you sort the KDE battery broblem


Pamting ............ pamting@terra.es
 
  


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
ACPI battery on Acer TM4500 jnsg Linux - Laptop and Netbook 16 11-09-2005 02:12 AM
ACPI battery not detected abattoir Linux - Laptop and Netbook 2 09-11-2005 09:07 AM
ACPI + battery augamecock Linux - Laptop and Netbook 2 04-05-2004 06:42 AM
is there an x battery status applet for woody with acpi?! tortenteufel Linux - Software 0 02-22-2004 12:48 PM
battery status with ACPI cornucopiae Linux - Laptop and Netbook 5 08-03-2003 11:56 AM

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

All times are GMT -5. The time now is 05:45 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