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: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 5/5] ccid: add docs
Date: Thu, 16 Dec 2010 14:01:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3

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?

+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?

cheers,
  Gerd




reply via email to

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