IncentivesPro Forum Index IncentivesPro
Leading USB solutions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

USB Redirector Raspberry pi B 2

 
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux
View previous topic :: View next topic  
Author Message
h8r1dx4



Joined: 08 Feb 2016
Posts: 4

PostPosted: Wed Feb 10, 2016 9:55 am    Post subject: USB Redirector Raspberry pi B 2 Reply with quote

Hi

I want to install USB Redirector software on the raspberry pi b2 running latest raspbian Linux 4.1.17-v7+ #838 SMP Tue Feb 9 13:15:09 GMT 2016 armv7l GNU/Linux

can anyone help with this please ?

I need to know witch one of the downloads to use and how to get everything i need to recompile . Thanks
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 551

PostPosted: Wed Feb 10, 2016 10:13 am    Post subject: Reply with quote

Hi

The general procedure is as follows...

You will need to install make, gcc, and linux-headers packages by executing the following command in console:
sudo apt-get install make gcc linux-headers-`uname -r`

Then download arm version of USB Redirector for Linux:
wget http://www.incentivespro.com/usb-redirector-linux-arm.tar.gz

Then extract the package:
tar -zxvf ./usb-redirector-linux-arm.tar.gz

And install it:
cd usb-redirector-linux-arm
sudo ./installer.sh install-server

Then follow the generic usage instructions:
How to use USB Redirector for Linux in USB server mode
Redirecting USB devices from Linux to Windows
_________________
Follow us on Facebook
Back to top
View user's profile Send private message
h8r1dx4



Joined: 08 Feb 2016
Posts: 4

PostPosted: Wed Feb 10, 2016 10:23 am    Post subject: Reply with quote

This is the output :

root@KoOSPi:/tmp/usb-redirector-linux-arm# ./installer.sh install-server

*** Installing USB Redirector for Linux v3.2.2
*** Destination dir: /usr/local/usb-redirector
*** Checking installation...
*** Detecting system...
*** distribution: debian
*** kernel: 4.1.17-v7+
Your kernel version is not officially suppported! Would like to try installing anyway [y/n] ? y
You're doing it at your own risk! %)
*** Compiling kernel module...
*** Cleaning up installation...
***
*** Installation failed!
??? Cannot compile kernel module. Installation terminated. See buildlog.txt file for more information.
root@KoOSPi:/tmp/usb-redirector-linux-arm#

Here is the buildlog.txt

