kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Max Krasnyansky <maxk@kernel.org>
To: Avi Kivity <avi@redhat.com>
Cc: Gabriel Buades Rubio <isaigabi@ono.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: USB support for smart card reader
Date: Tue, 07 Oct 2008 09:40:08 -0700	[thread overview]
Message-ID: <48EB90E8.20509@kernel.org> (raw)
In-Reply-To: <48E8E8DB.6000305@redhat.com>

Avi Kivity wrote:
> (copying max)
> 
> Gabriel Buades Rubio wrote:
>> When you attach a USB Card Reader from host to guest, but neither KVM-75
>> or KVM-76 works.
>> It of course connect the USB device, Windows XP detects it as a Cherry
>> XX44 card reader, but it never detects when a smart card is inserted, so
>> the application software cannot contact the smart card.
>>
>> Using KVM-69 the smart card reader was fully functional.
>>
>> CPU Model: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
>> KVM Version: KVM-75 / KVM-76
>> host kernel: 2.6.24-19  i386 (Ubuntu)
>> guest: Windows XP SP2
>> command line: kvm -hda wxp-b.img -net nic,model=virtio -net vde -m 256
>> -usb -usbdevice tablet  -localtime -fda floppy -boot a -no-acpi
>>  -usbdevice 'host:auto:*.*:046a:002d'
>> Using -no-kvm-irqchip: cannot read smart card
>> Using -no-kvm-pit: cannot read smart card
>> Using -no-kvm: cannot read smart card

Avi,
Thanx for the CC.

Gabriel,
Can you please send me the output of (on the host).
	lsusb -v -d 046a:002d

Aslo if you could uncomment DEBUG in
	kvm-userspace/qemu/usb-linux.c
	kvm-userspace/qemu/hw/usb-uhci.c
recompile and reproduce the scenario that'd be great.
You'd have to redirect qemu stdout & stderr to some file. The file will be
huge so you'd want to either send it to me in private or put it on some web
server or something.

Thanx
Max


      reply	other threads:[~2008-10-07 16:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 17:52 USB support for smart card reader Gabriel Buades Rubio
2008-10-05 16:18 ` Avi Kivity
2008-10-07 16:40   ` Max Krasnyansky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48EB90E8.20509@kernel.org \
    --to=maxk@kernel.org \
    --cc=avi@redhat.com \
    --cc=isaigabi@ono.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).