Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
APM troubles?
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
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Fri Nov 29, 2002 7:21 pm    Post subject: APM troubles? Reply with quote

At first I thought APM revision 1.2 was not supported under Linux, but after reading about some people's adventures in installing Linux on their laptops I found that some of them were running 1.2. Now, I'm having trouble with my laptop, on dmesg I get:
Code:

apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)


but when I cat /proc/apm, I get an oddity:
Code:

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

1.16 being the drive version, 1.2 being the APM BIOS version, but then when it is supposed to say 100% battery it says -1%, and time left on battery says -1. Any ideas?
_________________
open like a child's mind.
Back to top
View user's profile Send private message
Rroet
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 176
Location: The Hague, The Netherlands

PostPosted: Sat Nov 30, 2002 8:35 am    Post subject: Reply with quote

did the powercord get stuck in the laptop?

Prolly -1% is when the laptop isn't on batterypower.
_________________
Workstation: Shuttle SN85G4v2, AMD64 3200+, 512MB, 250GB sata, Radeon 9800 Pro.
Server 1: here
Server 2: here
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sat Nov 30, 2002 4:18 pm    Post subject: Reply with quote

It should say 100% with power cord in.. I read more about the various parts of /proc/apm and it seems that when its a desktop it will read -1% -1, so I'm assuming my hardware just isn't supported. :\
_________________
open like a child's mind.
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Mon Dec 02, 2002 6:39 am    Post subject: Reply with quote

did u emerge apmd ...
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Thu Dec 05, 2002 11:54 pm    Post subject: Reply with quote

li1_getoo wrote:
did u emerge apmd ...


Of course.

apm --monitor returns:

AC: on-line
Battery: -1% (unknown)

And nothing happens when I take out the AC plug.
_________________
open like a child's mind.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Fri Dec 06, 2002 2:08 am    Post subject: Reply with quote

A silly question, do your kernel have APM enabled?

oniq wrote:
li1_getoo wrote:
did u emerge apmd ...


Of course.

apm --monitor returns:

AC: on-line
Battery: -1% (unknown)

And nothing happens when I take out the AC plug.
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