On Fri, Mar 17, 2006 at 11:19:18AM -0500, Chaskiel M Grundman wrote:
> >Another question:  Does it matter that all the windows USB writes
> >beginn with 42?  In the openct driver, the init writes begin with
> >41, and the "normal" writes begin with 42.  I tried changing the
> >opensc driver to use 42 all the time, but again to no apparent
> >effect.
> 
> Based on my understanding of usb, the "correct" values would seem
> to be 0xc0/0x40, as the requests are not being sent to an interface
> or endpoint (the device _has_ no endpoints, so 0x42 is definitely
> "wrong").

I don't know exactly which request field this is, but:

USB requests are always sent to or received from an endpoint.
All USB devices have at least two endpoints, 0 IN and 0 OUT.
They are always control endpoints. lsusb and /proc/bus/usb/devices
seems to just omit them, probably since they're always present.


//Peter
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to