![Advantech RSB-4410 User Manual Download Page 34](http://html1.mh-extra.com/html/advantech/rsb-4410/rsb-4410_user-manual_2857964034.webp)
RSB-4410 User Manual
26
2.5.9.1
/dev/ttymxc1 testing (CN9)
#stty -F /dev/ttymxc1 -echo
#cat /dev/ttymxc1
[CTRL+Z]
#echo hello > /dev/ttymxc1
#fg
Hello
[CTRL+C]
2.5.9.2
/dev/ttymxc3 testing (CN10)
#stty -F /dev/ttymxc3 -echo
#cat /dev/ttymxc3
[CTRL+Z]
#echo hello > /dev/ttymxc3
#fg
Hello
[CTRL+C]
2.5.9.3
/dev/ttymxc4 testing (CN12)
#stty -F /dev/ttymxc4 -echo
#cat /dev/ttymxc4
[CTRL+Z]
#echo hello > /dev/ttymxc4
#fg
Hello
[CTRL+C]
2.5.10
Watchdog Timer Test
1.
Executing‘ wdt_driver_test.out ‘
#/unit_tests/wdt_driver_test.out
Usage: wdt_driver_test <timeout> <sleep> <test>
timeout: value in seconds to cause wdt timeout/reset
sleep: value in seconds to service the wdt
test: 0 - Service wdt with ioctl(), 1 - with write()
2.
Please try below command to set timeout as 10 seconds, system will reboot
after then.
#/unit_tests/wdt_driver_test.out 10 5 0
Starting wdt_driver (timeout: 10, sleep: 5, test: ioctl)
Trying to set timeout value=10 seconds
The actual timeout was set to 10 seconds
Now reading back -- The timeout is 10 seconds
Press [CTRL+C] then you should be able to see below result:
imx2-wdt imx2-wdt.0: Unexpected close: Expect reboot!
Then system will reboot in 10 seconds
2.5.11
Audio Test
Execute the following commands to run the Audio demo application on RSB-4410.
#cd /mnt/disk
#aplay TTT.wav
Then you can hear the music from speaker/head-sets.
2.5.12
Photo Demo Test
Execute the following commands to run the Photo demo application on RSB-4410.
#cd /tools
#./fbv Advantech.jpg