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

Sigbjorn Lie sigbjorn at nixtra.com
Thu Nov 29 06:16:03 PST 2012


The error messages we're exactly the same, except that pcscd did not attempt to attach to the device...

Rgds
Siggi

Hans de Goede <hdegoede at redhat.com> wrote:

>Hi,
>
>On 11/28/2012 09:56 PM, Sigbjorn Lie wrote:
>>
>>
>>
>> On Wed, November 28, 2012 21:11, Hans de Goede wrote:
>>> Hi,
>>>
>>>
>>> On 11/28/2012 09:06 PM, Sigbjorn Lie wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Wed, November 28, 2012 20:50, Hans de Goede wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>>
>>>>> On 11/28/2012 12:45 PM, Sigbjorn Lie wrote:
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I receive the following errors when I attempt to use native USB
>redirection in RHEV 3.1
>>>>>> beta. It's
>>>>>> a smart card reader I am attempting to redirect into a virtual
>Windows 7 x64 machine.
>>>>>>
>>>>>> Is this a known error?
>>>>>>
>>>>>>
>>>>>
>>>>> It seems that pcscd is using the reader from userspace just like
>spice is, and the pcscd
>>>>> driver is not properly claiming the interface, and therefor both
>are trying to talk to the
>>>>> device at the same time!
>>>>>
>>>>> What might help here is to try and disable the pcscd service.
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>>
>>>>> Hans
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>>
>>>> Thanks for your reply.
>>>>
>>>>
>>>> I did try to run "service pcscd stop", and reconnect the smardcard
>reader to a different USB
>>>> port, and then attempted to share the smartcard reader with the
>virtual machine. The same issue
>>>> occurred.
>>>
>>> Including all the pcscd related error messages? Then I guess the
>pcscd process was not stopped
>>> properly... Maybe try disabling the service then rebooting ?
>>>
>>
>>
>> All the messages from pcscd stopped appearing in the log after I
>stopped the service. I will try
>> to disable pcscd with chkconfig and reboot tomorrow when I'm back at
>work.
>
>But usb-redirection for the ccid device still did not work? Were there
>any messages in dmesg /
>on the terminal where you started remote-viewer for an attempt without
>pcscd running?
>
>Regards,
>
>Hans

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20121129/99c744cf/attachment.html>


More information about the Spice-devel mailing list