[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/5] ccid: add docs
From: |
Alon Levy |
Subject: |
Re: [Qemu-devel] [PATCH 5/5] ccid: add docs |
Date: |
Thu, 16 Dec 2010 18:52:44 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
>
>
- [Qemu-devel] [PATCH 0/5] usb-ccid (v10), Alon Levy, 2010/12/16
- [Qemu-devel] [PATCH 2/5] ccid: add passthru card device, Alon Levy, 2010/12/16
- [Qemu-devel] [PATCH 1/5] usb-ccid: add CCID bus, Alon Levy, 2010/12/16
- [Qemu-devel] [PATCH 4/5] ccid: add ccid-card-emulated device (v2), Alon Levy, 2010/12/16
- [Qemu-devel] [PATCH 5/5] ccid: add docs, Alon Levy, 2010/12/16
- [Qemu-devel] [PATCH 3/5] libcacard: initial commit after coding style fixes, Alon Levy, 2010/12/16