diff options
Diffstat (limited to 'filesystem/etc/sensord_setting.sh')
-rwxr-xr-x | filesystem/etc/sensord_setting.sh | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/filesystem/etc/sensord_setting.sh b/filesystem/etc/sensord_setting.sh index f76f905..032b66e 100755 --- a/filesystem/etc/sensord_setting.sh +++ b/filesystem/etc/sensord_setting.sh @@ -39,7 +39,7 @@ if [ ! -d $CHECK_SENSOR ]; then touch /opt/sensor/light/name echo "light_sim" > /opt/sensor/light/name touch /opt/sensor/light/adc - echo "2000" > /opt/sensor/light/adc + echo "65535" > /opt/sensor/light/adc touch /opt/sensor/light/level echo "10" > /opt/sensor/light/level @@ -48,7 +48,7 @@ if [ ! -d $CHECK_SENSOR ]; then touch /opt/sensor/proxi/enable echo "1" > /opt/sensor/proxi/enable touch /opt/sensor/proxi/vo - echo "0" > /opt/sensor/proxi/vo + echo "8" > /opt/sensor/proxi/vo touch /opt/sensor/gyro/name echo "gyro_sim" > /opt/sensor/gyro/name @@ -62,9 +62,20 @@ if [ ! -d $CHECK_SENSOR ]; then touch /opt/sensor/geo/name echo "geo_sim" > /opt/sensor/geo/name touch /opt/sensor/geo/raw - echo "0 0 0 4" > /opt/sensor/geo/raw + echo "0 -90 0 4" > /opt/sensor/geo/raw touch /opt/sensor/geo/tesla echo "1 0 -10" > /opt/sensor/geo/tesla +else + echo "0, -256, 0" > /opt/sensor/accel/xyz + echo "65535" > /opt/sensor/light/adc + echo "10" > /opt/sensor/light/level + echo "1" > /opt/sensor/proxi/enable + echo "8" > /opt/sensor/proxi/vo + echo "0" > /opt/sensor/gyro/gyro_x_raw + echo "0" > /opt/sensor/gyro/gyro_y_raw + echo "0" > /opt/sensor/gyro/gyro_z_raw + echo "0 -90 0 4" > /opt/sensor/geo/raw + echo "1 0 -10" > /opt/sensor/geo/tesla fi if [ ! -d $CHECK_NFC ]; then |