Devuan fork of gpsd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.8 KiB

  1. # udev rules for gpsd
  2. # $Id: gpsd.rules 4649 2008-01-01 14:35:42Z esr $
  3. #
  4. # GPSes don't have their own USB device class. They're serial-over-USB
  5. # devices, so what you see is actually the ID of the serial-over-USB chip.
  6. # Fortunately, just two of these account for over 80% of consumer-grade
  7. # GPS sensors. The gpsd.hotplug.wrapper script will tell a running gpsd
  8. # that it should look at the device that just went active, because it
  9. # might be a GPS.
  10. #
  11. # The following setup works on Debian - something similar will apply on
  12. # other distributions:
  13. #
  14. # /etc/udev/gpsd.rules
  15. # /etc/udev/rules.d/025_gpsd.rules -> ../gpsd.rules
  16. # /lib/udev/gpsd.hotplug.wrapper
  17. # /lib/udev/gpsd.hotplug
  18. #
  19. # Setting the link in /etc/udev/rules.d activates the rule and determines
  20. # when to run it on boot (similar to init.d processing).
  21. SUBSYSTEM!="tty", GOTO="gpsd_rules_end"
  22. # Prolific Technology, Inc. PL2303 Serial Port
  23. SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  24. # ATEN International Co., Ltd UC-232A Serial Port [pl2303]
  25. SYSFS{idVendor}=="0557", SYSFS{idProduct}=="2008", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  26. # FTDI 8U232AM
  27. SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  28. # Cypress M8/CY7C64013 (DeLorme uses these)
  29. SYSFS{idVendor}=="1163", SYSFS{idProduct}=="0100", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  30. # PS-360 OEM (Microsoft GPS sold with Street and Trips 2005)
  31. SYSFS{idVendor}=="067b", SYSFS{idProduct}=="aaa0", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  32. # Garmin International GPSmap, various models (tested with Garmin GPS 18 USB)
  33. SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  34. ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  35. LABEL="gpsd_rules_end"