summaryrefslogtreecommitdiffstats
path: root/recipes-core/udev/sw-gpsd-udev-conf/60-sw-gpsd.rules
blob: a554700398d91aa0b1dbebc4a8751e0d02b016da (plain)
1
2
3
4
5
6
7
8
# udev rules for gpsd for Sierra Wireless modems
SUBSYSTEM!="tty", GOTO="sw_gpsd_rules_end"

ENV{ID_VENDOR_ID}=="1199", ATTRS{bInterfaceNumber}=="02", SYMLINK+="gps%n", TAG+="systemd", ENV{SYSTEMD_WANTS}="gpsdctl@%k.service"

ACTION=="remove", TAG+="systemd", ENV{SYSTEMD_WANTS}="gpsdctl@%k.service"

LABEL="sw_gpsd_rules_end"