Commit a3135d16 authored by Angus Ainslie's avatar Angus Ainslie Committed by Angus Ainslie
Browse files Add a script to use the WWAN modem GPS

By moving the AUX BM818 antenna connector to the unmarked center position
the modem can get a GPS signal. This NOT the GNSS controlled by HKS but is
part of the WWAN modem so is bound to the modem firmware and the WWAN HKS.
Signed-off-by: default avatarAngus Ainslie <>
parent 69763696
Pipeline #56052 passed with stages
in 3 minutes and 27 seconds
# gpsd doesn't wnat to share with ModemManger so give it a fifo instead
# To get this to work you need to modify /etc/default/gpsd to
# monitor "/tmp/gps". You also need to move the AUX BM818 antenna connection
# to the center unmarked position.
rm ${FIFO}
mkfifo ${FIFO}
printf "AT+GPSSTART\r\n" > ${DEVICE}
cat ${DEVICE} > ${FIFO} &
systemctl restart gpsd
#echo "AT+GPSSTOP" > ${DEVICE}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment