Skip to content

Commit f7503ab

Browse files
committed
Set the correct baud rate on /dev/gps-uart1
1 parent 049c2b6 commit f7503ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udev/50-ttyUSB.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SUBSYSTEMS=="usb", ACTION=="add", KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A501B4SG", SYMLINK+="xbee", RUN+="/usr/bin/stty -F /dev/%k 115200 crtscts"
22
SUBSYSTEMS=="usb", ACTION=="add", KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A501B4SD", SYMLINK+="xbee", RUN+="/usr/bin/stty -F /dev/%k 115200 crtscts"
33

4-
SUBSYSTEMS=="usb", ACTION=="add", KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A50285BI", SYMLINK+="gps-uart1"
4+
SUBSYSTEMS=="usb", ACTION=="add", KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A50285BI", SYMLINK+="gps-uart1", RUN+="/usr/bin/stty -F /dev/%k 38400 crtscts"
55

66
SUBSYSTEMS=="usb", ACTION=="add", KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A40084aJ", SYMLINK+="gps-uart2"
77
SUBSYSTEMS=="usb", ACTION=="add", KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A100RW0G", SYMLINK+="gps-uart2"

0 commit comments

Comments
 (0)