3 . /usr/pandora/scripts/op_paths.sh
5 if [ ! -e "$SYSFS_DSS_GAMMA" ]; then
6 echo "Control file is missing, might be incompatible kernel"
10 if [ "$1" = "0" ]; then
12 # TODO: we could set some user global setting here instead
13 echo 0 > $SYSFS_DSS_GAMMA
17 if [ "$1" = "1" ]; then
19 echo 0 > $SYSFS_DSS_GAMMA
23 if [ "`which op_gammatable`" = "" ]; then
24 echo "op_gammatable tool required"
28 # just forward args to op_gammatable
29 op_gammatable "$@" > /sys/devices/platform/omapdss/display0/dss_gamma