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

hermann pitton hermann-pitton at arcor.de
Wed Apr 9 23:16:33 CEST 2008


Hi,

Am Mittwoch, den 09.04.2008, 22:30 +0200 schrieb Hartmut Hackmann:
> 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
> 

the trouble seems to be within Sioux's alsa configuration.

OSS mixer and OSS PCM emulation should be enabled and of a version in
sync with the other alsa modules, which seems to be broken here.

Cheers,
Hermann





More information about the linux-dvb mailing list