[Spice-devel] Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

David Jaša djasa at redhat.com
Tue Dec 4 05:15:23 PST 2012


Sigbjorn Lie píše v Út 04. 12. 2012 v 12:16 +0100:
> 
> 
> On Tue, December 4, 2012 08:36, Alon Levy wrote:
> >> On 12/02/2012 11:58 AM, Hans de Goede wrote:
> >>
> >>> Hi,
> >>>
> >>>
> >>> On 11/30/2012 03:40 PM, Sigbjorn Lie wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>>
> >>>> I have disabled pcscd with chkconfig and rebooted. After the
> >>>> reboot I attempted to connect to the VDI and share my smart card reader again. The same issue
> >>>> occured.
> >>>
> >>>
> >>> ifdhandler is still messing with the reader while spice tries to use it, I would have expected
> >>> the stopping of pcscd to also stop ifdhandler, but it seems I was wrong. Please also disable
> >>> ifdhandler, I suspect that will solve your issue.
> >>>
> >>>
> >>
> >> And that worked just fine.  I can forward my smart card reader to the
> >> Win 7 VDI now. Thank you.
> >>
> >>
> >> Would you consider this to be a bug?
> >>
> >>
> >> Is this the best way to share my smartcard reader with my Win 7 VDI?
> >> I noticed some specific smartcard options to the remote-viewer. What
> >> is the purpose of these?
> >
> > There is an additional dedicated smartcard channel that you can use. It is meant for using a
> > smartcard in the guest while keeping the ability to use the smartcard in the client. With usb
> > remoting you do not have access to the smartcard device on the client. Usage is like:
> >
> > remote-viewer --spice-smartcard <other options>
> >
> > It works well with linux guests, but we don't have recent reports on windows guests working,
> > although it was tested more then a year ago.
> >
> > I'll be happy to have new reports..
> >
> >
> 
> I am using RHEV 3.1 beta (for a proof of consept for using RHEV for VDI), and remote-viewer is
> being started via the RHEV user portal/spice-xpi. How can I add this --spice-smartcard option?
> 
> What does the --spice-smartcard option depend on in Linux?

RHEV 3.1 does not yet support native spice smartcard remoting but it should be integrated quite soon.

If you can not wait, you could use it with 3.1 if you:
  * install smartcard hook on the host and enable it
  * use something on top of rest api that will launch the client with smartcard option enabled.
    (spice-xpi also has the same knob too: 'document.getElementById("<your spice-xpi object ID>").Smartcard = true;' it is false by default).

David

> 
> 
> Regards,
> Siggi
> 
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24





More information about the Spice-devel mailing list