diff --git a/recipes-extra/gpsd/gpsd/60-gpsd.rules b/recipes-extra/gpsd/gpsd/60-gpsd.rules index c01db06..2614a11 100644 --- a/recipes-extra/gpsd/gpsd/60-gpsd.rules +++ b/recipes-extra/gpsd/gpsd/60-gpsd.rules @@ -8,14 +8,14 @@ # that it should look at the device that just went active, because it # might be a GPS. # -# The following setup works on Debian - something similar will apply on +# The following setup works on Debian - something similar will apply on # other distributions: -# +# # /etc/udev/gpsd.rules # /etc/udev/rules.d/025_gpsd.rules -> ../gpsd.rules # /lib/udev/gpsd.hotplug.wrapper # /lib/udev/gpsd.hotplug -# +# # Setting the link in /etc/udev/rules.d activates the rule and determines # when to run it on boot (similar to init.d processing). @@ -40,7 +40,7 @@ ATTR{idVendor}=="1546", ATTR{idProduct}=="01a5", SYMLINK="gps%n", RUN+="/lib/ude # FTDI FT232 ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" # u-blox 4 -SYSFS{idVendor}=="1546", SYSFS{idProduct}=="01a4", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" +ATTR{idVendor}=="1546", ATTR{idProduct}=="01a4", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug.wrapper"