From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JjKo5-0000cS-MV for linux-dvb@linuxtv.org; Tue, 08 Apr 2008 22:52:42 +0200 Message-ID: <47FBDAF7.9080309@web.de> Date: Tue, 08 Apr 2008 22:52:07 +0200 From: Christoph Honermann MIME-Version: 1.0 To: Hartmut Hackmann References: <1206652564.6924.22.camel@ubuntu> <47EC1668.5000608@t-online.de> <47FA70C3.5040808@web.de> <47FA875F.1060404@t-online.de> In-Reply-To: <47FA875F.1060404@t-online.de> Cc: linux-dvb@linuxtv.org Subject: Re: [linux-dvb] saa7134: fixed pointer in tuner callback List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1123032035==" Mime-version: 1.0 Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: --===============1123032035== Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Hartmut=EF=BF=BD

Hartmut Hackmann schrieb:
HI, <= br>
Christoph Honermann schrieb:
Hi, Hartmund


Hartmut Hackmann schrieb:
Hi, Christoph

Christoph Honermann schrieb:
=C2=A0
Hi, Hartmund

I have tested the following archives with my MD8800 und the DVB-S Card.

v4l-dvb-912856e2a0ce.tar.bz2 --> The DVB-S Input 1 works.
The module of the following archives are loaded with the option
"use_frontend=3D1,1" at the Shell or automatically:
=C2=A0=C2=A0=C2=A0 /etc/modprobe.d/saa7134-dvb=C2=A0=C2=A0 with the follo= wing line
=C2=A0=C2=A0 "options saa7134-dvb use_frontend=3D1,1"
v4l-dvb-1e295a94038e.tar.bz2;

=C2=A0=C2=A0=C2=A0 FATAL: Error inserting saa7134_dvb
=C2=A0=C2=A0=C2=A0 (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/saa7134/saa713= 4-dvb.ko):
=C2=A0=C2=A0=C2=A0 Unknown symbol in module, or unknown parameter (see dm= esg)

=C2=A0=C2=A0=C2=A0 saa7134_dvb: disagrees about version of symbol saa7134= _ts_register
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol saa7134_ts_register
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol videobuf_queue_sg_init =C2=A0=C2=A0=C2=A0 saa7134_dvb: disagrees about version of symbol saa7134= _set_gpio
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol saa7134_set_gpio
=C2=A0=C2=A0=C2=A0 saa7134_dvb: disagrees about version of symbol saa7134_i2c_call_client
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol saa7134_i2c_call_clients <= br> =C2=A0=C2=A0=C2=A0 saa7134_dvb: disagrees about version of symbol saa7134_ts_unregister
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol saa7134_ts_unregister


v4l-dvb-f98d28c21389.tar.bz2=C2=A0 and v4l-dvb-a06ac2bdeb3c.tar.bz2 -->= ;

=C2=A0=C2=A0=C2=A0 FATAL: Error inserting saa7134_dvb
=C2=A0=C2=A0=C2=A0 (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/saa7134/saa713= 4-dvb.ko):
=C2=A0=C2=A0=C2=A0 Unknown symbol in module, or unknown parameter (see dm= esg)

=C2=A0=C2=A0=C2=A0 dmesg | grep saa7134
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol saa7134_tuner_callback =C2=A0=C2=A0=C2=A0 saa7134_dvb: disagrees about version of symbol saa7134= _ts_register
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol saa7134_ts_register
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol videobuf_queue_sg_init =C2=A0=C2=A0=C2=A0 saa7134_dvb: disagrees about version of symbol saa7134= _set_gpio
=C2=A0=C2=A0=C2=A0 saa7134_dvb: Unknown symbol saa7134_set_gpio

The Hardware ist working with Windows XP with both Input channels.

=C2=A0=C2=A0=C2=A0
This occurs when you mix modules of different driver versions. You need to
replace all modules of the v4l-dvb subsystem.
So after you compiled and installed with
=C2=A0 make; make install
you need to unload all modules of the subsystem either with
=C2=A0 make rmmod
or reboot.
Afterwards, you can unload and reload a single module as you tried to do.

Hartmut

=C2=A0
the second DVB-S Channel is working.
But there is one thing that makes Problems.
I have the effect that the devices /dev/dvb/adapter0/dvr0 and /dev/dvb/adapter1/dvr0 are missed from kaffeine. Therefore it wont work (no TV-picture, no sound, no channel scanning).
If i look with Nautilus (file manager) therefore the whole Section /dev/dvb is switching off.
Can that be an effect of the module?
The Problem is sometimes not there but i don't find the reason (changing the Modules, reboots, ..). If I solve the Problem, should I test the kombination between DVB-S and DVB-T?

