FS#54421 - [freerdp] USB redirection missing shared library liburbdrc-client.so

Attached to Project: Community Packages
Opened by Stephan Wienczny (bugbuster) - Monday, 12 June 2017, 11:42 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Thursday, 14 February 2019, 01:34 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

freerdp 1:1.2.0_20170201-3 is missing the file /usr/lib/freerdp2/liburbdrc-client.so when trying to use usb redirection.

This seems to be due to a missing dependency.

https://github.com/FreeRDP/FreeRDP/issues/3424

Steps to reproduce:

1. xfreerdp /usb:id,dev:1234:1234 /u:MyUser /v:MyHost
2. Error message


This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Thursday, 14 February 2019, 01:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  freerdp-1:2.0.0_rc4-3-x86_64.pkg.tar.xz
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 12 February 2019, 09:58 GMT
I managed to get /usb working with this patch to PKGBUILD:

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index c3edb57..884ddab 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -14,7 +14,7 @@ url="http://freerdp.sourceforge.net"
license=('GPL')
depends=('openssl' 'libxcursor' 'libcups' 'alsa-lib' 'libxext' 'libxdamage'
'ffmpeg' 'libxkbfile' 'libxinerama' 'libxv' 'libpulse' 'libxkbfile'
- 'libxrender' 'libxfixes' 'gst-plugins-base-libs')
+ 'libxrender' 'libxfixes' 'gst-plugins-base-libs' 'dbus-glib')
makedepends=('krb5' 'cmake' 'damageproto' 'fixesproto' 'renderproto'
'xmlto' 'docbook-xsl' 'git')
provides=('libwinpr-tools2.so' 'libfreerdp-client2.so' 'libfreerdp2.so'
@@ -41,6 +41,7 @@ build() {
-DWITH_CLIENT_CHANNELS=ON \
-DWITH_SERVER_CHANNELS=ON \
-DWITH_WAYLAND=ON \
+ -DCHANNEL_URBDRC_CLIENT=ON \
.
make
}

My device (EZPAD) is reported as "not supported", though, so I'm not sure if my patch is completely correct or not.
Comment by Sergej Pupykin (sergej) - Wednesday, 13 February 2019, 15:00 GMT
Thank you, please try freerdp-1:2.0.0_rc4-3-x86_64.pkg.tar.xz
Comment by Chih-Hsuan Yen (yan12125) - Thursday, 14 February 2019, 01:34 GMT
Thanks! I got a slightly different error message "libusb_open: (by id) error: 0xFFFFFFFD (-3)". Remaining works should be forwarded to upstream developers, though.

Loading...