From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 09:03:33 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 D929D37B401 for ; Wed, 25 Jun 2003 09:03:33 -0700 (PDT) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A9A843FCB for ; Wed, 25 Jun 2003 09:03:33 -0700 (PDT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 19VCk7-000254-00; Wed, 25 Jun 2003 19:03:31 +0300 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "M. Warner Losh" In-Reply-To: Message from "M. Warner Losh" <20030625.094225.09510301.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 25 Jun 2003 19:03:31 +0300 From: Danny Braniss Message-Id: 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 16:03:34 -0000 > 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? well, for one, my program doesn't work :-), it works with the RS232 version. so i started to poke around, and did some reading, and as far as i could tell, the read(2) has to be initiated by the host, but my knowledge of usb is close to zero - it was zero 2 days ago, but still looking for some better docs, and polish my english - as far as i remember interrupt is not polling, but the ohci docs imply that :-) danny