Skip to content

Instantly share code, notes, and snippets.

@n13i
Created May 4, 2017
Embed
What would you like to do?
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