Best regards
Christoph


The device files in /dev/dvb are created by the dvb subsystem after successful
initialization. So if module loading fails as you describe above, you won't have
the devices.
Your problem still is the mismatching module versions.
Could it be that you have the saa7134.ko module twice in the /lib/modules tree?
You need to use the new versions of the modules. *Don't* try to mix them.

Best Regards
=C2=A0 Hartmut
I have checkt the devices. If I unload the Module they are not avible. The modules are once in the tree and the devices are switching on and off bye
looking with the File Manager. I can send you an probe of the messages from
the Programm kaffeine with an interesting follow of reaction:

@kaffeine
kbuildsycoca running...
0
/dev/dvb/adapter0/frontend0 : opened ( Philips TDA10086 DVB-S )
/dev/dvb/0/frontend1 : : No such file or directory
Loaded epg data : 9904 events (141 msecs)
kio (KIOConnection): ERROR: Could not write data
eltern@ubuntu:~$ Tuning to: arte / autocount: 0
DvbCam::probe(): /dev/dvb/adapter0/ca0: : No such file or directory
Using DVB device 0:0 "Philips TDA10086 DVB-S"
tuning DVB-S to 10743000 h 22000000
inv:2 fecH:5
DiSEqC: switch pos 0, 18V, loband (index 1)
DiSEqC: e0 10 38 f2 00 00
...............

Not able to lock to the signal on the given frequency
Frontend closed
Tuning delay: 3637 ms
Tuning to: 3sat / autocount: 0
Using DVB device 0:0 "Philips TDA10086 DVB-S"
tuning DVB-S to 11953000 h 27500000
inv:2 fecH:3
DiSEqC: switch pos 0, 18V, hiband (index 3)
DiSEqC: e0 10 38 f3 00 00
. LOCKED.
DVR DEVICE: : No such device
Frontend closed
Tuning delay: 976 ms
eltern@ubuntu:~$

It is the original text from the console.
You can see that the DVB DEVICE is at once missing.
I have no idea why that happens. And that seem to be the cause of the Problem.
To be sure for the new module i have once more build them (v4l-dvb-a06ac2bdeb3c.tar.bz2).
- make all
- make rmmod
- make install
- rmmod saa7134-dvb
- modprobe saa7134-dvb use_frontend=3D1,1


For your information in addition a copy from dmesg:
[=C2=A0 720.868119] DVB: registering new adapter (saa7133[1])
[=C2=A0 720.868129] DVB: registering frontend 0 (Philips TDA10086 DVB-S).= ..
[=C2=A0 731.320958] saa7133[0]/dvb: frontend initialization failed
[=C2=A0 731.368002] DVB: registering new adapter (saa7133[1])
[=C2=A0 731.368149] DVB: registering frontend 0 (Philips TDA10086 DVB-S).= ..
[=C2=A0 741.833698] saa7133[0]/dvb: frontend initialization failed
[=C2=A0 741.886609] DVB: registering new adapter (saa7133[1])
[=C2=A0 741.886766] DVB: registering frontend 0 (Philips TDA10086 DVB-S).= ..
[=C2=A0 752.433333] DVB: registering new adapter (saa7133[0])
[=C2=A0 752.433343] DVB: registering frontend 0 (Philips TDA10086 DVB-S).= ..
[=C2=A0 752.521148] DVB: registering new adapter (saa7133[1])
[=C2=A0 752.521158] DVB: registering frontend 1 (Philips TDA10086 DVB-S).= ..
[=C2=A0 762.946368] saa7133[0]/dvb: frontend initialization failed
[=C2=A0 762.983815] saa7133[1]/dvb: dvb_init: Medion Quadro, no tda826x found !
[=C2=A0 762.984121] DVB: registering new adapter (saa7133[1])
[=C2=A0 762.984306] DVB: registering frontend 0 (Philips TDA10086 DVB-S).= ..
[=C2=A0 773.392403] saa7133[0]/dvb: frontend initialization failed
[=C2=A0 773.422954] DVB: registering new adapter (saa7133[1])
[=C2=A0 773.423163] DVB: registering frontend 0 (Philips TDA10086 DVB-S).= ..
[=C2=A0 783.857495] saa7133[0]/dvb: frontend initialization failed

and so on ....

Best regards
Christoph

--===============1123032035== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb --===============1123032035==--