mirror of https://github.com/OpenIPC/firmware.git
Add new 4G modem
parent
da20a3d168
commit
8f2bb32906
|
@ -64,12 +64,22 @@ if [ "$1" = "ec200-t31-camhi" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# T31 CamHi with Quectel EC800G-CN and usb0
|
||||||
|
if [ "$1" = "ec800-t31-camhi" ]; then
|
||||||
|
set_gpio 61 0
|
||||||
|
modprobe usbserial vendor=0x2c7c product=0x904
|
||||||
|
modprobe rndis_host
|
||||||
|
sleep 10
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# T31 CamHi with Fibocom L610-CN and usb0
|
# T31 CamHi with Fibocom L610-CN and usb0
|
||||||
if [ "$1" = "l610-t31-camhi" ]; then
|
if [ "$1" = "l610-t31-camhi" ]; then
|
||||||
set_gpio 61 0
|
set_gpio 61 0
|
||||||
modprobe usbserial vendor=0x1782 product=0x4d11
|
modprobe usbserial vendor=0x1782 product=0x4d11
|
||||||
modprobe rndis_host
|
modprobe rndis_host
|
||||||
sleep 10
|
sleep 10
|
||||||
|
echo "AT+GTRNDIS=1,2" >/dev/ttyUSB0
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue