* USB support for smart card reader
@ 2008-10-03 17:52 Gabriel Buades Rubio
2008-10-05 16:18 ` Avi Kivity
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Buades Rubio @ 2008-10-03 17:52 UTC (permalink / raw)
To: kvm
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
Thank you very much
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB support for smart card reader
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
0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2008-10-05 16:18 UTC (permalink / raw)
To: Gabriel Buades Rubio; +Cc: kvm, Max Krasnyansky
(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
>
Max, looks like a usb regression. Any ideas?
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB support for smart card reader
2008-10-05 16:18 ` Avi Kivity
@ 2008-10-07 16:40 ` Max Krasnyansky
0 siblings, 0 replies; 3+ messages in thread
From: Max Krasnyansky @ 2008-10-07 16:40 UTC (permalink / raw)
To: Avi Kivity; +Cc: Gabriel Buades Rubio, kvm@vger.kernel.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-07 16:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).