[linux-dvb] saa7134: fixed pointer in tuner callback

Christoph Honermann Christoph.Honermann at web.de
Tue May 13 22:25:45 CEST 2008


Hi together

Hartmut Hackmann schrieb:
> Hi,
>
> sioux schrieb:
>>
>>
>> Hartmut Hackmann ha scritto:
>>> Hi,
>>>
>>> sioux schrieb:
>>>> Hi all!
>>>>
>>>> here similar problem with 7134_alsa module:
>>>>
>>>> saa7134_alsa: disagrees about version of symbol snd_ctl_add
>>>> saa7134_alsa: Unknown symbol snd_ctl_add
>>>> saa7134_alsa: disagrees about version of symbol snd_pcm_new
>>>> saa7134_alsa: Unknown symbol snd_pcm_new
>>>> saa7134_alsa: disagrees about version of symbol snd_card_register
>>>> saa7134_alsa: Unknown symbol snd_card_register
>>>> saa7134_alsa: disagrees about version of symbol snd_card_free
>>>> saa7134_alsa: Unknown symbol snd_card_free
>>>> saa7134_alsa: disagrees about version of symbol snd_pcm_stop
>>>> saa7134_alsa: Unknown symbol snd_pcm_stop
>>>> saa7134_alsa: disagrees about version of symbol snd_ctl_new1
>>>> saa7134_alsa: Unknown symbol snd_ctl_new1
>>>> saa7134_alsa: disagrees about version of symbol snd_card_new
>>>> saa7134_alsa: Unknown symbol snd_card_new
>>>> saa7134_alsa: disagrees about version of symbol snd_pcm_lib_ioctl
>>>> saa7134_alsa: Unknown symbol snd_pcm_lib_ioctl
>>>> saa7134_alsa: disagrees about version of symbol snd_pcm_set_ops
>>>> saa7134_alsa: Unknown symbol snd_pcm_set_ops
>>>> saa7134_alsa: disagrees about version of symbol 
>>>> snd_pcm_hw_constraint_integer
>>>> saa7134_alsa: Unknown symbol snd_pcm_hw_constraint_integer
>>>> saa7134_alsa: disagrees about version of symbol snd_pcm_period_elapsed
>>>> saa7134_alsa: Unknown symbol snd_pcm_period_elapsed
>>>> saa7134_alsa: disagrees about version of symbol 
>>>> snd_pcm_hw_constraint_step
>>>> saa7134_alsa: Unknown symbol snd_pcm_hw_constraint_step
>>>>
>>>> This is my alsa version:
>>>> cat /proc/asound/version
>>>> advanced Linux Sound Architecture Driver Version 1.0.15 (Tue Oct 16 
>>>> 14:57:44 2007 UTC)
>>>>
>>>> This is my kernel version:
>>>> uname -a
>>>> Linux sioux-desktop 2.6.22-14-rt #1 SMP PREEMPT RT Tue Feb 12 
>>>> 09:57:10 UTC 2008 i686 GNU/Linux
>>>>
>>>> This is my saa7134 version and card:
>>>>
>>>> saa7130/34: v4l2 driver version 0.2.14 loaded
>>>> saa7133[0]: found at 0000:02:09.0, rev: 209, irq: 19, latency: 32, 
>>>> mmio: 0xed000000
>>>> saa7133[0]: subsystem: 1822:0022, board: Twinhan Hybrid DTV-DVB 
>>>> 3056 PCI [card=131,autodetected]
>>>> saa7133[0]: board init: gpio is 40000
>>>> tuner' 0-0042: chip found @ 0x84 (saa7133[0])
>>>>
>>>>
>>>> Make rmmod do not solve the problem!
>>>>
>>> <snip> _______________________________________________________________
>>>
>>> A "make rmmod" does *not* always work: If a device is in use, the 
>>> kernel will
>>> refuse to remove the module. You should find an appropriate error 
>>> message.
>>> You can have i.e. this situation:
>>> If you load the modules a boot time and you run kde, the mixer 
>>> desktop applet
>>> will open the mixer of the saa7134-alsa device.
>>> So you will not be able to unload and thus update the driver before 
>>> you closed
>>> the kmix applet.
>>> There are many other possibilities.
>>>
>>> Hartmut
>>>
>> sudo killall mixer_applet2
>> sudo rmmod saa7134 saa7134_alsa saa7134_dvb
>>
>> and than sudo make rmmod
>>
>> does not solve the problem!
>>
>> sioux
>>
>>
>>
> Does anybody else have an idea what the reason might be?
> The handling of kernel symbol versions is tricky, i have no idea
> what sioux might have done wrong.
> But the patch in question does not even touch the sound code...
>
> Hartmut
>
I have fix the Problem with my System.
The TV-Card is working with both DVB-S tuner.
It works with the Kernels 2.6.22-14 and 2.6.24-12 but not with 2.6.24-16
My  Problem with the old Version was a wrong configuration with a vdr 
program.
The Kernel 2.26.24-16 has a Problem with the wrong Version of some Modules.

I can now look TV with my MD8800 and with the DVB-S Tuner (both Tuners).

Best regards

Christoph




More information about the linux-dvb mailing list