Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACPI-Hotkeys reagieren nur teilweise
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
doedel
Guru
Guru


Joined: 05 Feb 2006
Posts: 579
Location: Denmark

PostPosted: Fri Jan 09, 2009 10:57 am    Post subject: ACPI-Hotkeys reagieren nur teilweise Reply with quote

Ich installiere gerade Gentoo auf meinem zweiten Notebook, einem ASUS X50SL.
Nur geht weder Mute, VolUp, VolDown (FN+F10, FN+F12, FN+F11), obwohl acpi_listen diese anzeigt.

acpi_listen:
Quote:

mute hotkey ATKD 00000032 0000001a
down hotkey ATKD 00000031 00000037
up hotkey ATKD 00000030 00000016


Die acpid-Scripts:
Quote:

prolllappi ~ # ls /etc/acpi/events/ -al
total 44
drwxr-xr-x 2 root root 4096 Jan 9 09:39 .
drwxr-xr-x 3 root root 4096 Jan 9 09:09 ..
-rw-r--r-- 1 root root 663 Jan 7 17:44 default
-rw-r--r-- 1 root root 70 Dec 15 14:49 ff-key
-rw-r--r-- 1 root root 70 Jan 9 09:24 music-key
-rw-r--r-- 1 root root 90 Jan 9 09:39 mute-key
-rw-r--r-- 1 root root 33 Jan 9 09:25 runningman
-rw-r--r-- 1 root root 33 Jan 9 09:25 screenshot
-rw-r--r-- 1 root root 74 Jan 9 09:37 thunderbird-key
-rw-r--r-- 1 root root 94 Dec 15 14:57 voldown-key
-rw-r--r-- 1 root root 94 Dec 15 14:56 volup-key

Der Firefox geht (ff-key), thunderbird-key geht auch. bei music-key geht Audacious auf. Screenshot-key ist nicht in verwendung und runninman auch nicht (die Taste mit einem rennenden Männchen neben der Powertaste oben in der Leiste.)

Hier die Dateien:
Quote:

default
event=.*
action=/etc/acpi/default.sh %e

ff-key
event=hotkey ATKD 00000051
action=su - bazi -c 'DISPLAY=:0 firefox &'

music-key
event=hotkey ATKD 00000095
action=su - bazi -c 'DISPLAY=:0 audacious'

mute-key
event=hotkey ATKD 00000032
action=su - bazi -c 'DISPLAY=:0 dcop kmix Mixer0 toggleMute 0'

runningman
event=hotkey ATD 0000005c
action=

screenshot
event=hotkey ATD 00000082
action=

thunderbird-key
event=hotkey ATKD 0000006b
action=su - bazi -c 'DISPLAY=:0 thunderbird &'

voldown-key
event=hotkey ATKD 00000031
action=su - bazi -c 'DISPLAY=:0 dcop kmix Mixer0 decreaseVolume 0'

volup-key
event=hotkey ATKD 00000030
action=su - bazi -c 'DISPLAY=:0 dcop kmix Mixer0 increaseVolume 0'


Die config-Dateien haben auf dem selben Laptop haargenauso wie sie sollten auf einem Debian Lenny funktioniert.
Ich habe bisher leider nichts mehr dazu herausfinden können und hoffe ihr wisst Rat...
_________________
1 ha == 1 Hekto-Ar == 1 Hektar
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Fri Jan 09, 2009 12:33 pm    Post subject: Reply with quote

su - bazi -c 'DISPLAY=:0 dcop kmix Mixer0 toggleMute 0'

Du bist dir sicher, dass diesere Befehl funktioniort?
Evtl testest du es mit einem anderen Befehl: echo "mute geht" > /tmp/test
zum Beispiel

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
doedel
Guru
Guru


Joined: 05 Feb 2006
Posts: 579
Location: Denmark

PostPosted: Sun Jan 11, 2009 4:21 pm    Post subject: Reply with quote

Umpf, daran lag's, hätte das aber nicht gedacht. Auf dem Debian-System geht das ja einwandfrei...

Vielen Dank!
_________________
1 ha == 1 Hekto-Ar == 1 Hektar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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