support for ec25 series and sim7600g

pull/1878/head
Daniel Banar 2025-09-04 21:35:51 +02:00
parent 9ddac38fea
commit c7729676a4
1 changed files with 29 additions and 0 deletions

View File

@ -75,4 +75,33 @@ if [ "$1" = "l716-t31-camhi" ]; then
exit 0 exit 0
fi fi
# SIMCOM7600G/SIMCOM7600G-H
if [ "$1" = "sim7600g" ]; then
modprobe rndis_host
modprobe option
echo "1e0e 9011" > /sys/bus/usb-serial/drivers/option1/new_id
sleep 2
ifup usb0
sleep 2
exit 0
fi
# EG25/EC25-xxx (RNDIS, AT+QCFG="usbnet",3)
if [ "$1" = "rndis-ec25" ]; then
modprobe rndis_host
modprobe option
sleep 2
ifup usb0
sleep 2
exit 0
fi
# EG25/EC25-xxx (ECM, AT+QCFG="usbnet",1)
if [ "$1" = "ec25" ]; then
modprobe option
sleep 2
ifup usb0
sleep 2
exit 0
fi
exit 1 exit 1