Re: [Thinstation-developer] v2.2.2 adding USB-Server kernel module
Brought to you by:
doncuppjr
From: ElRode <mro...@gm...> - 2010-08-27 13:51:55
|
With Thinstation 2.2.2 works too. Just compile the module and ignore the errors, you only need the tusbd.ko file. Copy it to kernel\modules-2.6.16.5\kernel\tusbd\ ; the binaries usbclnt, usbsrv, usbsrvd, usbsrvd-cl, usbsrvd-srv from the IncentivesPro tar file in packages\base\bin\ and finally the rc.usbsrvd script (also in the tar file) in packages\base\etc\init.d\ to start the daemon. TrevorB wrote: > > On Sat, 2010-06-19 at 09:44 -0700, Vilela wrote: >> Hi you guys, >> >> I'm trying to use the USB Redirector in Thinstation, but it's not >> working. I >> could compile against the kernel 2.6.24.7 but I cannot run the init >> script, >> when the script tries to load the module tusbd.ko I got the error >> message: >> >> insmod: error inserting '/bin/tusbd.ko': -1 invalid module format > > I'm intrigued as to why it is trying to insert a module from /bin. > > The depmod run at boot time will not find a module in the /bin directory > (or build any dependencies). > > Maybe you should put it in /lib/modules > >> >> AFAIK this kind of error occurs when I try to load a module compiled >> against >> a different kernel version, but it's not the case as you can see in the >> buildlog below: >> >> make -C /usr/src/linux M=/source/usb-server/modules/src/tusbd modules >> make[1]: Entering directory `/source/kernel-2.6.24.7/linux-2.6.24.7' >> CC [M] /source/usb-server/modules/src/tusbd/driver.o >> CC [M] /source/usb-server/modules/src/tusbd/usbdcdev.o >> CC [M] /source/usb-server/modules/src/tusbd/minor_control.o >> CC [M] /source/usb-server/modules/src/tusbd/minor_device.o >> CC [M] /source/usb-server/modules/src/tusbd/minor_vhci.o >> CC [M] /source/usb-server/modules/src/tusbd/usb_device.o >> CC [M] /source/usb-server/modules/src/tusbd/vhci_device.o >> CC [M] /source/usb-server/modules/src/tusbd/fifo.o >> CC [M] /source/usb-server/modules/src/tusbd/utils.o >> CC [M] /source/usb-server/modules/src/tusbd/waitable_queue.o >> CC [M] /source/usb-server/modules/src/tusbd/bind_unbind.o >> CC [M] /source/usb-server/modules/src/tusbd/urb_chain.o >> LD [M] /source/usb-server/modules/src/tusbd/tusbd.o >> Building modules, stage 2. >> MODPOST 1 modules >> LD [M] /source/usb-server/modules/src/tusbd/tusbd.ko >> make[1]: Leaving directory `/source/kernel-2.6.24.7/linux-2.6.24.7' >> >> NOTE: the /usr/src/linux is a symlink to >> /source/kernel-2.6.24.7/linux-2.6.24.7 > > Did you also do a make install_modules (or potentially make install if > the developers set it up that way)? > > Where did it put the tusbd.ko module? > >> >> Does anyone have an idea to correct it? >> >> Thanks and Regards >> >> >> ElRode wrote: >> > >> > I followed the steps said by Frank and it worked great. >> > I have to add that is necessary to copy the binaries of the usb-server >> tar >> > file to the packages/base/bin directory and the file rc.usbsrvd.sh to >> the >> > packages/base/etc/init.d >> > It's also good idea to edit the rc.usbsrv.sh file to add the flag >> > --autoshareon in the script, so all the usb devices can be shared. >> > I've tested it over rdp, using the trial Terminal server client >> software >> > of the same vendor and it was amazing how easy and fast everything >> worked. >> > The downside is that the Guindows version of the client is licensed but >> > the linux version is totally free. >> > >> > Regards. >> > > > -- > TrevorB > +===================== > Developer > http://thinstation.org > +===================== > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Thinstation-developer mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-developer > > -- View this message in context: http://old.nabble.com/v2.2.2-adding-USB-Server-kernel-module-tp22720777p29552810.html Sent from the thinstation-developer mailing list archive at Nabble.com. |