Thread
:
[WiP] Control media player with camera button when device is locked
View Single Post
cipper
2010-12-28 , 08:50
Posts: 169 | Thanked: 56 times | Joined on Jan 2010 @ Italia
#
4
Hi direx,
following the
overclocking wiki page
I added the file /etc/dbus-scripts.d/locked with content:
/usr/local/bin/underclock * * com.nokia.mce.signal tklock_mode_ind locked
and the file /usr/local/bin/underclock with content
#!/bin/sh
echo 0 > /sys/devices/platform/gpio-switch/cam_focus/disable
so that it automatically sets to zero the flag when the device gets locked. It seems to work fine. Couldn't be this solution a simple alternative to your script?
Quote & Reply
|
The Following User Says Thank You to cipper For This Useful Post:
direx
cipper
View Public Profile
Send a private message to cipper
Find all posts by cipper