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.
 
 
 
 
 
 

20 lines
925 B

  1. #! /bin/sh /usr/share/dpatch/dpatch-run
  2. ## holux-m241.dpatch by Bernd Zeimetz <bzed@debian.org>
  3. ##
  4. ## DP: Adding hotplug support for the Holux m241 (and probably others).
  5. @DPATCH@
  6. diff -urNad gpsd~/debian/gpsd.udev gpsd/debian/gpsd.udev
  7. --- gpsd~/debian/gpsd.udev 2008-03-15 14:44:41.000000000 +0100
  8. +++ gpsd/debian/gpsd.udev 2008-07-15 22:16:47.000000000 +0200
  9. @@ -33,6 +33,9 @@
  10. SYSFS{idVendor}=="067b", SYSFS{idProduct}=="aaa0", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  11. # Garmin International GPSmap, various models (tested with Garmin GPS 18 USB)
  12. SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  13. +# Cygnal Integrated Products, Inc. CP210x Composite Device (Used by Holux m241)
  14. +SYSFS{idVendor}=="10c4", SYSFS{idProduct}=="ea60", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
  15. +
  16. ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug.wrapper"