--- 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 @@ -6,7 +6,6 @@ import sys, time, os, syslog, glob, socket, stat CONTROL_SOCKET = "/var/run/gpsd.sock" -WHEREAMI = "/etc/hotplug/usb/gpsd.hotplug" def gpsd_control_connect(): "Acquire a connection to the GPSD control socket." @@ -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__':