Subject: Re: USB GPS on NetBSD
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: David Howland <dhowland@users.sourceforge.net>
List: netbsd-users
Date: 05/02/2007 15:44:12
Steven M. Bellovin wrote:
> the ucom.  The question is why ucycom isn't picking up the device.  I'd
> check the vendor and product ids against the table in ucycom.c.

Thats the first thing I did.

ucycom.c seems to support two devices...

Static const struct usb_devno ucycom_devs[] = {
	{ USB_VENDOR_CYPRESS, USB_PRODUCT_CYPRESS_USBRS232 },
	{ USB_VENDOR_DELORME, USB_PRODUCT_DELORME_EARTHMATE },
};


This seems to match with the definitions in usbdevs.h

# cd /usr/src/sys
# search EARTHMATE \*.c
./dev/usb/ucycom.c:     { USB_VENDOR_DELORME, 
USB_PRODUCT_DELORME_EARTHMATE },
# search EARTHMATE \*.h
./dev/usb/usbdevs.h:#define     USB_PRODUCT_DELORME_EARTHMATE   0x0100 
         /* Earthmate GPS */
./dev/usb/usbdevs_data.h:           USB_VENDOR_DELORME, 
USB_PRODUCT_DELORME_EARTHMATE,


-d