linamh/sci-geosciences/gpsd/files/99-gpsd-usb.rules

10 lines
267 B
Plaintext
Raw Normal View History

# udev rules for the gpsd USB hotplugging (without hotplug)
SUBSYSTEM!="tty", GOTO="gpsd-usb_rules_end"
ACTION!="add", GOTO="gpsd-usb_rules_end"
KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k"
LABEL="gpsd-usb_rules_end"