Beware that numbers as shown by plan 9 might not be those shown by linux, for
example. In any case, it can differ for different devices, although most of them
look the same if they are of the same kind.
On Tue, Feb 22, 2011 at 6:39 PM, wrote:
>
>>presents both an input endpoint #2 and an output
>presents both an input endpoint #2 and an output endpoint #2
Ah, thanks. I wasn't aware that 2 endpoints could have the same number
and be distinct only in their data direction. All of the 20 or so
different "sticks" on my desk have separate endpoint numbers.
rod
> (note that the std would call each simplex chan an "endpoint", but
> you can pair two of them and consider them an endpoint when they are duplex)
As an example, I have a usb device which presents both an input
endpoint #2 and an output endpoint #2. The standard would treat these
as separate end
We don't follow the spec that close. I think linux calls this pipes,
but I'm not sure now. In any case, IIRC, we could do I/O on
those eps [but I'm kind of sleepy now and don't have the code at hand,
so don't trust me too much on this; I can double check later if you
want me to do that.]
On the ot