From owner-freebsd-hardware Thu Sep 23 10:11:46 1999 Delivered-To: freebsd-hardware@freebsd.org Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by hub.freebsd.org (Postfix) with ESMTP id 1E4F614F72 for ; Thu, 23 Sep 1999 10:11:36 -0700 (PDT) (envelope-from nick.hibma@jrc.it) Received: from elect8 (elect8.jrc.it [139.191.71.152]) by mrelay.jrc.it (LMC5692) with ESMTP id TAA29598; Thu, 23 Sep 1999 19:10:47 +0200 (MET DST) Date: Thu, 23 Sep 1999 19:10:47 +0200 (MET DST) From: Nick Hibma X-Sender: n_hibma@elect8 Reply-To: Nick Hibma To: Michael Sokolov Cc: freebsd-hardware@FreeBSD.ORG Subject: Re: USB tty devices In-Reply-To: <9909231702.AA11281@meson.jpsystems.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I wonder, does the FreeBSD USB support include generic tty devices that would > look like normal ttys to the userland? I'm working with devices that used to be > normal RS-232, but the most recent model uses USB instead. Folks say that > everything is the same except for USB being used instead of RS-232, so I guess > I need some support in the kernel that would make a USB device look exactly the > same as normal RS-232 tty ports. I wonder, does FreeBSD have this and if it > does, what's the minimum version I need? I'm running 2.2.8 right now. TIA. If you are lucky you are using simply two pipes for the communication, flow control being done through normal USB mechanisms. In that case, all you need is a driver that a la ezload (see ports) talk sto the generic driver and pushes the data out and reads data back in. The utilities to talk to the device are supposed to stay exactly the same? Are they setting flow control and things like that? Nick > -- > Michael Sokolov 2695 VILLA CREEK DR STE 240 > Software Engineer DALLAS TX 75234-7329 USA > JP Systems, Inc. Phone: +1-972-484-5432 x247 > or +1-888-665-2460 x247 > E-mail: msokolov@meson.jpsystems.com Fax: +1-972-484-4154 > > P.S. These devices are Palm OS connected organizers that use RS-232 for their > HotSync protocol. HandSpring is making a new Palm OS device that uses USB > instead, and I have been given the task of making it possible to talk to these > critters from UNIX as it is possible with normal PalmPilots using pilot-link > /dev/cuaa0 or whatever. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message > > -- ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message