Re: [usbip-devel] can not load usbip.ko
Status: Alpha
Brought to you by:
hirofuchi
From: Craig P. <cr...@be...> - 2012-03-29 10:18:39
|
Sorry Flooding, I think I misread what you are asking. I believe you are asking how to install the drivers, not the userland utilties. The drivers are part of the kernel and can be found in the kernel menu under Device Drivers -> Staging drivers -> USB/IP support. I assume you already have compiled these as modules with your 3.1 kernel? Regards, Craig On 29/03/2012 8:43 PM, Craig Peacock wrote: > > Flooding, > > To compile the userland utilities, you will have to run the autogen.sh > script first. Then you can run configure. > > cd drivers/staging/usbip/userspace > ./autogen.sh > ./configure > make > make install > > Regards, > > Craig > > On 29/03/2012 7:55 PM, flooding Controlled wrote: >> Hi: >> I have followed the steps in the README file: >> [Install] >> 0. Generate configuration scripts. >> $ ./autogen.sh >> 1. Compile & install the userspace utilities. >> $ ./configure [--with-tcp-wrappers=no] [--with-usbids-dir=<dir>] >> $ make install >> 2. Compile & install USB/IP drivers. >> Then I have finished the first step. And how to do the second step >> "Compile & install USB/IP drivers". >> >> For I have run the command under "drivers/staging/usbip" , but the >> Makefile in the folder has no target. >> >> Could tell me how to do this? Thanks a lot! >> >> 在 2012年3月29日 下午4:07,Craig Peacock <cr...@be... >> <mailto:cr...@be...>>写 道: >> >> >> Flooding, >> >> The 0.1.7 userland utilities found on sourceforge is obsolete. >> >> Your kernel source (3.1) will include userland utilities in the >> drivers/staging/usbip/userspace folder. Please compile and give >> these utilities a go. >> >> Regards, >> >> Craig >> >> >> >> On 29/03/2012 6:04 PM, flooding Controlled wrote: >>> Hi all: >>> My linux release is Feodra 16 i686 and I have downloaded the >>> linux kernel src with the version 3.1. Then I compiled the >>> usbip.ko and usbip_common_mod.ko successfully by (my kernel >>> path)/driver/stage/usbip/* . >>> And I can load them successfully. >>> modprobe usbip >>> modprobe usbip_common_mod >>> Then I installed the usbip.0.17 by src following the src/REAMME >>> successfully. >>> Howerver, when I run the command "usbipd", it called the error >>> as follow: >>> usbip err: stub_driver.c: 33 (open_sysfs_stub_driver) >>> usbip_common_mod.ko and usbip.ko must be loaded >>> I am puzzled by it. Coule someone give help? Thanks a lot! >>> Yours Flooding. >>> >> >> > |