Opensuse 11.2 v4l-dvb

Hi all,

I am trying to install v4l-dvb drivers from source because my device (Terratec Cinergy T XS, usb device DVB only) isn’t supported by official v4l-dvb released in last kernel version yet: it is simply detected with the wrong firmware, but modifing the source code of the driver is works fine, tested on ubuntu 9.10 (I have already submitted the patch to v4l team).

I successfully compiled v4l-dvb drivers and installed them through make install, but then v4l-dvb driver is not working anymore, the video device is not created, and I don’t find any information about my device in dmesg. So I am supposing that v4l-dvb is not working at all.

Does someone know how I can understand where is the problem?

Best regards

Valerio

Can you point me to the package you compiled? Did you just grab the latest tip from linuxtv.org’s dvb repo?

just

#hg clone v4l-dvb: log

Hi!
I have an Afatech 9015 USB DVB-T card and i runned all instructions in DVB – OpenSUSEa suomeksi


  A-Link ja muut Afatech 9015 USB DVB-T kortit

(Ohje pohjautuu OpenSuse 11.1 64bit versioon mutta pitäisi toimia muillakin versioilla. Komennot on sovellettu ylläolevista sekä Ubuntulle löytyvistä ohjeista)

Mene terminaaliin Super User Modessa ja anna seuraavat komennot:

zypper in kernel-source gcc mercurial make
hg clone http://linuxtv.org/hg/~anttip/af9015
cd af9015
make
make install
cd /lib/firmware
wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw

Lisäys: Sain viestiä koodin tekijältä.. "Ajuri on ollut jo jonninaikaa v4l-dvb-masterissa ja siksi tulisi mieluummin sitä käyttää koska siellä on kaikki uusimmat korjaukset ja ajurit. Masteri on osoitteessa http://linuxtv.org/hg/v4l-dvb/ . Ajuri löytyy myös tulevasta 2.6.28 kernelistä".
Eli ylläoleva on kehityskoodia ja allaoleva stabiilia:

zypper in kernel-source gcc mercurial make
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make
make install
cd /lib/firmware
wget http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw

Siinä se ja Kaffeine on King tämän kanssa. DigiTV löytyy valikosta viimeistään seuraavalla bootilla ja kanavat löytyy kunhan ne hakee kaffeinen DVB/Channels valikosta.

What I have to run in opensuse 11.2? I don’t to watch tv programs. Where is the problem?

You’re using source code that is much older then that which was used to build the driver set included in the last kernel.

v4l-dvb development has, love it or hate, essentially switched to git repos a couple of years ago. What you used (which would be the last set of drivers in the discontinued Mercurial (Hg) repo ) is quite stale. I’m surprised it even built against the new kernel.

Anyway, use the media_build git repo (instructions on how to use it are on the website and in the wiki).

(For clarity, some developers and 3rd parties still do development with Hg repos, but if that work is going to end up in the kernel, ultimately, it will have to find its way into git and get pulled from there).

The larger issue is whether your card is known to be supported. If its not specifically supported by the drivers then just installing them will NOT make the device work. This seems to be a popular misconception (i.e I have a device which I know uses a Afatech 9015 chip, therefore if I just install the 9015 driver it should work).

In any regard, the other issue is same as above – you’ve followed rather dated instructions. Follow these instead: How to Obtain, Build and Install V4L-DVB Device Drivers - LinuxTVWiki

How I can to install 9015 driver?


cd /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/dvb/dvb-usb/
linux-kzpj:/lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/dvb/dvb-usb #  
insmod ./dvb-usb-af9015.ko
insmod: error inserting './dvb-usb-af9015.ko': -1 File exists
linux-kzpj:/lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/dvb/dvb-usb #  

Nothing! Any idea?

Again, the main point is whether or not your device is specifically supported, as opposed to just loading drivers and hoping that it will work

What particular device is it? … And more to the point, do you know if your device is supported under Linux?


cd /lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/dvb/dvb-usb/
linux-kzpj:/lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/dvb/dvb-usb #  
insmod ./dvb-usb-af9015.ko
insmod: error inserting './dvb-usb-af9015.ko': -1 File exists
linux-kzpj:/lib/modules/2.6.31.5-0.1-desktop/kernel/drivers/media/dvb/dvb-usb #  

Nothing! Any idea?

Notwithstanding the above mentioned issue (whether the device is supported or not), it’s not clear what driver version you were attempting to load. Are you attempting to load the driver included with your installed kernel (2.6.31) or have you built and installed a latter set of v4l-dvb drivers against that kernel?

In any regard, it would appear, given the error, that the module is already loaded (you can check this from a console with “lsmod” to see what modules are running in your system). I’d also mention that you should use modprobe instead if you want to manually load a module, as it will resolve any module dependencies, whereas ismod won’t.

If your device is currently unsupported, you may wish to talk to Antti Palosaari ( “crope” on the #linuxtv irc.freenode.net channel), and he may be able to assist you getting it supported provided that device’s other components (like the tuner) have existing linux driver support.

It is DVB-T receiver, chip AF9015, tuner tda18218. Do you here can to atachment the necessary files for opensuse 11.2, kernel 2.6.31.5-0.1 and instructions for the their instalation?