Kodi Community Forum

Full Version: How to import these modules?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I have a folder with the following compiled modules for my Technotrend 3650 DVB device.

Code:
dvb-core.ko
dvb-core.mod.c
dvb-core.mod.o
dvb-core.o
dvb-usb-pctv452e.ko
dvb-usb-pctv452e.mod.c
dvb-usb-pctv452e.mod.o
dvb-usb-pctv452e.o
dvb-usb.ko
dvb-usb.mod.c
dvb-usb.mod.o
dvb-usb.o
lnbp22.ko
lnbp22.mod.c
lnbp22.mod.o
lnbp22.o
stb0899.ko
stb0899.mod.c
stb0899.mod.o
stb0899.o
stb0899_algo.o
stb0899_drv.o
stb6100.ko
stb6100.mod.c
stb6100.mod.o
stb6100.o
ttpci-eeprom.ko
ttpci-eeprom.mod.c
ttpci-eeprom.mod.o
ttpci-eeprom.o
When I do 'insmod <module name>' the are loaded and my device is working but how can I add them to the kernel so they are loaded automatically?
The modules are now just in a folder in my root.

Can some post a little guide how to add them to the kernel?

Many thanks!
BiTRiP
The best way is to install it to /lib/modules/xxxx/... (xxxx = kernel-version)
download the linux-dvb extract it and run make when its done run make install
this will compile all the modules in linux-dvb it might take hours. You can compile only needed modules too, but i'm not that good at that.

I think for that you need to run make xconfig or make menuconfig and select only modules needed and it dependency.

or do this to create minimal config
cd v4l
create a file called .config and paste this to it and save it.

Code:
CONFIG_INPUT=y
CONFIG_USB=y
CONFIG_PARPORT=m
CONFIG_FW_LOADER=m
CONFIG_NET=y
CONFIG_SND_AC97_CODEC=m
CONFIG_I2C=m
CONFIG_STANDALONE=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND=m
CONFIG_MODULES=y
CONFIG_HAS_IOMEM=y
CONFIG_PROC_FS=y
CONFIG_I2C_ALGOBIT=m
CONFIG_INET=y
CONFIG_CRC32=m
CONFIG_FB=y
CONFIG_SYSFS=y
CONFIG_PCI=y
CONFIG_SND_PCM=m
CONFIG_PARPORT_1284=y
CONFIG_EXPERIMENTAL=y
CONFIG_VIRT_TO_BUS=y
CONFIG_DVB_CORE=m
CONFIG_DVB_CAPTURE_DRIVERS=y
CONFIG_DVB_USB=m
CONFIG_DVB_USB_PCTV452E=m
CONFIG_DVB_STB0899=m
CONFIG_DVB_STB6100=m
CONFIG_DVB_LNBP22=m
CONFIG_TTPCI_EEPROM=m
this will only take couple of minutes to compile if modules are missing run make menuconfig to add or manually edit .config file if you know its name, but i i thinks this will do.

If this is to complicated you can always do this.
edit /etc/rc.local add this to it and save it. This will load this modules at boot.
(xxxx = location to the modules)
Code:
insmod xxxx/dvb-core.ko
insmod xxxx/dvb-usb.ko
insmod xxxx/lnbp22.ko
insmod xxxx/ttpci-eeprom.ko
insmod xxxx/stb0899.ko
insmod xxxx/stb6100.ko
insmod xxxx/dvb-usb-pctv452e.ko
I'm gonna try it!
Many thanks Decaturguy!