1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-09 07:30:57 +02:00

Sensor Info Driver and application

This commit is contained in:
Elias Kotlyar
2018-05-22 23:26:38 +02:00
parent b5f3ada5be
commit 9e156f5952
4 changed files with 2 additions and 1 deletions

BIN
firmware_mod/bin/sample_sinfo Executable file

Binary file not shown.

View File

@@ -2,7 +2,7 @@
PIDFILE="/run/v4l2rtspserver-master-h264.pid"
LOGDIR="/system/sdcard/log"
LOGPATH="$LOGDIR/v4l2rtspserver-master.log"
export LD_LIBRARY_PATH='/thirdlib:/system/lib'
export LD_LIBRARY_PATH='/thirdlib:/system/lib:/system/sdcard/lib/'
if [ ! -f /system/sdcard/config/rtspserver.conf ]; then
cp /system/sdcard/config/rtspserver.conf.dist /system/sdcard/config/rtspserver.conf

Binary file not shown.

View File

@@ -94,6 +94,7 @@ insmod /system/sdcard/driver/sample_motor.ko
## Start Sensor:
insmod /system/sdcard/driver/tx-isp.ko isp_clk=100000000
insmod /system/sdcard/driver/sensor_jxf22.ko data_interface=2 pwdn_gpio=-1 reset_gpio=18 sensor_gpio_func=0
insmod /system/sdcard/driver/sinfo
## Start FTP & SSH Server:
dropbear_status=$(/system/sdcard/bin/dropbearmulti dropbear -R)