From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 05:09:01 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A1BB37B401 for ; Wed, 25 Jun 2003 05:09:01 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB46C43FEA for ; Wed, 25 Jun 2003 05:08:59 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h5PC8ehR077464 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 25 Jun 2003 14:08:41 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h5PC8dDn037374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jun 2003 14:08:40 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h5PC8dgt052983; Wed, 25 Jun 2003 14:08:39 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h5PC8dwL052982; Wed, 25 Jun 2003 14:08:39 +0200 (CEST) Date: Wed, 25 Jun 2003 14:08:38 +0200 From: Bernd Walter To: Danny Braniss Message-ID: <20030625120837.GC52854@cicely12.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org Subject: Re: USB, select/poll for ucom X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 12:09:01 -0000 On Wed, Jun 25, 2003 at 01:13:56PM +0300, Danny Braniss wrote: > hi, > while trying to port an application that works with tty to uplcom/ucom, > (and it doesn't work :-), and looking at the kernel sources and > trying to figure out USB, i think that select(2)/poll(2) will not work, > correct? I've seen Problemes with non 8n1 communications and I've also seen problems because most USB adapters only deliver 5.5V to the lines. I never noticed any select/poll problems and I don't think we have any because this is handled in common code at tty level. If you have any condition that shows something different please let us know. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de