![]() |
2010-10-19
, 16:43
|
Posts: 5 |
Thanked: 0 times |
Joined on Oct 2010
@ Berlin, Germany
|
#2
|
![]() |
2010-10-19
, 17:38
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#3
|
![]() |
2010-10-19
, 18:13
|
Posts: 5 |
Thanked: 0 times |
Joined on Oct 2010
@ Berlin, Germany
|
#4
|
Nokia-N900-02-8:~# cat /tmp/state disp on disp off charge on charge off key open key close
Nokia-N900-02-8:~# display_on Nokia-N900-02-8:~# display_off Nokia-N900-02-8:~# cat /tmp/state disp on disp off charge on charge off key open key close disp on disp off
Nokia-N900-02-8:~# cat /usr/local/bin/display_on #!/bin/sh echo "disp on" >> /tmp/state
Nokia-N900-02-8:~# cat /usr/local/bin/display_off #!/bin/sh echo "disp off" >> /tmp/state
Arg 1: :1.10 Arg 2: null Arg 3: com.nokia.mce.signal Arg 4: display_status_ind Arg 5: off Script display_off matches
Arg 1: :1.10 Arg 2: null Arg 3: com.nokia.mce.signal Arg 4: display_status_ind Arg 5: on Script display_on matches
![]() |
2010-10-20
, 10:45
|
Posts: 5 |
Thanked: 0 times |
Joined on Oct 2010
@ Berlin, Germany
|
#5
|
last night i played a little bit with dbus-settings (from Extra-devel).
I have wrote some scripts for some events, edited /etc/dbus-scripts.d/dbus-scripts-settings and restarted the daemon.
After restart i have start another daemon with --debug flag to see what's going on on the dbus ...
After plugging in the charger i will see
At the beginning the script only will echo "charging on" to a file.
And this does not happen.
This behavior i can reproduce on all events i have configured.
The daemon will find his matching script but it will not be executed.
Hopefully someone can help me.
Best regards
Olli
Last edited by stderr; 2010-10-20 at 10:46.