mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update direwolf.sh
This commit is contained in:
parent
57b1712a9c
commit
a2fd77626f
|
|
@ -55,13 +55,14 @@ done
|
|||
# GPSD
|
||||
#########################################################################################################################
|
||||
cat > /etc/udev/rules.d/49-usb-gps.rules <<- "EOF"
|
||||
KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a7", SYMLINK="ttyGPS"
|
||||
KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a7", SYMLINK="ttyACM0"
|
||||
EOF
|
||||
|
||||
cat > /etc/default/gpsd <<- "EOF"
|
||||
START_DAEMON="true"
|
||||
USBAUTO="true"
|
||||
DEVICES="/dev/ttyGPS"
|
||||
DEVICES="/dev/ttyACM0"
|
||||
GPSD_SOCKET="/var/run/gpsd.sock"
|
||||
GPSD_OPTIONS="-n"
|
||||
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Reference in New Issue