make -C /lib/modules/4.1.17-v7+/build M=/tmp/usb-redirector-linux-arm/files/modules/src/tusbd modules
make[1]: Entering directory '/usr/src/linux-source-4.1.17-v7+'
CC [M] /tmp/usb-redirector-linux-arm/files/modules/src/tusbd/driver.o
CC [M] /tmp/usb-redirector-linux-arm/files/modules/src/tusbd/usbdcdev.o
CC [M] /tmp/usb-redirector-linux-arm/files/modules/src/tusbd/minor_control.o
/tmp/usb-redirector-linux-arm/files/modules/src/tusbd/minor_control.c: In function 'IIIlIllll':
/tmp/usb-redirector-linux-arm/files/modules/src/tusbd/minor_control.c:54:1: error: implicit declaration of function 'strnicmp' [-Werror=implicit-function-declaration]
if(strnicmp(IllIll,"\x73\x68\x61\x72\x65",(0x1448+2821-0x1f48))==
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/tmp/usb-redirector-linux-arm/files/modules/src/tusbd/minor_control.o' failed
make[2]: *** [/tmp/usb-redirector-linux-arm/files/modules/src/tusbd/minor_control.o] Error 1
Makefile:1384: recipe for target '_module_/tmp/usb-redirector-linux-arm/files/modules/src/tusbd' failed
make[1]: *** [_module_/tmp/usb-redirector-linux-arm/files/modules/src/tusbd] Error 2
make[1]: Leaving directory '/usr/src/linux-source-4.1.17-v7+'
Makefile:61: recipe for target 'default' failed
make: *** [default] Error 2


Last edited by h8r1dx4 on Wed Feb 10, 2016 10:41 am; edited 1 time in total
Back to top
View user's profile Send private message
h8r1dx4



Joined: 08 Feb 2016
Posts: 4

PostPosted: Wed Feb 10, 2016 10:39 am    Post subject: No Headers Reply with quote

and there are no headers for this version of linux when i run apt-get install linux-headers-`uname -r`
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 551

PostPosted: Wed Feb 10, 2016 10:55 am    Post subject: Reply with quote

try this version:
http://www.incentivespro.com/usb-redirector-linux-3.4-arm.tar.gz
_________________
Follow us on Facebook
Back to top
View user's profile Send private message
h8r1dx4



Joined: 08 Feb 2016
Posts: 4

PostPosted: Wed Feb 10, 2016 12:53 pm    Post subject: Got this Reply with quote

root@KoOSPi:/usr/src/usb-redirector-linux-arm# cat buildlog.txt
make: Warning: File 'Makefile' has modification time 73546 s in the future
make -C /lib/modules/4.1.17-v7+/build M=/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd modules
make[1]: Entering directory '/usr/src/linux-source-4.1.17-v7+'
make[2]: Warning: File '/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/Makefile' has modification time 73543 s in the future
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/driver.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/usbdcdev.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/minor_control.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/minor_device.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/minor_vhci.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/usb_device.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/vhci_device.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/fifo.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/utils.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/urb_chain.o
CC [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/sg.o
LD [M] /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.o
make[2]: warning: Clock skew detected. Your build may be incomplete.
Building modules, stage 2.
make[2]: Warning: File '/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/Makefile' has modification time 73518 s in the future
MODPOST 1 modules
WARNING: "__pv_phys_pfn_offset" [/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.ko] undefined!
CC /usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.o
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:8:1: error: variable '__this_module' has initializer but incomplete type
__attribute__((section(".gnu.linkonce.this_module"))) = {
^
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:9:2: error: unknown field 'name' specified in initializer
.name = KBUILD_MODNAME,
^
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:9:2: warning: excess elements in struct initializer
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:9:2: warning: (near initialization for '__this_module')
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:10:2: error: unknown field 'init' specified in initializer
.init = init_module,
^
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:10:2: warning: excess elements in struct initializer
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:10:2: warning: (near initialization for '__this_module')
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:2: error: unknown field 'arch' specified in initializer
.arch = MODULE_ARCH_INIT,
^
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:10: error: 'MODULE_ARCH_INIT' undeclared here (not in a function)
.arch = MODULE_ARCH_INIT,
^
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:2: warning: excess elements in struct initializer
.arch = MODULE_ARCH_INIT,
^
/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:2: warning: (near initialization for '__this_module')
scripts/Makefile.modpost:113: recipe for target '/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.o' failed
make[2]: *** [/usr/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.o] Error 1
Makefile:1387: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-source-4.1.17-v7+'
Makefile:61: recipe for target 'default' failed
make: *** [default] Error 2
Back to top
View user's profile Send private message
tomme



Joined: 17 Feb 2016
Posts: 1

PostPosted: Wed Feb 17, 2016 11:22 pm    Post subject: Have the same problem. Can we hope for support/a fix? Reply with quote

Code:

tomme@domoticz ~/src/usb-redirector-linux-arm $ cat /proc/version
Linux version 4.1.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015

tomme@domoticz ~/src/usb-redirector-linux-arm $ cat buildlog.txt
make -C /lib/modules/4.1.13-v7+/build M=/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd modules
make[1]: Entering directory '/usr/src/linux-source-4.1.13-v7+'
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/driver.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/usbdcdev.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/minor_control.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/minor_device.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/minor_vhci.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/usb_device.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/vhci_device.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/fifo.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/utils.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/urb_chain.o
  CC [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/sg.o
  LD [M]  /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "__pv_phys_pfn_offset" [/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.ko] undefined!
  CC      /home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.o
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:8:1: error: variable ‘__this_module’ has initializer but incomplete type
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:9:2: error: unknown field ‘name’ specified in initializer
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:9:2: warning: excess elements in struct initializer [enabled by default]
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:9:2: warning: (near initialization for ‘__this_module’) [enabled by default]
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:10:2: error: unknown field ‘init’ specified in initializer
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:10:2: warning: excess elements in struct initializer [enabled by default]
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:10:2: warning: (near initialization for ‘__this_module’) [enabled by default]
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:2: error: unknown field ‘arch’ specified in initializer
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:10: error: ‘MODULE_ARCH_INIT’ undeclared here (not in a function)
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:2: warning: excess elements in struct initializer [enabled by default]
/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.c:14:2: warning: (near initialization for ‘__this_module’) [enabled by default]
scripts/Makefile.modpost:113: recipe for target '/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.o' failed
make[2]: *** [/home/tomme/src/usb-redirector-linux-arm/files/modules/src/tusbd/tusbd.mod.o] Error 1
Makefile:1387: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-source-4.1.13-v7+'
Makefile:61: recipe for target 'default' failed
make: *** [default] Error 2

tomme@domoticz ~/src/usb-redirector-linux-arm $ ls -d /usr/src/linux-*
/usr/src/linux-headers-3.2.0-4-common/  /usr/src/linux-headers-3.2.0-4-rpi/  /usr/src/linux-kbuild-3.2@  /usr/src/linux-source-4.1.13-v7+/

Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 551

PostPosted: Wed Sep 19, 2018 3:00 pm    Post subject: Reply with quote

Please see Installing USB Redirector on Raspberry Pi topic for instructions.
_________________
Follow us on Facebook
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group