由于TQ3568 CoreB板卡上测试4G模块时,需接上USB 4G模块,如下图所示:
一、上/掉电4G模块
系统开机时默认就已经给4G模块上电了。用户也可以通过以下命令控制4G模块的上/掉电。
echo 1/0 > /sys/class/rk_modem/modem_status #0为掉电,1为上电
4G测试程序在/test_utils/4G目录下,我司提供了SLM750、SLM320,N720三种4G模块的测试脚本如下图所示:
用户可根据实际情况执行测试脚本进行测试,测试前请插上4G天线。
例如测试slm750:只需要执行sh 4G_slm750_TQ3568.sh即可判断4G功能是否正常:
下面以SLM750模块为例:
执行效果如下所示:
root@RK356X:/test_utils/4G# sh 4G_slm750_TQ3568.sh
cat: '/sys/bus/usb/devices/7-1:1.1/modalias': No such file or directory
4G_slm750_TQ3568.sh: line 16: echo: write error: Invalid argument
Usage:
kill [options][...]
Options:
[...] send signal to everylisted
-, -s, --signal
specify theto be sent
-q, --queue integer value to be sent with the signal
-l, --list=[] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit &n