diff options
Diffstat (limited to 'recipes-navigation')
-rw-r--r-- | recipes-navigation/gpsd/gpsd-3.7/udev.patch | 41 | ||||
-rw-r--r-- | recipes-navigation/gpsd/gpsd/Conduit.patch | 14 | ||||
-rw-r--r-- | recipes-navigation/gpsd/gpsd/gpsd-default | 1 | ||||
-rw-r--r-- | recipes-navigation/gpsd/gpsd_3.7.bbappend | 12 |
4 files changed, 0 insertions, 68 deletions
diff --git a/recipes-navigation/gpsd/gpsd-3.7/udev.patch b/recipes-navigation/gpsd/gpsd-3.7/udev.patch deleted file mode 100644 index fdc40cb..0000000 --- a/recipes-navigation/gpsd/gpsd-3.7/udev.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -uprN old/60-gpsd.rules new/60-gpsd.rules ---- old/60-gpsd.rules 2016-11-29 17:43:46.300653070 -0600 -+++ new/60-gpsd.rules 2016-11-29 17:47:39.540652577 -0600 -@@ -22,26 +22,26 @@ - SUBSYSTEM!="tty", GOTO="gpsd_rules_end" - - # Prolific Technology, Inc. PL2303 Serial Port --ATTR{idVendor}=="067b", ATTR{idProduct}=="2303", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="067b", ATTR{idProduct}=="2303", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # ATEN International Co., Ltd UC-232A Serial Port [pl2303] --ATTR{idVendor}=="0557", ATTR{idProduct}=="2008", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="0557", ATTR{idProduct}=="2008", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # FTDI 8U232AM --ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # Cypress M8/CY7C64013 (DeLorme uses these) --ATTR{idVendor}=="1163", ATTR{idProduct}=="0100", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="1163", ATTR{idProduct}=="0100", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # PS-360 OEM (Microsoft GPS sold with Street and Trips 2005) --ATTR{idVendor}=="067b", ATTR{idProduct}=="aaa0", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="067b", ATTR{idProduct}=="aaa0", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # Garmin International GPSmap, various models (tested with Garmin GPS 18 USB) --ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # Cygnal Integrated Products, Inc. CP210x Composite Device (Used by Holux m241) --ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea60", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea60", SYMLINK+="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # u-blox AG, u-blox 5 (tested with Navilock NL-402U) --ATTR{idVendor}=="1546", ATTR{idProduct}=="01a5", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="1546", ATTR{idProduct}=="01a5", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # FTDI FT232 --ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug" - # u-blox 4 --ATTR{idVendor}=="1546", ATTR{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" - --ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug.wrapper" -+ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug" - - LABEL="gpsd_rules_end" diff --git a/recipes-navigation/gpsd/gpsd/Conduit.patch b/recipes-navigation/gpsd/gpsd/Conduit.patch deleted file mode 100644 index 0fced15..0000000 --- a/recipes-navigation/gpsd/gpsd/Conduit.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -uprN old/gpsd new/gpsd ---- old/gpsd 2016-11-14 14:37:19.733762786 -0600 -+++ new/gpsd 2016-11-14 14:43:28.733762007 -0600 -@@ -93,6 +93,10 @@ do_reload() { - - case "$1" in - start) -+ if ! [[ -r /sys/devices/platform/mts-io/gnss-int ]] ; then -+ echo "No GPS available" -+ exit -+ fi - echo "Starting $DESC" "$NAME" - do_start - exit $? diff --git a/recipes-navigation/gpsd/gpsd/gpsd-default b/recipes-navigation/gpsd/gpsd/gpsd-default index 0aa95d4..fe8576a 100644 --- a/recipes-navigation/gpsd/gpsd/gpsd-default +++ b/recipes-navigation/gpsd/gpsd/gpsd-default @@ -4,4 +4,3 @@ GPSD_OPTIONS="-n -D 1" # Conduit 0.1 GPS devices GPS_DEVICES="/dev/ttyXRUSB2 /dev/pps0" - diff --git a/recipes-navigation/gpsd/gpsd_3.7.bbappend b/recipes-navigation/gpsd/gpsd_3.7.bbappend deleted file mode 100644 index 8081b6f..0000000 --- a/recipes-navigation/gpsd/gpsd_3.7.bbappend +++ /dev/null @@ -1,12 +0,0 @@ -PR .= ".mlinux1" - -SRC_URI += " file://Conduit.patch;patchdir=.. \ - file://udev.patch;patchdir=.. \ - " -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:${THISDIR}/${PN}" - -python do_patch_prepend () { - import os - cwd = os.getcwd() - bb.note("Hello %s",cwd) -} |