Update direwolf.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-07-05 01:03:05 +00:00
parent 57b1712a9c
commit a2fd77626f
1 changed files with 3 additions and 2 deletions

View File

@ -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