Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Настройка энергосбережения на ноуте
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
cord
Guru
Guru


Joined: 28 Apr 2007
Posts: 303

PostPosted: Sat Nov 03, 2007 12:36 pm    Post subject: Настройка энергосбережения на ноуте Reply with quote

Делал все по этому гиду:
http://www.gentoo.org/doc/en/power-management-guide.xml
Как указано в нем, - при вставлении/вытаскивании провода питания должны быть события "Switching to AC mode" и "Switching to battery mode", но в логе их не видно...
Code:

[Sat Nov  3 13:51:51 2007] starting up
[Sat Nov  3 13:51:51 2007] 2 rules loaded
[Sat Nov  3 13:51:59 2007] received event "ac_adapter ACAD 00000080 00000000"
[Sat Nov  3 13:51:59 2007] executing action "/etc/acpi/actions/pmg_switch_runlevel.sh ac_adapter ACAD 00000080 00000000"
[Sat Nov  3 13:51:59 2007] BEGIN HANDLER MESSAGES
[Sat Nov  3 13:51:59 2007] END HANDLER MESSAGES
[Sat Nov  3 13:51:59 2007] action exited with status 0
[Sat Nov  3 13:51:59 2007] completed event "ac_adapter ACAD 00000080 00000000"
[Sat Nov  3 13:52:00 2007] received event "battery BAT1 00000080 00000001"
[Sat Nov  3 13:52:00 2007] executing action "/etc/acpi/actions/pmg_switch_runlevel.sh battery BAT1 00000080 00000001"
[Sat Nov  3 13:52:00 2007] BEGIN HANDLER MESSAGES
[Sat Nov  3 13:52:00 2007] END HANDLER MESSAGES
[Sat Nov  3 13:52:00 2007] action exited with status 0
[Sat Nov  3 13:52:00 2007] completed event "battery BAT1 00000080 00000001"
[Sat Nov  3 13:52:00 2007] received event "processor CPU0 00000080 00000000"
[Sat Nov  3 13:52:00 2007] completed event "processor CPU0 00000080 00000000"
[Sat Nov  3 13:56:21 2007] received event "ac_adapter ACAD 00000080 00000001"
[Sat Nov  3 13:56:21 2007] executing action "/etc/acpi/actions/pmg_switch_runlevel.sh ac_adapter ACAD 00000080 00000001"
[Sat Nov  3 13:56:21 2007] BEGIN HANDLER MESSAGES
[Sat Nov  3 13:56:22 2007] END HANDLER MESSAGES
[Sat Nov  3 13:56:22 2007] action exited with status 0
[Sat Nov  3 13:56:22 2007] completed event "ac_adapter ACAD 00000080 00000001"
[Sat Nov  3 13:56:22 2007] received event "battery BAT1 00000080 00000001"
[Sat Nov  3 13:56:22 2007] executing action "/etc/acpi/actions/pmg_switch_runlevel.sh battery BAT1 00000080 00000001"
[Sat Nov  3 13:56:22 2007] BEGIN HANDLER MESSAGES
[Sat Nov  3 13:56:22 2007] END HANDLER MESSAGES
[Sat Nov  3 13:56:22 2007] action exited with status 0
[Sat Nov  3 13:56:22 2007] completed event "battery BAT1 00000080 00000001"
[Sat Nov  3 13:56:22 2007] received event "processor CPU0 00000080 00000000"
[Sat Nov  3 13:56:22 2007] completed event "processor CPU0 00000080 00000000"
[Sat Nov  3 13:57:51 2007] exiting
[Sat Nov  3 13:57:51 2007] starting up
[Sat Nov  3 13:57:51 2007] 2 rules loaded
[Sat Nov  3 13:57:55 2007] received event "ac_adapter ACAD 00000080 00000000"
[Sat Nov  3 13:57:55 2007] executing action "/etc/acpi/actions/pmg_switch_runlevel.sh ac_adapter ACAD 00000080 00000000"
[Sat Nov  3 13:57:55 2007] BEGIN HANDLER MESSAGES
[Sat Nov  3 13:57:56 2007] END HANDLER MESSAGES
[Sat Nov  3 13:57:56 2007] action exited with status 0
[Sat Nov  3 13:57:56 2007] completed event "ac_adapter ACAD 00000080 00000000"
[Sat Nov  3 13:57:56 2007] received event "battery BAT1 00000080 00000001"
[Sat Nov  3 13:57:56 2007] executing action "/etc/acpi/actions/pmg_switch_runlevel.sh battery BAT1 00000080 00000001"
[Sat Nov  3 13:57:56 2007] BEGIN HANDLER MESSAGES
[Sat Nov  3 13:57:56 2007] END HANDLER MESSAGES
[Sat Nov  3 13:57:56 2007] action exited with status 0
[Sat Nov  3 13:57:56 2007] completed event "battery BAT1 00000080 00000001"
[Sat Nov  3 13:57:56 2007] received event "processor CPU0 00000080 00000000"
[Sat Nov  3 13:57:56 2007] completed event "processor CPU0 00000080 00000000"
[Sat Nov  3 14:08:56 2007] exiting
[Sat Nov  3 14:11:14 2007] starting up
[Sat Nov  3 14:11:14 2007] 2 rules loaded


до этого не выполнялся скрипт /etc/acpi/actions/pmg_switch_runlevel.sh
после того как закомментировал /etc/acpi/default.sh скрипт переключения начал выполняться, но записей в логах "Switching to AC mode" и "Switching to battery mode" все равно нет :(

кто настраивал, подскажите в чем может быть проблема?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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