Skip to content

Commit

Permalink
Time synchronization at startup and new modem profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigFisher committed Oct 29, 2023
1 parent 19e1f15 commit a9a213a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions general/overlay/etc/init.d/S49ntpd
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ stop() {
status=$?
if [ "$status" -eq 0 ]; then
rm -f "$PIDFILE"
ntpd -q -N -n -d
echo "OK"
else
echo "FAIL"
Expand Down
9 changes: 9 additions & 0 deletions general/overlay/etc/wireless/modem
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ set_gpio() {
sleep 1
}

# GK7205V200 Kafei with A7680C and usb0
if [ "$1" = "a7680c-gk7205v200-kafei" ]; then
set_gpio 57 0
modprobe usbserial vendor=0x1e0e product=0x9011
modprobe rndis_host
sleep 15
exit 0
fi

# T31 CamHi with Quectel EC200S-CN, EC200T-EU and usb0
if [ "$1" = "ec200-t31-camhi" ]; then
set_gpio 61 0
Expand Down

0 comments on commit a9a213a

Please sign in to comment.