Problem with USB passthrough (SmartCard reader)

Bug #1073815 reported by Uwe
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

The following bug report regards to Ubuntu 12.10 and quemu-kvm (1.2.0+noroms-0ubuntu2: amd64)

I have migrated a Windows XP VM from VMware to qemu-kvm. Everything seems to work fine except my SmartCard reader Omnikey 3121. I am able to connect it to the VM as an USB device and Windows recognizes it but it does not work correctly (no SmartCard found). There was no problem with VMware! I have also tried to connect the reader to qemu-kvm as a SmartCard device but unfortunately, I get the error message that my qemu package from the Ubuntu repository is built without SmartCard support.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug.

If you create a quantal vm and pass the device through to it, does that work?

What is the exact kvm command you are using?

Could you please show the results of:
   lsusb on the host
   lsusb -v in a quantal guest with the device passed through

Also add 'monitor stdio' to the kvm command line, then in the monitor type
   info usb
   info usbhost

Changed in qemu-kvm (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Uwe (gandalf.the.grey) wrote :
Download full text (9.1 KiB)

I have started Quantal as a VM from the DVD-iso and following you find the results of the lsusb commands. Unfortunately, I cannot give you the kvm command because I am using virt-manager. But I am going to add its todays log entries as an attachment.

lsusb on the host:
Bus 001 Device 007: ID 0781:5566 SanDisk Corp.
Bus 002 Device 002: ID 04d9:1135 Holtek Semiconductor, Inc.
Bus 004 Device 002: ID 17ef:6009 Lenovo ThinkPad Keyboard with TrackPoint
Bus 005 Device 004: ID 076b:3021 OmniKey AG CardMan 3121
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb -v in the VM:
Bus 001 Device 004: ID 0409:55aa NEC Corp. Hub
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 8
  idVendor 0x0409 NEC Corp.
  idProduct 0x55aa Hub
  bcdDevice 1.01
  iManufacturer 1
  iProduct 2
  iSerial 3
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0002 1x 2 bytes
        bInterval 255

Bus 001 Device 003: ID 076b:3021 OmniKey AG CardMan 3121
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x076b OmniKey AG
  idProduct 0x3021 CardMan 3121
  bcdDevice 3.02
  iManufacturer 1
  iProduct 2
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 93
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 3
    b...

Read more...

Changed in qemu-kvm (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.