Getting logs from windows is a bitch!
Anyway, here is the part of the log when I click on USB redirection and
choose the Logitech camera.
On Mon, Jul 1, 2019 at 4:20 PM Victor Toso wrote:
> Hi,
>
> On Mon, Jul 01, 2019 at 04:08:17PM +0300, Hetz Ben Hamo wrote:
> > On Mon, Jul 1, 2019 at 1:46 PM Victor Toso
> wrote:
> >
> > > Hi,
> > >
> > > On Sun, Jun 30, 2019 at 12:42:05PM +0300, Hetz Ben Hamo wrote:
> > > > Hi,
> > > >
> > > > I'm trying remote viewer 8.0 on Windows 10 (1903 and
> earlier).(desktop
> > > > client is Windows, VM is Windows)
> > > >
> > > > Trying to redirect a USB device gives error, few devices gives
> different
> > > > errors:
> > > >
> > > > * Trying to connect Logitech HD 920 gives error -5
> > > > * Trying to connect Sandisk Ultra disk on key gives error -12
> > >
> > > Without logs it is a bit hard to fully understand. If this errors
> > > are coming from libusb, -5 would be 'not found' and -12 'not
> > > supported'.
> > >
> > > For redirect USB from windows client you need UsbDK installed,
> > > which version do you have?
> > >
> >
> > If I'm not mistaken, the Windows remote viewer already includes USBDK.
>
> Not sure what is your installer but remote-viewer is one thing
> and USBDk is another. remote-viewer uses USBDk but can be run if
> USBDk is not installed. It should have been installed indeed
> otherwise you wouldn't be able to select any USB device.
>
> > Anyway, I tried to install the latest (1.0.21) - still same problem.
> Trying
> > to select other devices on the list, btw, gives other errors.
> >
> > Regarding logs - where is the Windows client store those logs? Looking
> > at C:\Program Files\VirtViewer v8.0-256 - I don't see any log files.
>
>
> Sorry, I should have said that earlier. You should run from
> console/terminal with --debug and --spice-debug
>
> Cheers,
> Victor
>
> > > > This only happens on Windows. I tried the same thing with Fedora 30
> on my
> > > > laptop and it works well.
> > > >
> > > > Should I open a bug on Bugzilla?
> > >
> > > Cheers,
> > > Victor
> > >
>
(remote-viewer.exe:11984): GSpice-DEBUG: 16:34:39.700: ../../src/usbutil.c:238
loading C:\Users\Public\Documents\hwdata\usb.ids success: no
(remote-viewer.exe:11984): GSpice-DEBUG: 16:34:39.712: ../../src/usbutil.c:238
loading C:\Program Files\VirtViewer v8.0-256\share\hwdata\usb.ids success: yes
(remote-viewer.exe:11984): GSpice-DEBUG: 16:34:39.725:
../../src/usb-device-manager.c:1964 Auto-connect disabled, no hider setup needed
(remote-viewer.exe:11984): GSpice-DEBUG: 16:34:58.486:
../../src/usb-device-manager.c:1391 connecting device 045DA800
[timestamp] [threadID] facility level [function call]
[54.360604] [1960] libusb: debug [libusb_get_device_list]
[54.366618] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [60]
[54.366618] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [61]
[54.366618] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [62]
[54.366618] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [63]
[54.366618] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [64]
[54.367610] [1960] libusb: debug [get_api_type] driver(s): usbccgp
[54.367610] [1960] libusb: debug [get_api_type] matched driver name against
Composite API
[54.367610] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [4E]
[54.367610] [1960] libusb: debug [get_api_type] driver(s): usbccgp
[54.367610] [1960] libusb: debug [get_api_type] matched driver name against
Composite API
[54.367610] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [4F]
[54.367610] [1960] libusb: debug [get_api_type] driver(s): usbccgp
[54.367610] [1960] libusb: debug [get_api_type] matched driver name against
Composite API
[54.367610] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [50]
[54.368619] [1960] libusb: debug [get_api_type] driver(s): HidUsb
[54.368619] [1960] libusb: debug [get_api_type] matched driver name against
HID API
[54.368619] [1960] libusb: debug [winusb_get_device_list] allocating new
device for session [51]
[54.369613] [1960] libusb: debug [enumerate_hcd_root_hub] assigning HCD
'PCI\VEN_10DE_1AD8_12B010DE_A1\4&1C3D25BB&0&0219' bus number 1
[54.375618] [1960] libusb: debug [enumerate_hcd_root_hub] assigning HCD
'PCI\VEN_1022_145F_7B791462_00\4&0&0339' bus number 2
[54.377620] [1960] libusb: debug [enumerate_hcd_root_hub] assigning HCD
'PCI\VEN_1022_43D0_11421B21_01\4&288C77C7&0&000B' bus number 3
[54.378621] [1960] libusb: debug [winusb_get_device_list] found existing
device for session [60]
[54.378621] [1960] libusb: debug [init_device] found 1 configurations
(active