qemu-devel
[Top][All Lists]
Advanced

[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
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]