User's Manual
VT-M2M-TC VM
All Rights Reserved
2.5AudioAndVideoControl
a. Audioarecord:
$sudoarecord–twavte st.wav
b. Audioaplay:
$sudoaplaytest.wav
c. Videoplayer,thetestvideoin“/programs/tmp“:
$sudomplayer/programs/tmp/1.mp4
2.6SDcardControl
a. InsertSDcard,thenlookoverdevice:
$sudofdisk–l
b. mountSDcarddevice:
$sudomount/dev/mmcblk0/mnt
2.7ADXL345Control
GetDigitalAccelerometer:
$sudo./adxl
X:233
Y:2
Z:3ed
2.8Watchdog
a.Configurewatchdogdriver:
$sudovim/etc/default/watchdog
#Startwatchdogatboottime?0or1
run_watchdog=1
#Loadmodulebeforestartingwatchdog
watchdog_module=”sch311x_wdt”
#Specifyadditionalwatchdogoptionshere(seemanpage).
b.Configurewatchdog:
$sudovim/etc/watchdog.conf