On Thu, Dec 16, 2010 at 02:01:34PM +0100, Gerd Hoffmann wrote: > On 12/16/10 12:06, Alon Levy wrote: > >Add documentation for the usb-ccid device and accompanying two card > >devices, ccid-card-emulated and ccid-card-passthru. > >--- > > docs/ccid.txt | 125 ++++++++++++++ > > docs/libcacard.txt | 483 > > ---------------------------------------------------- > > Guess that isn't intentional, right? >
doh! > >+A typical interchange is: > >+ > >+client event | vscclient | passthru | > >usb-ccid | guest event > >+---------------------------------------------------------------------------------------------- > >+ | VSC_Init | | > > | > >+ | VSC_ReaderAdd | | attach > > | > >+ | | | > > | sees new usb device. > >+card inserted | | | > > | > >+ | VSC_ATR | | > > | > >+ | | | > > | guest operation, APDU transfer via CCID > >+ | | VSC_APDU | > > | > >+ | VSC_APDU | | > > | > >+client<->physical | | | > > | > >+card APDU exchange| | | > > | > >+ [APDU<->APDU repeats several times] > >+card removed | | | > > | > >+ | VSC_CardRemove | | > > | > >+kill/quit | | | > > | > >+ vscclient | | | > > | > >+ | VSC_ReaderRemove | | detach > > | > >+ | | | > > | usb device removed. > > This needs updating, doesn't it? I think you plugin and -out just > the cards on the ccid bus instead of the whole usb device, right? > actually I'm not sure.. I'll check and update. > cheers, > Gerd > >