Code: Select all
uname -aCode: Select all
sudo apt-get install git
git clone git://github.com/raspberrypi/linux.git kernel
cd kernel
wget https://raw.github.com/raspberrypi/firmware/master/extra/Module.symvers
zcat /proc/config.gz > .config
Code: Select all
CONFIG_USBIP_CORE=m
CONFIG_USBIP_VHCI_HCD=m
CONFIG_USBIP_HOST=m
CONFIG_USBIP_DEBUG=n
Code: Select all
make oldconfig
make LOCALVERSION=+ modules_prepare
make SUBDIRS=drivers/staging/usbip
sudo make SUBDIRS=drivers/staging/usbip modules_install
sudo depmod -a
Code: Select all
sudo apt-get install usbipCode: Select all
sudo modprobe usbip-hostCode: Select all
sudo usbip list -lCode: Select all
sudo usbip bind --busid <busid>Code: Select all
bind device on busid <busid>: completeCode: Select all
sudo modprobe vhci-hcd
usbip list --remote <pi ip>
sudo usbip attach --host <pi ip> --busid <busid>
lsusb
Code: Select all
make oldconfig
make LOCALVERSION=+ modules_prepare
make SUBDIRS=drivers/staging/usbip
sudo make SUBDIRS=drivers/staging/usbip modules_install
sudo depmod -aCode: Select all
sudo modprobe usbip-hostCode: Select all
ERROR: could not insert 'usbip_host': Exec format error
DungBeetle wrote:After further research and some trial and error I have the Incentives Pro USB redirector working. I found that the package that worked for me was this one http://www.incentivespro.com/usb-redire ... abi.tar.gz Within the tarball there is a readme file that gives good guidance including the need to get the linux source and headers. An excellent guide for this was posted at http://www.raspberrypi.org/phpBB3/viewt ... 58#p179845 The only problem I had was in the section which begins KSRC='pwd'. This did not work for me but using the pwd command and entering the symbolic link longhand did.
If you can explain what your problem with simlinks is I'll do my best to help. As I said in an earlier post my linux knowledge is really quite meagre and I have undergone an incredibly steep learning curve largely helped by these forums. Did you work through the guide in this thread http://www.raspberrypi.org/phpBB3/viewt ... 50#p175850geronymo80 wrote:Hi,
I have a problem to create simlinks and so I have an error when I install usb redirector (Kernel sources or kernel headers directory not found. Please install the corresponding package first)
Can you help me ?