NetBSD Problem Report #27197
Received: (qmail 18647 invoked by uid 605); 9 Oct 2004 19:04:11 -0000
Message-Id: <200410082248.i98MmCSf003707@Plectere.com>
Date: Fri, 8 Oct 2004 15:48:12 -0700 (PDT)
From: paul@Plectere.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: paul@Plectere.com
To: gnats-bugs@gnats.NetBSD.org
Subject: Add support for Pharos/Microsoft GPS
X-Send-Pr-Version: 3.95
>Number: 27197
>Category: kern
>Synopsis: the Pharos/Microsoft GPS changes the "standard" devID number.
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Oct 09 19:05:00 +0000 2004
>Closed-Date: Sat Oct 23 14:22:34 +0000 2004
>Last-Modified: Sat Oct 23 14:22:34 +0000 2004
>Originator: Paul Shupak
>Release: NetBSD 2.99.9
>Organization:
>Environment:
System: NetBSD cobalt 2.99.9 NetBSD 2.99.9 (COBALT-$Revision: 1.4 $) #727: Thu Oct 7 17:37:08 PDT 2004 paul@svcs:/sys/arch/i386/compile/COBALT i386
Architecture: i386
Machine: i386
>Description:
The Pharos GPS units use the Prolific 2303x USB-Serial bridge chip.
The Microsoft version (comes with Streets & Trips 2005) changes the device
identifier to 0xaaa0 (AFAIK, bought directly, the Pharos uses the typical
identifier of 0x2303 - an already covered base). At $100 street price, $129
retail list price and $60 employee discount price (No, I'm not a MS employee),
it is the cheapest available 12-channel GPS that speaks NEMA out of the box
(It actually defaults to 1 sec. reporting enabled) and (of course) JUST
WORKS with "ntpd".
Only problem - Not supported yet (well, and what to do with the MS
software).
NOTE: There are reports that some units of at least one flavor of
the MS USB IntelliMouse uses the same chip and ID (from a Pharos FAQ at
their site), but that only invalidates the comments, the IntelliMouse
should work also.
>How-To-Repeat:
Plug in a Pharos GPS from Streets and Trips 2005. Look at the
kernel attach ugenX while reporting a Prolific serial device.
>Fix:
The following patches to src/sys/dev/usb/usbdevs and to
src/sys/dev/usb/uplcom.c add support (and of course, you'll need
to change your ntp.conf or whatever the intended application(s)'s
files are).
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.378
diff -c -r1.378 usbdevs
*** usbdevs 7 Jul 2004 21:54:21 -0000 1.378
--- usbdevs 8 Oct 2004 22:27:16 -0000
***************
*** 1361,1366 ****
--- 1361,1367 ----
product PROLIFIC PL2303 0x2303 PL2303 Serial adapter (ATEN/IOGEAR UC232A)
product PROLIFIC PL2305 0x2305 Parallel printer adapter
product PROLIFIC ATAPI4 0x2307 ATAPI-4 Bridge Controller
+ product PROLIFIC PL2303X 0xaaa0 PL2303 Serial adapter (Pharos GPS - Microsoft Version)
/* Putercom products */
product PUTERCOM UPA100 0x047e USB-1284 BRIDGE
Index: uplcom.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uplcom.c,v
retrieving revision 1.39
diff -c -r1.39 uplcom.c
*** uplcom.c 13 Sep 2004 12:55:49 -0000 1.39
--- uplcom.c 8 Oct 2004 22:27:17 -0000
***************
*** 183,188 ****
--- 183,190 ----
{ USB_VENDOR_HAL, USB_PRODUCT_HAL_IMR001 },
/* Sitecom USB to serial cable */
{ USB_VENDOR_SITECOM, USB_PRODUCT_SITECOM_SERIAL },
+ /* Pharos USB GPS - Microsoft version */
+ { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303X },
};
#define uplcom_lookup(v, p) usb_lookup(uplcom_devs, v, p)
>Release-Note:
>Audit-Trail:
From: Lennart Augustsson <augustss@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/27197 CVS commit: src/sys/dev/usb
Date: Sat, 23 Oct 2004 14:20:50 +0000 (UTC)
Module Name: src
Committed By: augustss
Date: Sat Oct 23 14:20:50 UTC 2004
Modified Files:
src/sys/dev/usb: uplcom.c usbdevs
Log Message:
Add another serial adapter. From Paul Shupak in PR kern/27197.
To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 src/sys/dev/usb/uplcom.c
cvs rdiff -r1.383 -r1.384 src/sys/dev/usb/usbdevs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: augustss
State-Changed-When: Sat Oct 23 14:22:23 UTC 2004
State-Changed-Why:
Patch applied.
>Unformatted:
>Quarter:
>Keywords:
>Date-Required:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.