support for ec25 series and sim7600g (#1878)

master
Daniel Banár 2025-09-13 14:28:09 +02:00 committed by GitHub
parent 26c0a66091
commit 38020498a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 23 additions and 0 deletions

View File

@ -75,4 +75,27 @@ if [ "$1" = "l716-t31-camhi" ]; then
exit 0
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 5
exit 0
fi
# EG25/EC25-xxx (RNDIS, AT+QCFG="usbnet",3)
if [ "$1" = "rndis-ec25" ]; then
modprobe rndis_host
modprobe option
sleep 5
exit 0
fi
# EG25/EC25-xxx (ECM, AT+QCFG="usbnet",1)
if [ "$1" = "ec25" ]; then
modprobe option
sleep 5
exit 0
fi
exit 1