sklnet / vtuner

Automatically exported from code.google.com/p/vtuner
0 stars 0 forks source link

Compile the VTuner linux driver (https://code.google.com/p/vtuner/) for Ubuntu 14.04 x86_64 #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Install
Ubuntu server 14.04 x86_64

Prerequisites:
---------------

sudo apt-get install  patchutils libproc-processtable-perl git mercurial make 
gcc

Install DVB-Core:

sudo git clone git://linuxtv.org/media_build.git
cd media_build
sudo ./build
sudo make install

modprobe dvb_core
lsmod | grep dvb_core

I copy headers from dvb-core source to linux headers to avoid errors in 
compiling.

cd ~/media_build/linux/drivers/media/dvb-core
sudo cp ./*.h /usr/src/linux-headers-`uname -r`/drivers/media/dvb-core/

VTuner linux driver:

sudo hg clone http://code.google.com/p/vtuner.linux-driver

Download patch kernel-3.10.patch from 
https://code.google.com/p/vtuner/issues/detail?id=33 
Download file "kernel-3.10.patch" to directory "vtuner.linux-driver"

cd vtuner.linux-driver
sudo patch < kernel-3.10.patch
sudo make KDIR=/usr/src/linux-headers-`uname -r`
modinfo vtunerc.ko
sudo mkdir /lib/modules/`uname -r`/misc
sudo cp vtunerc.ko  /lib/modules/`uname -r`/misc
sudo depmod -a
sudo modprobe vtunerc

dmesg |tail -n7

Her is the error I get:

[61691.761646] vtunerc: Unknown symbol dvb_unregister_frontend (err -22)
[61691.761650] vtunerc: disagrees about version of symbol dvb_register_frontend
[61691.761651] vtunerc: Unknown symbol dvb_register_frontend (err -22)
[61691.761654] vtunerc: disagrees about version of symbol dvb_unregister_adapter
[61691.761655] vtunerc: Unknown symbol dvb_unregister_adapter (err -22)
[61691.761656] vtunerc: disagrees about version of symbol dvb_dmx_init
[61691.761657] vtunerc: Unknown symbol dvb_dmx_init (err -22)

Original issue reported on code.google.com by mihelc...@gmail.com on 4 Feb 2015 at 8:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
hello

all that
"sudo git clone git://linuxtv.org/media_build.git
cd media_build
sudo ./build
sudo make install

modprobe dvb_core
lsmod | grep dvb_core"

it's not necessary.. and bad..
-----
just 
downloadhttp://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_3.13.0.orig.tar
.gz

extract from /drivers/media/dvb-core >  *.h

sudo cp ./*.h /usr/src/linux-headers-`uname -r`/drivers/media/dvb-core/

--

if modprobe don't work .. sudo insmod vtunerc.ko  since /vtuner.linux-driver

for me.. like this .. Ubuntu server 14.04.2 x86_64   = vtuner ok

Original comment by 789b...@free.fr on 8 Mar 2015 at 11:50