Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACPI: ac_adapter messages but no battery messages; normal?
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
carden
n00b
n00b


Joined: 17 Jun 2005
Posts: 5

PostPosted: Wed Nov 23, 2005 10:42 pm    Post subject: ACPI: ac_adapter messages but no battery messages; normal? Reply with quote

so in order to make my laptop not chew through it battery like it was nothing, I was going through the guide for setting it all up and I noticed when watching the acpi log file that I dont get battery messages, I only get ac_adapter messages with a bit set for on and off. Now I suppose I can script arround this issue but it just seemd odd to me, has anyone seen this?

When I pull out the adapter:
Code:

[Wed Nov 23 06:48:21 2005] received event "ac_adapter ACAD 00000080 00000000"
[Wed Nov 23 06:48:21 2005] notifying client 7130[1000:100]
[Wed Nov 23 06:48:21 2005] executing action "/etc/acpi/default.sh ac_adapter ACAD 00000080 00000000"
[Wed Nov 23 06:48:21 2005] BEGIN HANDLER MESSAGES
[Wed Nov 23 06:48:21 2005] END HANDLER MESSAGES
[Wed Nov 23 06:48:21 2005] action exited with status 0
[Wed Nov 23 06:48:21 2005] completed event "ac_adapter ACAD 00000080 00000000"


and when I plug it back in:
Code:

[Wed Nov 23 06:49:36 2005] received event "ac_adapter ACAD 00000080 00000001"
[Wed Nov 23 06:49:36 2005] notifying client 7130[1000:100]
[Wed Nov 23 06:49:36 2005] executing action "/etc/acpi/default.sh ac_adapter ACAD 00000080 00000001"
[Wed Nov 23 06:49:36 2005] BEGIN HANDLER MESSAGES
[Wed Nov 23 06:49:36 2005] END HANDLER MESSAGES
[Wed Nov 23 06:49:36 2005] action exited with status 0
[Wed Nov 23 06:49:36 2005] completed event "ac_adapter ACAD 00000080 00000001"


NOTE:
I forgot to mention that I have all items in the guide enabled in the kernel, battery, fan, cpu, the only one that is a module is video. and the battery state file is updated and working fine its just the acpi message I never see.

the laptop is an old Sony Vaio PCG-GRX520 with a phoenix BIOS.
Back to top
View user's profile Send private message
feivelda
Guru
Guru


Joined: 21 Feb 2005
Posts: 480
Location: Frankfurt, Germany

PostPosted: Thu Nov 24, 2005 6:49 am    Post subject: Reply with quote

I'm noticing this also on my laptop.
I don't know which release of acpid causes this, else I would revert.
What about your LID button? This also doesn't work for me now
Back to top
View user's profile Send private message
carden
n00b
n00b


Joined: 17 Jun 2005
Posts: 5

PostPosted: Fri Nov 25, 2005 7:02 am    Post subject: Reply with quote

I have not looked at the lid setting yet...

just the AC adapter. The way I worked around this is just used $4 that was passed into the script and compared it to 00000000 or 00000001 to tell if it is plugged in or not.
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