[Spice-devel] USB redirection: "LIBUSB_ERROR_NOT_SUPPORTED"

Yuri Benditovich yuri.benditovich at daynix.com
Tue Aug 20 10:12:10 UTC 2019


BTW, I see that Windows' libspice*.dll released with mingw do not have any
version information (that usually for Windows binaries comes during build
from resource file).


On Tue, Aug 20, 2019 at 12:46 PM Yuri Benditovich <
yuri.benditovich at daynix.com> wrote:

> I see the virt-viewer 8.0 uses only WinUSB as it includes libusb 1.0.22
> (which uses dynamic configuration of backend with WinUSB as default) and
> spice-gtk 0.35 (which does not configure libusb to use UsbDk).
> I suggest to try virt-viewer 7.0 instead, then libusb will work with UsbDk.
>
> Best regards,
> Yuri
>
>
> On Mon, Aug 19, 2019 at 7:21 PM Brian Wengel <m40636067 at gmail.com> wrote:
>
>> Hi Yuri
>>
>> Oh, it can see i left that out, but here it is:
>> - I installed UsbDk on my Win7 x64 client PC (where remote viewer is
>> running)
>> - Remote viewer version: 8.0-256
>> - libusb-1.0.dll version: 1.0.22.11312 (07-08-18)
>> - Log-file attached
>>
>> :-)
>>
>> On Mon, Aug 19, 2019 at 2:10 PM Yuri Benditovich <
>> yuri.benditovich at daynix.com> wrote:
>>
>>> Hi Brian,
>>>
>>> Which backend you use on your Spice Client machine, UsbDk or WinUsb?
>>> What is the version of remote-viewer and the version of libusb-1.0.dll
>>> (it should be in the same directory when remote-viewer.exe)
>>> I'd also suggest to make a debug log (usually "remote-viewer ...
>>> --spice-debug > log.txt 2>&1") and provide the log.
>>>
>>> Thanks,
>>> Yuri
>>>
>>> On Mon, Aug 19, 2019 at 11:11 AM Brian Wengel <m40636067 at gmail.com>
>>> wrote:
>>>
>>>> Hi Spice-devs
>>>>
>>>> I'm trying to get some USB headsets to work on a VM (Win10 x64) using
>>>> spice USB redirection, but I get the error "
>>>> *LIBUSB_ERROR_NOT_SUPPORTED*".
>>>> Is it a misconfiguration or is the device really not supported?
>>>>
>>>> I've added a ich9 USB controller on the VM:
>>>>
>>>> <controller type='usb' index='0' model='ich9-ehci1'/>
>>>>
>>>> <controller type='usb' index='0' model='ich9-uhci1'>
>>>>   <master startport='0'/>
>>>> </controller>
>>>>
>>>> <controller type='usb' index='0' model='ich9-uhci2'>
>>>>   <master startport='2'/>
>>>> </controller>
>>>>
>>>> On my VM:
>>>> [image: image.png]
>>>>
>>>> On my W7 box I have these controller:
>>>> [image: image.png]
>>>>
>>>> This is my options in spice:
>>>> [image: image.png]
>>>> And the error:
>>>> [image: image.png]
>>>>
>>>> Can I do further action to track down the problem?
>>>>
>>>> Best regards
>>>> Brian W.
>>>> Denmark
>>>> _______________________________________________
>>>> Spice-devel mailing list
>>>> Spice-devel at lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190820/6d0e6b27/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 24461 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190820/6d0e6b27/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9609 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190820/6d0e6b27/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7650 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190820/6d0e6b27/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29274 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190820/6d0e6b27/attachment-0007.png>


More information about the Spice-devel mailing list