summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authorDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-17 00:36:49 +0200
committerDaniel Hillenbrand <daniel.hillenbrand@codeworkx.de>2012-06-17 00:42:12 +0200
commit5d367f958bb352d122370e5da3599647f114bf06 (patch)
tree1a0b8c1de4a97338c3ad92b428854e598fb0751d /overlay
parent94684b08d7fccec0a67e874f2792e6a7b9add007 (diff)
downloaddevice_samsung_i9300-5d367f958bb352d122370e5da3599647f114bf06.zip
device_samsung_i9300-5d367f958bb352d122370e5da3599647f114bf06.tar.gz
device_samsung_i9300-5d367f958bb352d122370e5da3599647f114bf06.tar.bz2
torch: use sysfs
Diffstat (limited to 'overlay')
-rw-r--r--overlay/packages/apps/Torch/res/values/config.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/overlay/packages/apps/Torch/res/values/config.xml b/overlay/packages/apps/Torch/res/values/config.xml
index d0ea1d0..4a68271 100644
--- a/overlay/packages/apps/Torch/res/values/config.xml
+++ b/overlay/packages/apps/Torch/res/values/config.xml
@@ -21,6 +21,16 @@
for different hardware and product builds. -->
<resources>
<!-- If there is no sysfs-based control mechanism, enable this -->
- <bool name="useCameraInterface">true</bool>
+ <bool name="useCameraInterface">false</bool>
+
+ <!-- Full path to the sysfs toggle -->
+ <string name="flashDevice">/sys/devices/virtual/flash/flash/flash_power</string>
+
+ <!-- Lowest setting -->
+ <integer name="valueOn">159</integer>
+ <!-- Middle setting -->
+ <integer name="valueHigh">10</integer>
+ <!-- Highest setting, leave -1 if it doesn't exist -->
+ <integer name="valueDeathRay">1</integer>
</resources>