better USB interoperability
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
2011-12-07 Niibe Yutaka <gniibe@fsij.org>
|
2011-12-07 Niibe Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
|
* src/usb_desc.c (gnukDeviceDescriptor): Changed bcdUSB = 1.1.
|
||||||
|
Gnuk device conforms to USB 2.0 full speed device, but when it was
|
||||||
|
2.0, some OS informs users, "you can connect the device to 2.0
|
||||||
|
compliant hub so that it can have better bandwidth", which is not
|
||||||
|
the case for full speed device.
|
||||||
|
|
||||||
* src/openpgp.c (GPGthread): Handle bConfirmPIN parameter.
|
* src/openpgp.c (GPGthread): Handle bConfirmPIN parameter.
|
||||||
|
|
||||||
* src/usb-icc.c (icc_handle_data): Pass PC_to_RDR_Secure
|
* src/usb-icc.c (icc_handle_data): Pass PC_to_RDR_Secure
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
static const uint8_t gnukDeviceDescriptor[] = {
|
static const uint8_t gnukDeviceDescriptor[] = {
|
||||||
18, /* bLength */
|
18, /* bLength */
|
||||||
USB_DEVICE_DESCRIPTOR_TYPE, /* bDescriptorType */
|
USB_DEVICE_DESCRIPTOR_TYPE, /* bDescriptorType */
|
||||||
0x00, 0x02, /* bcdUSB = 2.00 */
|
0x10, 0x01, /* bcdUSB = 1.1 */
|
||||||
0x00, /* bDeviceClass: 0 means deferred to interface */
|
0x00, /* bDeviceClass: 0 means deferred to interface */
|
||||||
0x00, /* bDeviceSubClass */
|
0x00, /* bDeviceSubClass */
|
||||||
0x00, /* bDeviceProtocol */
|
0x00, /* bDeviceProtocol */
|
||||||
|
|||||||
Reference in New Issue
Block a user