Statistics
| Branch: | Revision:

root / hw / usb / dev-smartcard-reader.c @ f487b677

History | View | Annotate | Download (46.5 kB)

# Date Author Comment
58aeda15 04/24/2013 11:48 am Alon Levy

dev-smartcard-reader: empty implementation for Mechanical (fail correctly)

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

2f8f916b 04/24/2013 11:48 am Alon Levy

dev-smartcard-reader: copy atr protocol to ccid parameters

Adds todos.

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

d7d218ef 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: change default protocol to T=0

We don't support T=1 so we shouldn't advertise it by default.

Two independent changes:
  • Default ATR
    sets T=0. This gets overwritten by the client provided ATR later.
  • Class descriptor
    changes dwAdvertise dwProtocols.PPPP to 0x1 and dwProtocols.RRRR=0 per spec....
4942d6c3 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: define structs for CCID_Parameter internals

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

b16352ac 04/24/2013 11:47 am Alon Levy

ccid-card-passthru, dev-smartcard-reader: add debug environment variables

Introduces a new utility function: parse_debug_env to avoid code
duplication.

This overrides whatever debug value is set on the corresponding devices
from the command line, and is meant to ease the usage with any...

693e4773 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: reuse usb.h definitions

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

c5cd7c87 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: support windows guest

By not advertising USB wakeup support (which we don't).

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

47bf53af 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: remove aborts (never triggered, but just in case)

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

7e1ac5ab 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: nicer debug messages

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

4543d43c 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: white space fixes

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

47b43a1f 04/08/2013 07:13 pm Paolo Bonzini

hw: move private headers to hw/ subdirectories.

Many headers are used only in a single directory. These can be
kept in hw/.

Signed-off-by: Paolo Bonzini <>

8550a02d 02/19/2013 01:30 pm Gerd Hoffmann

usb-core: usb3 streams

This patch adds support for usb3 streams to the usb subsystem core.
This is just adding a streams field / parameter in a number of places.

Signed-off-by: Gerd Hoffmann <>

8c43a6f0 01/10/2013 11:11 pm Andreas Färber

Make all static TypeInfos const

Since 39bffca2030950ef6efe57c2fac8327a45ae1015 (qdev: register all
types natively through QEMU Object Model), TypeInfo as used in
the common, non-iterative pattern is no longer amended with information
and should therefore be const....

1de7afc9 12/19/2012 09:32 am Paolo Bonzini

misc: move include files to include/qemu/

Signed-off-by: Paolo Bonzini <>

83c9089e 12/19/2012 09:31 am Paolo Bonzini

monitor: move include files to include/monitor/

Signed-off-by: Paolo Bonzini <>

c4020746 11/21/2012 03:55 pm Hans de Goede

usb-smartcard-reader: Properly NAK interrupt eps when we've no events

When we've no data to return from the interrupt endpoint, return NAK rather
then a 0 length packet.

CC: Alon Levy <>
Signed-off-by: Hans de Goede <>...

9a77a0f5 11/08/2012 07:41 pm Hans de Goede

usb: split packet result into actual_length + status

Since with the ehci and xhci controllers a single packet can be larger
then maxpacketsize, it is possible for the result of a single packet
to be both having transferred some data as well as the transfer to have...

93bfef4c 06/19/2012 09:36 pm Crístian Viana

Allow machines to configure the QEMU_VERSION that's exposed via hardware

QEMU exposes its version to the guest's hardware and in some cases that is wrong
(e.g. Windows prints messages about driver updates when you switch
the QEMU version).
There is a new field now on the struct QEmuMachine, hw_version, which may...

0d936928 06/18/2012 04:14 pm Anthony Liguori

qdev: Convert busses to QEMU Object Model

This is far less interesting than it sounds. We simply add an Object to each
BusState and then register the types appropriately. Most of the interesting
refactoring will follow in the next patches.

Since we're changing fundamental type names (BusInfo -> BusClass), it all needs...

3cb75a7c 06/18/2012 04:14 pm Paolo Bonzini

qdev: Move bus properties to a separate global

Simple code movement in order to simplify future refactoring.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

bce54474 06/18/2012 04:14 pm Paolo Bonzini

qdev: Move bus properties to abstract superclasses

In qdev, each bus in practice identified an abstract superclass, but
this was mostly hidden. In QOM, instead, these abstract classes are
explicit so we can move bus properties there.

All bus property walks are removed, and all device property walks...

9d55d1ad 04/26/2012 01:21 pm Gerd Hoffmann

usb: add serial number generator

This patch adds a function which creates unique serial numbers for usb
devices and puts it into use. Windows guests tend to become unhappy if
they find two identical usb devices in the system. Effects range from
non-functional devices (with yellow exclamation mark in device manager)...

f1ae32a1 03/13/2012 11:15 am Gerd Hoffmann

usb: the big rename

Reorganize usb source files. Create a new hw/usb/ directory and move
all usb source code to that place. Also make filenames a bit more
descriptive. Host adapters are prefixed with "hch-" now, usb device
emulations are prefixed with "dev-". Fixup paths Makefile and include...