From owner-freebsd-hardware Wed Jan 16 4:59:51 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from arg1.demon.co.uk (arg1.demon.co.uk [62.49.12.213]) by hub.freebsd.org (Postfix) with ESMTP id E730537B417 for ; Wed, 16 Jan 2002 04:59:48 -0800 (PST) Received: by arg1.demon.co.uk (Postfix, from userid 1002) id B052E9B04; Wed, 16 Jan 2002 12:59:47 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by arg1.demon.co.uk (Postfix) with ESMTP id A83465D25; Wed, 16 Jan 2002 12:59:47 +0000 (GMT) Date: Wed, 16 Jan 2002 12:59:47 +0000 (GMT) From: Andrew Gordon X-X-Sender: To: Brett Glass Cc: Subject: Re: Getting a USB serial device working In-Reply-To: <200201160654.XAA19737@lariat.org> Message-ID: <20020116123433.P39005-100000@server.arg.sj.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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