NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problems with uplcom/ucom
Ulrich Habel <rhaen%NetBSD.org@localhost> wrote:
> Jan 28 13:51:14 hobbes /netbsd: uplcom0: Prolific Technology Inc.
> USB-Serial Controller D, rev 1.10/4.00, addr 3
> Jan 28 13:51:14 hobbes /netbsd: ucom0 at uplcom0
The Prolific USB-serial converters are not terribly well
regarded, and I've had to make changes to gpsbabel to allow it
to deal with an earlier revision of this converter on both
NetBSD and OS/X.
The version I have is:
uplcom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2
ucom0 at uplcom0
> However, when I try to use it I just can't send any data (a gps device).
> I hate it to say, it works flawlessly with Win, so the adapter itself is
> working.
What software are you trying to use?
What is the exact command line that you are using?
What device file are you trying to use?
What if any output do you see?
I can upload and download waypoints, e.g. with:
$ gpsbabel -w -i garmin -f /dev/dtyU0 -o gpx -F waypoints.gpx
Regards,
Giles
P.S. The first change I had to make to get gpsbabel working
with NetBSD was to add TCSAFLUSH to the tcsetattr() call made
when the device is opened. That let it work sometimes.
Adding the code changes I'd made for OS/X to deal with dropped
DLE characters at the start of ACK/NACK packets from the GPSr
then seemed to make gpsbabel transfers reliable, but I haven't
done a lot of testing.
I can make these code changes available to anyone who's
interested; eventually I plan to offer them to the gpsbabel
maintainers along with cleanup of the compiler warnings.
Home |
Main Index |
Thread Index |
Old Index