Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemino con ACPI su MSI s260
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
Naspe
Guru
Guru


Joined: 10 Dec 2003
Posts: 321
Location: Genova - Italy

PostPosted: Wed Apr 26, 2006 6:14 pm    Post subject: Problemino con ACPI su MSI s260 Reply with quote

Ciao a tutti,
Oggi stavo seguendo la guida http://www.gentoo.org/doc/en/power-management-guide.xml per sistemare un po il mio portatilo nuovo ma ho riscontrato un problemino dal quale non riesco ad uscire.

Sono al punto in cui do il comando
Code:
tail -f /var/log/acpid | grep "received event"
e stacco e riattacco il cavo dell'alimentazione. Dovrei vedere il mio ACPI che se ne accorge... ma nulla.

Dopo un bel po' di ricerche ho scoperto che il mio portatilo, quando si stacca il cavo dell'alimentazione, non genera un evento ACPI bensi' un evento button.

dmesg dice:

Code:

atkbd.c: Unknown key released (translated set 2, code 0xf2 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e072 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0xf1 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e071 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0xf1 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e071 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0xf2 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e072 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0xf2 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e072 <keycode>' to make it known.
atkbd.c: Unknown key pressed (translated set 2, code 0xf1 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e071 <keycode>' to make it known.


Scoperto questo cosa devo fare adesso?
Ho cercato sui forum ma non trovo ne che <keycode> mettere al comando setkeycodes, ne come gestire poi questi eventi.

Tanti saluti,
_________________
God Is Real... Unless Declared As Integer...

Provoca Il Più Bravo... Morirai Come Uno Schiavo!!!

Hai Evocato Il Tuono!!! Ora Raccogli Tempesta!!!
Back to top
View user's profile Send private message
Naspe
Guru
Guru


Joined: 10 Dec 2003
Posts: 321
Location: Genova - Italy

PostPosted: Thu Apr 27, 2006 3:53 pm    Post subject: Reply with quote

Nessun suggerimento?
_________________
God Is Real... Unless Declared As Integer...

Provoca Il Più Bravo... Morirai Come Uno Schiavo!!!

Hai Evocato Il Tuono!!! Ora Raccogli Tempesta!!!
Back to top
View user's profile Send private message
Naspe
Guru
Guru


Joined: 10 Dec 2003
Posts: 321
Location: Genova - Italy

PostPosted: Mon May 01, 2006 11:52 pm    Post subject: Reply with quote

Ho trovato come sistemare i keycode.
Quote:
In general you can find a good keycode by taking the last 2 digits of this number, converting it from hex (base-16) to decimal (base-10) and adding 128.


E fin qui ci siamo.

Ora come posso fare a far partire un comando quando clicco uno di quei tasti?
Ho trovato diverse spiegazioni per farlo in X ma a me servirebbe che lo facesse sempre.
La mia necessità è quella di far partire uno script al posto dell'ACPI visto che all'ACPI non riva nulla...
_________________
God Is Real... Unless Declared As Integer...

Provoca Il Più Bravo... Morirai Come Uno Schiavo!!!

Hai Evocato Il Tuono!!! Ora Raccogli Tempesta!!!
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