Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 19:03:31 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: USB, select/poll for ucom 
Message-ID:  <E19VCk7-000254-00@cs.huji.ac.il>
In-Reply-To: Message from "M. Warner Losh" <imp@bsdimp.com>  <20030625.094225.09510301.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19VCk7-000254-00>