On Tue, Aug 20, 2019 at 8:58 PM Brian Wengel <m40636067@xxxxxxxxx> wrote:
Tried to use a W10 client, Viewer 8.0 and no usbdk installed. Same problem and same error.Log-file attached ;-)
So, this looks like a problem of libusb with WinUSB, which is not preferrable Spice configuration.
I think this is worth to be mentioned in the documentation.
On Tue, Aug 20, 2019 at 12:09 PM Yuri Benditovich <yuri.benditovich@xxxxxxxxxx> wrote:On Tue, Aug 20, 2019 at 12:59 PM Brian Wengel <m40636067@xxxxxxxxx> wrote:OK. at least we know what the issue is :-)I just suspect1: I assume another way would be to use WinUSB instead of UsbDk....maybe that's a more future-proof way to go?
Do you know where I find WinUSB, I guess in Windows SDK. Can I just install it just as easy as UsbDk? (when I finally get my hands on it :-P).No, I see in your case libusb DLL _uses_ WinUSB (I think it is typically available out of the box).And it looks like (from the logs) there is some missing API in WinUSB path that makes the redirection to fail.So, first of all I suggest to try virt-viewer 7.0 and have more information
2: Would be nice if the dokumentation page was updated:https://www.spice-space.org/usbredir.html
Do you have anything to do with this page?Best regards
BrianOn Tue, Aug 20, 2019 at 11:46 AM Yuri Benditovich <yuri.benditovich@xxxxxxxxxx> 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,YuriOn Mon, Aug 19, 2019 at 7:21 PM Brian Wengel <m40636067@xxxxxxxxx> wrote:Hi YuriOh, 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@xxxxxxxxxx> 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,YuriOn Mon, Aug 19, 2019 at 11:11 AM Brian Wengel <m40636067@xxxxxxxxx> wrote:_______________________________________________Hi Spice-devsI'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:On my W7 box I have these controller:This is my options in spice:And the error:Can I do further action to track down the problem?
Best regards
Brian W.
Denmark
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel