Date: Sun, 2 Apr 2006 15:27:07 -0700 (PDT) From: Andy Sparrow <freebsd-bugs@spadger.best.vwh.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: usb/95241: Patch to add USB ID for OEM Pharos 360 GPS Message-ID: <20060402222708.0AFDB8D3@spadger.best.vwh.net> Resent-Message-ID: <200604022230.k32MUK7f056501@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95241 >Category: usb >Synopsis: Patch to add USB ID for OEM Pharos 360 GPS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 02 22:30:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andy Sparrow >Release: FreeBSD 5.5-PRERELEASE i386 >Organization: None >Environment: System: FreeBSD dell 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #12: Sat Apr 1 14:33:56 PST 2006 root@dell:/usr/src/sys/i386/compile/dell i386 >Description: The Pharos 360 GPS is a SiRF-II chipset USB GPS that outputs NMEA data and should work with NTP or any NMEA-aware GPS program. GPSD rates support for this device as "good". It uses a Prolific PL2303 USB->serial cable. Microsoft bundles an OEM version with some editions of Streets and Trips, but they use a unique ID for the PL2303, thus it is not recognised by the uplcom driver. Without this patch, the device winds up attached to ugenX instead of ucomX. NetBSD had PR #293371 for this in Oct 2004. >How-To-Repeat: Plug a Pharos 360 OEM GPS (as shipped by Microsoft with Streets and Trips) into a USB port. Observe how the PL2303 USB->serial adapter isn't recognised because it has a unique ID, and thus gets attached as ugenX. >Fix: The following is trivially altered from the BSD patch in the PR, man page addition is new: --- sys/dev/usb/usbdevs.orig Sat Apr 1 12:42:17 2006 +++ sys/dev/usb/usbdevs Sat Apr 1 12:49:24 2006 @@ -1158,6 +1158,7 @@ product PROLIFIC PL2305 0x2305 Parallel printer adapter product PROLIFIC ATAPI4 0x2307 ATAPI-4 Bridge Controller product PROLIFIC PL2501 0x2501 PL2501 Host-Host interface +product PROLIFIC MSGPS 0xaaa0 PL2303 Serial adapter (MS OEM Pharos 360 GPS) product PROLIFIC RSAQ3 0xaaa2 PL2303 Serial adapter (IODATA USB-RSAQ3) /* Putercom products */ --- sys/dev/usb/uplcom.c.orig Sat Apr 1 12:43:55 2006 +++ sys/dev/usb/uplcom.c Sat Apr 1 12:49:52 2006 @@ -258,6 +258,8 @@ { USB_VENDOR_HAL, USB_PRODUCT_HAL_IMR001, -1, TYPE_PL2303 }, /* Sitecom USB to Serial */ { USB_VENDOR_SITECOM, USB_PRODUCT_SITECOM_SERIAL, -1, TYPE_PL2303 }, + /* Pharos 360 USB GPS - Microsoft version */ + { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_MSGPS, -1, TYPE_PL2303 }, { 0, 0 } }; --- share/man/man4/uplcom.4.orig Sun Apr 2 15:18:25 2006 +++ share/man/man4/uplcom.4 Sun Apr 2 15:18:05 2006 @@ -70,6 +70,8 @@ .It I/O DATA USB-RSAQ2 .It +Microsoft OEM GPS (bundled Pharos 360) +.It PLANEX USB-RS232 URS-03 .It RATOC REX-USB60 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060402222708.0AFDB8D3>