Thread
:
N900 Radio Transmitter: ways to amplify the radio signal
View Single Post
Matan
2010-01-07 , 00:25
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
146
The best is to write a small daemon that listens to the d-bus. The problem is that the relevant events have array and list arguments, which dbus-scripts does not support.
The second best, but much easier, is depend on the package dbus-scripts, and include in your package a file /et/dbus-scripts.d/fmtx including a line:
/usr/bin/fmtx-power * * com.nokia.policy info connected 1
This way the script /usr/bin/fmtx-power will be called whenever fmtx is enabled. The main problem I have is that this event looks generic, and not fmtx specific, though I did not see it generate by anything else. I suggest that the script should first check that the power_level is non-zero, before writing 118.
Quote & Reply
|
The Following 5 Users Say Thank You to Matan For This Useful Post:
Alan_Peery
,
iKneaDough
,
JD2010
,
qole
,
salah99
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan