2013-09-03 19:01:17 +00:00
|
|
|
From 749942f6d5fdfed2d860169cf5271373e6a02868 Mon Sep 17 00:00:00 2001
|
2013-08-18 10:25:16 +00:00
|
|
|
From: Alon Levy <alevy@redhat.com>
|
|
|
|
Date: Mon, 4 Mar 2013 21:40:53 +0200
|
2013-09-03 19:01:17 +00:00
|
|
|
Subject: [PATCH] dev-smartcard-reader: support windows guest
|
2013-08-18 10:25:16 +00:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
By not advertising USB wakeup support (which we don't).
|
|
|
|
|
|
|
|
Signed-off-by: Alon Levy <alevy@redhat.com>
|
|
|
|
Reviewed-by: Marc-André Lureau <mlureau@redhat.com>
|
|
|
|
(cherry picked from commit c5cd7c875608911ec74817d24cd12b825014ba19)
|
|
|
|
---
|
|
|
|
hw/usb/dev-smartcard-reader.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c
|
|
|
|
index 54ea536..db5dd6d 100644
|
|
|
|
--- a/hw/usb/dev-smartcard-reader.c
|
|
|
|
+++ b/hw/usb/dev-smartcard-reader.c
|
|
|
|
@@ -359,11 +359,11 @@ static const uint8_t qemu_ccid_descriptor[] = {
|
|
|
|
* 20000 Short APDU level exchange with CCID
|
|
|
|
* 40000 Short and Extended APDU level exchange with CCID
|
|
|
|
*
|
|
|
|
- * + 100000 USB Wake up signaling supported on card
|
|
|
|
+ * 100000 USB Wake up signaling supported on card
|
|
|
|
* insertion and removal. Must set bit 5 in bmAttributes
|
|
|
|
* in Configuration descriptor if 100000 is set.
|
|
|
|
*/
|
|
|
|
- 0xfe, 0x04, 0x11, 0x00,
|
|
|
|
+ 0xfe, 0x04, 0x01, 0x00,
|
|
|
|
/*
|
|
|
|
* u32 dwMaxCCIDMessageLength; For extended APDU in
|
|
|
|
* [261 + 10 , 65544 + 10]. Otherwise the minimum is
|