From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 08:42:36 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 A626637B401 for ; Wed, 25 Jun 2003 08:42:36 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50DA43FE3 for ; Wed, 25 Jun 2003 08:42:35 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h5PFgRE1051295; Wed, 25 Jun 2003 09:42:27 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 25 Jun 2003 09:42:25 -0600 (MDT) Message-Id: <20030625.094225.09510301.imp@bsdimp.com> To: danny@cs.huji.ac.il From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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 15:42:37 -0000 : 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'm able to use ppp with umodem/ucom. My brother uses ulpcom/ucom for his ppp needs. I'm pretty sure that select is involved. :-) >From what I can see in the code, I'd expect that it would work because the ttypoll routine is specified for the poll routine. Why do you think it wouldn't work? Warner