LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-28-2003, 03:27 PM   #1
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Rep: Reputation: 31
APM problem


hello.

I have kernel varsion 2.4.22. My bios seems to support APM only (i tryed the ACPI kernel drivers, but dmesg told me ACPI wouldnt be used, cos the hardware isnt supporting it)

Now my problem with APM is, that i get this line when i "cat" /proc/apm (with AC-Power and without, at any charge level...)

1.16 1.2 0x03 0x01 0xff 0xff -1% -1 ?

This is obviously not what i should get. What might be wrong? Where sould I begin searching for the error? Is it possible, that my APM implementation is broken on the laptop?

Thank for any ideas.

raven
 
Old 09-28-2003, 11:20 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
that's exactly the output I get from cat /proc/apm and I can assure you that my apm is working superbly. Are there any particular problems that you are noticing?
 
Old 09-29-2003, 03:55 AM   #3
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
Well yes, my particular problem is (aside from that i dont know how to use any APM feature) that when i start apm --monitor i always get AC: online and a battery charge of -1% with unkown time left for operation.

This cant be right. I get -1% with or without the power cord attached.

Or should I have started apmd at boot time (i didnt, because on my old laptop apm --monitor worked as I expected it to, without apmd running)?

Thanks

raven
 
Old 09-29-2003, 09:19 AM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I'm pretty sure you do need apmd running. There aren't that many apm features. The one good thing I like about it is that it can suspend with
apm -s
 
Old 09-29-2003, 07:47 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by quatsch
I'm pretty sure you do need apmd running.
what he said. although i'm not sure why quatsch would be getting a -1 either.

mine displays right. i'm guessing yours should look something like this when plugged in and fully charged.

1.16 1.2 0x03 0x01 0x03 0x09 100% 228 min

Last edited by megaspaz; 09-29-2003 at 07:50 PM.
 
Old 09-30-2003, 04:21 AM   #6
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
well thats what i was wondering about too...

i will try running the stuff with apmd. lets hope the best.

raven
 
Old 09-30-2003, 11:20 AM   #7
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
Well yes, as I expected. APMD doesnt do any good either, the output is the same, and I cant read anywhere what battery charge I have. /proc outputs the same value "-1%" as usual. APM --monitor does the same.

Any suggestions?

Thanks
 
Old 09-30-2003, 07:50 PM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
prolly a dumb question, but what version of apmd are you running? maybe check and see if there's a newer version or maybe see if you're running apmd 3.0.2-10 (that's my version of apmd which works for me. maybe it could work for you).

 
Old 10-01-2003, 07:30 AM   #9
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
I have APMD 3.0.2 with apm kernel drivers version 1.16
 
Old 10-01-2003, 06:28 PM   #10
Macguyvok
Member
 
Registered: Sep 2003
Location: NewYork - Fredonia - USA
Distribution: MDK 10; SuSE 9.0; Gentoo
Posts: 79

Rep: Reputation: 15
OK, A totally dumb suggestion. Have you tried starting klaptop? OR the Gnome battery monitor?

Also, What kind of laptop, and distro?
 
Old 10-02-2003, 04:57 PM   #11
raven
Member
 
Registered: Dec 2001
Location: Basel, Switzerland
Distribution: ubuntu
Posts: 297

Original Poster
Rep: Reputation: 31
No, havent tryed those Progs yet.

I have a Notebook of no brand with a SIS chipset (SIS 630) with everything working, except APM... :-)

My distro is gentoo.

G

raven
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
APM problem 0x0000h Slackware 2 12-20-2004 10:05 PM
Power off problem with apm Rajahuroman Linux - Hardware 1 11-03-2004 09:29 AM
apm vs. acpi ? (modprobe: FATAL: Error inserting apm) OneManArmy Linux - Laptop and Netbook 0 05-12-2004 04:39 PM
apm/network problem sublynx Linux - Laptop and Netbook 1 10-16-2003 10:42 PM
Problem with my APM supermax Linux - Hardware 3 08-04-2003 06:07 PM

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

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