Skip to content

Instantly share code, notes, and snippets.

@n13i
Created May 4, 2017 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n13i/0057a56290b62763241ec9375f420c75 to your computer and use it in GitHub Desktop.
Save n13i/0057a56290b62763241ec9375f420c75 to your computer and use it in GitHub Desktop.
Raspbian with u-blox 7 /etc/udev/rules.d/60-gpsd.rules
SUBSYSTEM!="tty", GOTO="gpsd_rules_end"
# u-blox AG, u-blox 7 [linux module: cdc_acm]
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a7", SYMLINK+="gps%n", TAG+="systemd", ENV{SYSTEMD_WANTS}="gpsdctl@%k.service"
ACTION=="remove", TAG+="systemd", ENV{SYSTEMD_WANTS}="gpsdctl@%k.service"
LABEL="gpsd_rules_end"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment