Subject: Re: USB GPS on NetBSD
To: David Howland <dhowland@users.sourceforge.net>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: netbsd-users
Date: 05/03/2007 07:43:47
On Thursday 03 May 2007 05:50, David Howland wrote:
> Well, by the patches at the end of this mail, I got my device to be
> recognized by the ucycom driver.

I've committed the update to usbdevs and friends.

> The new dmesg report looks like this.
>
> uhidev0 at uhub0 port 1 configuration 1 interface 0
> uhidev0: DeLorme Publishing DeLorme USB Earthmate, rev 1.00/0.01, addr
> 2, iclass 3/0
> ucycom0 at uhidev0

Cool.

> I did a MAKEDEV ttyY0 to create the dev entry.
>
> Now I have no idea how to use it, and I think there is a problem.

http://developer.berlios.de/projects/gpsd/

seems to be what you need.

> Any access to /dev/ttyY0 results in an immediate kernel panic.
> It says something about sleepq_enqueue.

hmm, that's not good. Can you get a full backtrace from ddb? At the db> prompt 
type 't'.

Alternatively do you get a crash dump?

Thanks,
Nick