Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 12:59:47 +0000 (GMT)
From:      Andrew Gordon <freebsd@arg1.demon.co.uk>
To:        Brett Glass <brett@lariat.org>
Cc:        <hardware@freebsd.org>
Subject:   Re: Getting a USB serial device working
Message-ID:  <20020116123433.P39005-100000@server.arg.sj.co.uk>
In-Reply-To: <200201160654.XAA19737@lariat.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Jan 2002, Brett Glass wrote:

> I'm trying to set FreeBSD up to communicate with a USB serial device. The
> device contains a USB-to-serial chip, and FreeBSD reports it as
>
> USB <-> Serial, FTDI
>
> in response to the usbdevs command. But I can't, from the docs at hand,
> figure out how to associate the USB device with a tty or cu device
> so that I can communicate with it via Kermit or another terminal
> program. How is this done?

It isn't.  There are a wide variety of USB <-> Serial adapters, each using
their own proprietary protocol (unlike the more sane area of storage
devices which mostly implement the mass-storage class).

In this case you have a small amount of luck, in that you've bought one of
the more open devices.  There's Linux support at

   http://ftdi-usb-sio.sourceforge.net/

and I have used information from there to write a trivial dumb-terminal
which talks through the FreeBSD "ugen" device to access the port; this
is more proof-of-concept rather than anything useful, but I've put it
online in case of interest:

   http://www.arg1.demon.co.uk/freebsd.html




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020116123433.P39005-100000>