Patchwork [meta-oe] gpsd: fix udev rules file

login
register
mail settings
Submitter Martin Jansa
Date March 1, 2013, 3:50 p.m.
Message ID <1362153015-733-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/45363/
State Accepted, archived
Commit 230e2171d07815f51d5b6d044627afa0ff13c5d4
Headers show

Comments

Martin Jansa - March 1, 2013, 3:50 p.m.
systemd-udevd[41]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/60-gpsd.rules:43
systemd-udevd[41]: invalid rule '/etc/udev/rules.d/60-gpsd.rules:43'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules | 2 +-
 meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules b/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules
index c01db06..61143b8 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules
+++ b/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules
@@ -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"
 
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
index 105dbf6..e98d795 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
@@ -7,7 +7,7 @@  PROVIDES = "virtual/gpsd"
 
 EXTRANATIVEPATH += "chrpath-native"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
   file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \