Add new 4G modem

pull/912/head
Igor Zalatov (from Citadel PC) 2023-07-14 15:45:33 +03:00
parent da20a3d168
commit 8f2bb32906
1 changed files with 10 additions and 0 deletions

View File

@ -64,12 +64,22 @@ if [ "$1" = "ec200-t31-camhi" ]; then
exit 0
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
if [ "$1" = "l610-t31-camhi" ]; then
set_gpio 61 0
modprobe usbserial vendor=0x1782 product=0x4d11
modprobe rndis_host
sleep 10
echo "AT+GTRNDIS=1,2" >/dev/ttyUSB0
exit 0
fi