Page 1 of 1

FreeRDP USB redirection not working to Windows 8.1 VM

Posted: 07 Aug 2019, 19:32
by kevxlree
Sorry if this is a bit off-topic for the forum, but I figured I would give it a shot since I'm running FreeRDP on Porteus.

Running xfreerdp from apt universe repository on Ubuntu 18.04 LTS. Trying to redirect the USB camera device which lsusb identifies as:

Code: Select all

Bus 001 Device 005: ID 04f2:b52c Chicony Electronics Co., Ltd
to a Windows 8.1 VM in RDS 2016 virtual machine based deployment.

Running

Code: Select all

xfreerdp /v:10.1 /cert-ignore /u:user /d:d /p:p /load-balance-info:”tsv://VMResource.1.lbi” /f /sound /rfx /dvc:urbdrc,id,dev:04f2:b52c
appears to run properly as no dvc or urbdrc errors appear, but the Windows VM does not recognize any USB devices that should be redirected.

The Windows VM is configured to allow all USB redirection, RemoteFX USB devices, etc, as detailed here: https://stackoverflow.com/a/34723097

Is there any specific direction I should be focus on troubleshooting?

FreeRDP log:

Code: Select all

loading channel rdpdr
loading channel rdpsnd
loading channel drdynvc
connected to 10.1:3389
creating directory /root/.config/freerdp
creating directory /root/.config/freerdp/certs
creating directory /root/.config/freerdp/server
certificate_store_open: error opening [/root/.config/freerdp/known_hosts] for writing
Unable to find a match for unix timezone: Etc/UTC
expected PDU_TYPE_DEMAND_ACTIVE 0001, got 000a
connected to 10.1:3389
creating directory /root/.config/freerdp
creating directory /root/.config/freerdp/certs
creating directory /root/.config/freerdp/server
certificate_store_open: error opening [/root/.config/freerdp/known_hosts] for writing
Unable to find a match for unix timezone: Etc/UTC
Loading Dynamic Virtual Channel urbdrc
VID: 0x04F2 PID: 0xB52C
Regist Device: Vid: 0x04F2 Pid: 0xB52C InterfaceClass = 0xE
Closed from X11

FreeRDP USB redirection not working to Windows 8.1 VM

Posted: 07 Aug 2019, 19:46
by fanthom
Hi kevxlree,

Please boot Ubuntu live and check if it works ok there to ensure your command syntax is ok.

Thanks

FreeRDP USB redirection not working to Windows 8.1 VM

Posted: 08 Aug 2019, 01:12
by kevxlree
Thanks fanthom - I did use Ubuntu to test, the FreeRDP log in the original post is from my Ubuntu live boot :)

FreeRDP USB redirection not working to Windows 8.1 VM

Posted: 08 Aug 2019, 07:15
by fanthom
But you wrote this command (which you executed in Ubuntu) does not work - is this correct?

FreeRDP USB redirection not working to Windows 8.1 VM

Posted: 08 Aug 2019, 17:06
by kevxlree
Hi Fanthom - yes that is correct - this command is not working in Ubuntu or Porteus!

FreeRDP USB redirection not working to Windows 8.1 VM

Posted: 08 Aug 2019, 18:59
by fanthom
So its not our system fault but rather your command syntax is not correct.
You should refer to the documentation or contact 'xfreerdp' developers and ask for a help.

(unless someone else here knows the answer)

Thanks