From owner-freebsd-usb@FreeBSD.ORG Sat Feb 12 21:30:11 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 070D916A4CE for ; Sat, 12 Feb 2005 21:30:11 +0000 (GMT) Received: from lakermmtao09.cox.net (lakermmtao09.cox.net [68.230.240.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 573C343D1D for ; Sat, 12 Feb 2005 21:30:10 +0000 (GMT) (envelope-from mskar@atlllc.com) Received: from TERRAPIN ([68.10.203.35]) by lakermmtao09.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20050212213010.YFU942.lakermmtao09.cox.net@TERRAPIN> for ; Sat, 12 Feb 2005 16:30:10 -0500 From: "Marc Skarshinski" To: Date: Sat, 12 Feb 2005 16:30:07 -0500 Organization: Atlantis Consulting, LLC Message-ID: <000201c5114a$064ba500$fc01320a@TERRAPIN> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: ucom/uplcom question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 21:30:11 -0000 I am having timeout problems on 4.9-Stable using the ucom devices provided by the "Prolific Technology PL2303 serial adapter (ATEN/IOGEAR UC232A), rev 1.10/2.02" and also the "Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00" driver. I am trying to read/write to the port from a couple of shell scripts (one which cats the port, the other which issues printf statements to the port) I think this has to do with improper port settings but I cannot get the settings, issued stty commands, to persist across printfs to the port. Are there locking devices which can/should be associated with these devices, analogous to the cuala locking devices for a cuaa device? Also, the man page for ucom states: "The ucom driver shows a behavior like a tty", yet were this a standard serial port I would generally use a cuaa device not a tty. Is a ucom suitable for controlling a device which primarily is written (the device is a relay control box)? Any help/guesses would be appreciated. Thanks! Marc Skarshinski Atlantis Consulting, LLC