Bug#788005: libfreerdp-plugins-standard: urbdrc-client.so missing (USB redirection)

2016-01-25 Thread Alex 'AdUser' Z
Package: freerdp
Followup-For: Bug #788005

You may also want another patch, that fixes linkage urbdrc-client-libusb.so 
against udev.

If you see message like this right after login:

> undefined symbol 'udev_new'

-- System Information:
Debian Release: 7.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/channels/urbdrc/client/libusb/CMakeLists.txt	2016-01-26 15:25:32.979436442 +1000
+++ b/channels/urbdrc/client/libusb/CMakeLists.txt	2016-01-26 15:25:45.767436886 +1000
@@ -39,6 +39,7 @@
 set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS}
 ${DBUS_GLIB_LIBRARIES}
 ${UUID_LIBRARIES}
+${UDEV_LIBRARIES}
 ${LIBUSB_1_LIBRARIES}
 )
 


Bug#788005: libfreerdp-plugins-standard: urbdrc-client.so missing (USB redirection)

2015-06-07 Thread Lionel Elie Mamane
Package: libfreerdp-plugins-standard
Version: 1.1.0~git20140921.1.440916e+dfsg1-4
Severity: normal

The client channel urbdrc, which is used for USB redirection is
missing.

$ xfreerdp /v:host /usb:id,dev:091e:260f
Loading Dynamic Virtual Channel urbdrc
LoadLibraryA: /usr/lib/x86_64-linux-gnu/freerdp/urbdrc-client.so: cannot open 
shared object file: No such file or directory



-- System Information:
Debian Release: 8.1
  APT prefers stable
  APT policy: (500, 'stable'), (400, 'testing'), (200, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: unable to detect

Versions of packages libfreerdp-plugins-standard depends on:
ii  libasound2   1.0.28-1
ii  libavcodec56 6:11.3-1+deb8u1
ii  libavutil54  6:11.3-1+deb8u1
ii  libc62.19-18
ii  libcups2 1.7.5-11
ii  libfreerdp-common1.1.0   1.1.0~git20140921.1.440916e+dfsg1-4
ii  libfreerdp-utils1.1  1.1.0~git20140921.1.440916e+dfsg1-4
ii  libglib2.0-0 2.42.1-1
ii  libgstreamer-plugins-base0.10-0  0.10.36-2
ii  libgstreamer0.10-0   0.10.36-1.5
ii  libpcsclite1 1.8.13-1
ii  libpulse05.0-13
ii  libssl1.0.0  1.0.1k-3
ii  libwinpr-crt0.1  1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-environment0.1  1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-file0.1 1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-handle0.1   1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-heap0.1 1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-interlocked0.1  1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-library0.1  1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-path0.1 1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-synch0.11.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-sysinfo0.1  1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-thread0.1   1.1.0~git20140921.1.440916e+dfsg1-4
ii  libwinpr-utils0.11.1.0~git20140921.1.440916e+dfsg1-4
ii  libx11-6 2:1.6.2-3
ii  libxext6 2:1.3.3-1
ii  libxml2  2.9.1+dfsg1-5
ii  libxrandr2   2:1.4.2-1+b1
ii  zlib1g   1:1.2.8.dfsg-2+b1

libfreerdp-plugins-standard recommends no packages.

libfreerdp-plugins-standard suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#788005: libfreerdp-plugins-standard: urbdrc-client.so missing (USB redirection)

2015-06-07 Thread Lionel Elie Mamane
tags 788005 +patch
thanks

On Sun, Jun 07, 2015 at 06:34:01PM +0200, Lionel Elie Mamane wrote:

 The client channel urbdrc, which is used for USB redirection is
 missing.

 $ xfreerdp /v:host /usb:id,dev:091e:260f
 Loading Dynamic Virtual Channel urbdrc
 LoadLibraryA: /usr/lib/x86_64-linux-gnu/freerdp/urbdrc-client.so: cannot open 
 shared object file: No such file or directory

Here's a patch that works for me, but is not tested in a
chroot. Possible missing/incorrect builddeps:

libusb-1.0-0-dev instead of libusb-dev
libdbus-glib-1-dev

-- 
Lionel
diff -Nru freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/changelog freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/changelog
--- freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/changelog	2015-03-10 21:29:17.0 +0100
+++ freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/changelog	2015-06-07 18:24:22.0 +0200
@@ -1,3 +1,9 @@
+freerdp (1.1.0~git20140921.1.440916e+dfsg1-4.0) unstable; urgency=medium
+
+  * Enable URBDRC (USB redirection) channel
+
+ -- Lionel Elie Mamane lmam...@debian.org  Sun, 07 Jun 2015 18:24:22 +0200
+
 freerdp (1.1.0~git20140921.1.440916e+dfsg1-4) unstable; urgency=medium
 
   * debian/patches:
diff -Nru freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/control freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/control
--- freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/control	2014-10-07 10:06:28.0 +0200
+++ freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/control	2015-06-07 18:27:13.0 +0200
@@ -29,6 +29,8 @@
  libavcodec-dev,
  libxi-dev,
  libgstreamer-plugins-base0.10-dev,
+ libusb-dev,
+ uuid-dev
 Standards-Version: 3.9.5
 Homepage: http://www.freerdp.com/
 Vcs-Browser: http://anonscm.debian.org/gitweb?p=collab-maint/freerdp.git
diff -Nru freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/libusb_debug freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/libusb_debug
--- freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/libusb_debug	1970-01-01 01:00:00.0 +0100
+++ freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/libusb_debug	2015-06-07 19:03:53.0 +0200
@@ -0,0 +1,12 @@
+Description: fixup libusb subchannel to use libusb_debug, not urbdrc_debug
+--- freerdp-1.1.0~git20140921.1.440916e+dfsg1.orig/channels/urbdrc/client/libusb/libusb_udevman.c
 freerdp-1.1.0~git20140921.1.440916e+dfsg1/channels/urbdrc/client/libusb/libusb_udevman.c
+@@ -550,7 +550,7 @@ static void urbdrc_udevman_parse_addin_a
+ 
+ 		CommandLineSwitchCase(arg, dbg)
+ 		{
+-			urbdrc_debug = 0;
++			libusb_debug = 0;
+ 		}
+ 		CommandLineSwitchCase(arg, dev)
+ 		{
diff -Nru freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/series freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/series
--- freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/series	2015-03-10 21:20:50.0 +0100
+++ freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/patches/series	2015-06-07 19:02:16.0 +0200
@@ -10,3 +10,4 @@
 0001_fix-cmdline-parser.patch
 0002_handle-old-style-cmdline-options.patch
 0003_copy-data-when-adding-glyph-to-cache.patch
+libusb_debug
diff -Nru freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/rules freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/rules
--- freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/rules	2014-09-22 21:58:42.0 +0200
+++ freerdp-1.1.0~git20140921.1.440916e+dfsg1/debian/rules	2015-06-07 18:19:51.0 +0200
@@ -32,6 +32,7 @@
   -DWITH_CUPS=on \
   -DWITH_PCSC=on \
   -DWITH_JPEG=on \
+  -DCHANNEL_URBDRC_CLIENT=on
   $(ARM_FLOAT_ABI) \
   $(NULL)