Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > media > main-testing-src > by-pkgid > 8e78d53491a8b3f6a5ef74ae50c5c978 > files > 1

gpsd-2.94-3.1mdv2010.2.src.rpm

--- gpsd-2.28/gpsd.usermap.udev	2005-06-15 01:52:36.000000000 +0200
+++ gpsd-2.28/gpsd.usermap	2005-08-27 13:32:54.000000000 +0200
@@ -7,10 +7,10 @@
 # look at the device that just went active, because it might be a GPS.
 #
 # The Prolific Technology 2303 (commonly in tandem with SiRF chips)
-gpsd.hotplug 0x0003 0x067b 0x2303 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
+gpsd 0x0003 0x067b 0x2303 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
 # FTDI 8U232AM
-gpsd.hotplug 0x0003 0x0403 0x6001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
+gpsd 0x0003 0x0403 0x6001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
 # Cypress M8/CY7C64013 (DeLorme uses these)
-gpsd.hotplug 0x0003 0x1163 0x0100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
+gpsd 0x0003 0x1163 0x0100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
 # PS-360 OEM (Microsoft GPS sold with Street and Trips 2005)
-gpsd.hotplug 0x0003 0x067b 0xaaa0 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
+gpsd 0x0003 0x067b 0xaaa0 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
--- gpsd-2.28/gpsd.hotplug.udev	2005-06-27 20:53:00.000000000 +0200
+++ gpsd-2.28/gpsd.hotplug	2005-08-27 13:34:04.000000000 +0200
@@ -78,13 +77,6 @@
             syslog.syslog(tty + " has gone active")
 
             gpsd_control(action, tty)
-
-            remover = os.getenv("REMOVER")
-            #syslog.syslog("REMOVER=%s" % remover)
-            fp = open(remover, "w")
-            fp.write(WHEREAMI + " remove " + tty)
-            fp.close()
-            os.chmod(remover, stat.S_IRUSR|stat.S_IXUSR|stat.S_IRGRP|stat.S_IXGRP)
             return
 
 if __name__ == '__main__':