gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] Fix broken udev rule for Telit


From: spdawson
Subject: [gpsd-dev] [PATCH] Fix broken udev rule for Telit
Date: Tue, 10 Dec 2013 10:06:15 +0000

From: Simon Dawson <address@hidden>

Commit 62a49dd2c4438aa82b1296faf5432277c7c6674a added a udev rule
for Telit GPS modules. Unfortunately, this is broken.

Tested with the Telit HE910G, which presents itself as six ttyACM
devices, only one of which is "really" the GPS device.

Signed-off-by: Simon Dawson <address@hidden>
---
 gpsd.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gpsd.rules b/gpsd.rules
index d4065e4..f1dbe63 100644
--- a/gpsd.rules
+++ b/gpsd.rules
@@ -46,7 +46,7 @@ ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a6", 
SYMLINK="gps%n", RUN+="/lib/u
 # MediaTek (tested with HOLUX M-1200E) [linux module: cdc_acm]
 ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="3329", SYMLINK="gps%n", 
RUN+="/lib/udev/gpsd.hotplug"
 # Telit wireless solutions (tested with HE910G) [linux module: cdc_acm]
-ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="0021", SYMLINK="gps%n", 
RUN+="/lib/udev/gpsd.hotplug"
+ATTRS{interface}=="Telit Wireless Module Port", ATTRS{bInterfaceNumber}=="06", 
SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug"
 
 ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug"
 
-- 
1.8.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]