diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-06 00:31:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-06 00:31:19 +0000 |
commit | c0e7971edbff3c0cc3a49ae405e893828074accf (patch) | |
tree | 58c59d86fba20e45987a3a651d8e8ddaabfbf518 | |
parent | b0f7f2507158d81e6bfb4917a8108706315d31cf (diff) | |
download | gpsd-c0e7971edbff3c0cc3a49ae405e893828074accf.tar.gz |
First step of hotplug transition.
-rw-r--r-- | gpsd.spec.in | 8 | ||||
-rw-r--r-- | gpsd.usermap | 14 |
2 files changed, 3 insertions, 19 deletions
diff --git a/gpsd.spec.in b/gpsd.spec.in index 78bbc735..0b4c8657 100644 --- a/gpsd.spec.in +++ b/gpsd.spec.in @@ -55,8 +55,8 @@ cp xgps.ad "$RPM_BUILD_ROOT"%{_libdir}/X11/app-defaults/xgps cp xgpsspeed.ad "$RPM_BUILD_ROOT"%{_libdir}/X11/app-defaults/xgpsspeed mkdir -p "$RPM_BUILD_ROOT"%{_sysconfdir}/init.d/ cp gpsd.init "$RPM_BUILD_ROOT"%{_sysconfdir}/init.d/gpsd -mkdir -p "$RPM_BUILD_ROOT"%{_sysconfdir}/hotplug/usb -cp gpsd.usermap gpsdplug "$RPM_BUILD_ROOT"%{_sysconfdir}/hotplug/usb/ +mkdir -p "$RPM_BUILD_ROOT"%{_sysconfdir}/hotplug.d/usb +cp gpsdplug.hotplug "$RPM_BUILD_ROOT"%{_sysconfdir}/hotplug.d/usb/ # additional gpsd-devel files PYVERSION=`python -c "import sys; print sys.version[:3]"` mkdir -p "$RPM_BUILD_ROOT"%{_libdir}/python${PYVERSION}/site-packages @@ -91,8 +91,7 @@ cp gps.py gpsd.py "$RPM_BUILD_ROOT"%{_libdir}/python${PYVERSION}/site-packages %{_mandir}/man1/gpsprobe.1* %{_mandir}/man1/gpsprof.1* %attr(755, root, root) %{_sysconfdir}/init.d/gpsd -%{_sysconfdir}/hotplug/usb/gpsd.usermap -%{_sysconfdir}/hotplug/usb/gpsdplug +%{_sysconfdir}/hotplug.d/usb/gpsd.hotplug %{_libdir}/X11/app-defaults/xgps %{_libdir}/X11/app-defaults/xgpsspeed @@ -115,7 +114,6 @@ cp gps.py gpsd.py "$RPM_BUILD_ROOT"%{_libdir}/python${PYVERSION}/site-packages Garmin probe is working. The -T and -s options are gone. We have achieved zero configuration! - * Wed Mar 02 2005 Eric S. Raymond <esr@snark.thyrsus.com> - 2.15-1 - A new packet engine autobauds much more quickly, and now iterates over both 1 and 2 stopbits. Explicit support for FV18 (the -T f diff --git a/gpsd.usermap b/gpsd.usermap deleted file mode 100644 index 794d6b90..00000000 --- a/gpsd.usermap +++ /dev/null @@ -1,14 +0,0 @@ -# Hotplug device map for GPSD -# -# GPSes don't have their own USB device class. They're serial-over-USB -# devices, so what you see is actually the ID of the serial-over-USB chip. -# Fortunately, just two of these account for over 80% of consumer-grade -# GPS sensors. The gpsdplug script will tell a running gpsd that it should -# look at the device that just went active, because it might be a GPS. -# -# The Prolific Technology 2303 (commonly in tandem with SiRF chips) -gpsdplug 0x0003 0x067b 0x2303 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 -# FTDI 8U232AM -gpsdplug 0x0003 0x0403 0x6001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 -# Cypress M8/CY7C64013 (DeLorme uses these) -gpsdplug 0x0003 0x1163 0x0100 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 |