View previous topic :: View next topic |
Author |
Message |
carden n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jun 2005 Posts: 5
|
Posted: Wed Nov 23, 2005 10:42 pm Post subject: ACPI: ac_adapter messages but no battery messages; normal? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
feivelda Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Funny_Figure/gruft.gif)
Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Thu Nov 24, 2005 6:49 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
carden n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jun 2005 Posts: 5
|
Posted: Fri Nov 25, 2005 7:02 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|