Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi con il power management[RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue May 02, 2006 10:11 am    Post subject: Problemi con il power management[RISOLTO] Reply with quote

Ciao a tutti,
sto seguendo la guida per la gestione energetica su gentoo.org, ma al punto di verificare gli "eventi" per il cambio di stato da alimentazione da rete elettrica a batteria mi viene generato sempre lo stesso evento e precisamente:
Code:

tail -f /var/log/acpid | grep "received event"
[Tue May  2 11:59:08 2006] received event "battery BAT1 00000080 00000001"
[Tue May  2 12:00:28 2006] received event "battery BAT1 00000080 00000001"
[Tue May  2 12:00:39 2006] received event "battery BAT1 00000080 00000001"
[Tue May  2 12:00:49 2006] received event "battery BAT1 00000080 00000001"
[Tue May  2 12:00:54 2006] received event "battery BAT1 00000080 00000001"


nella guida dice che se il messaggio è uguale non c'e da preoccuparsi..ma allora nei due file:
Code:

ode Listing 2.8: /etc/acpi/events/pmg_ac_adapter

# Si sostituisca "ac_adapter" indicato di seguito con l'evento generato dal proprio notebook
# Ad esempio ac_adapter.* sarà sostituito da ac_adapter AC 00000080 00000000
event=ac_adapter.*
action=/etc/acpi/actions/pmg_switch_runlevel.sh %e

Code Listing 2.9: /etc/acpi/events/pmg_battery

# Si sostituisca "battery" indicato di seguito con l'evento generato dal proprio notebook
# Ad esempio battery.* sarà sostituito da battery BAT0 00000080 00000001
event=battery.*
action=/etc/acpi/actions/pmg_switch_runlevel.sh %e


alle due variabili event metto lo stesso valore??

Grazie a tutti


Last edited by f0llia on Tue May 02, 2006 3:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Tue May 02, 2006 10:35 am    Post subject: Reply with quote

Premetto che non sono un esperto ma in linea di massima direi di si.
Tu prova, non ti costa nulla :wink:
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue May 02, 2006 12:02 pm    Post subject: Re: Problemi con il power management Reply with quote

f0llia wrote:
alle due variabili event metto lo stesso valore??


si
ometti pure %e visto che a me ora all'avvio dice che è un'opzione obsoleta, ma non ho indagato a riguardo.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
f0llia
l33t
l33t


Joined: 22 Apr 2003
Posts: 873

PostPosted: Tue May 02, 2006 3:13 pm    Post subject: Reply with quote

ok, grazie mille,
sembra funzionare correttamente..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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