Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: koenh on April 09, 2012, 10:57:49 AM

Title: usbip - extension
Post by: koenh on April 09, 2012, 10:57:49 AM
Hello,

I found that an extension of usbip is once created, but i cannot find it in the sources...

Where can i find it, or do i have to install it myself from source?

tx.
Title: Re: usbip - extension
Post by: Rich on April 09, 2012, 11:49:51 AM
Hi koenh
Usbip exists in the TC3.x repository but not in the TC4.x one. The source does not appear to be in the repository, but
it is available here:
http://sourceforge.net/projects/usbip/files/usbip/0.1.7/
If you decide to compile it yourself, be sure to install   compiletc.tcz   first.
Title: Re: usbip - extension
Post by: koenh on April 20, 2012, 09:23:47 PM
hello,

I installed compiletc.tcz, and seached for a manual to install from tar.gz.
The only thing i found was:
http://wiki.tinycorelinux.net/wiki:creating_extensions

i untarred the file and followed the manual, but something goes wrong with the ./configure command.
Does anyone knows how to install or can someone create a tcz for me?

already thanks!
Title: Re: usbip - extension
Post by: Rich on April 20, 2012, 09:27:22 PM
Hi koenh
Saying SOMETHING goes wrong with the ./configure command is not the same as saying WHAT went wrong.
Title: Re: usbip - extension
Post by: koenh on April 20, 2012, 09:31:11 PM
sorry;

sh: ./configure: not found

That's all that it says...
I looked in the software, and compiletc is added to the 'on demand'.

gr.
Title: Re: usbip - extension
Post by: Rich on April 20, 2012, 10:03:31 PM
Hi koenh
After you untar the package, cd into the newly created directory and enter  ls  to see which files are there.
Maybe the file is called  config, or maybe there is no configuration file for this package. Also, don't forget
to click on  compiletc  in the ondemand menu to load it.
Title: Re: usbip - extension
Post by: gutmensch on April 21, 2012, 10:49:58 AM
well, since the source code is still 0.1.7 like for 3.x one could try the 3.x extension with just adding the appropriate modules of the current kernel

Code: [Select]
usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/staging/usbip/usbip.ko.gz
usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/staging/usbip/usbip_common_mod.ko.gz
usr/local/lib/modules/2.6.33.3-tinycore/kernel/drivers/staging/usbip/vhci-hcd.ko.gz

usbip is still in staging, so you would have to grab the tinycore kernel (patched) sources, enable usbip and make modules. I somehow lost the build script for usbip on TC 3.x *grml* but I compiled the modules externally, so you would have to do this in either case. FWIW I tested usbip and although it somehow and sometimes worked, it wasn't really reliable.
Title: Re: usbip - extension
Post by: koenh on April 21, 2012, 11:44:27 PM
tx...
So when it is not completely reliable, i can better buy another small USB server?

Gr
Koen.