* saa7134-alsa and snd_card_new only error with alsa 1.0.19 / ubuntu 9.04 jaunty - tracked down, further help appreciated
@ 2009-05-05 19:33 Lars Oliver Hansen
2009-05-06 20:38 ` Lars Oliver Hansen
0 siblings, 1 reply; 2+ messages in thread
From: Lars Oliver Hansen @ 2009-05-05 19:33 UTC (permalink / raw)
To: linux-media
Hello,
I'm getting exactly one error message in dmesg: saa7134_alsa: Unknown
symbol snd_card_new which means I don't have any sound with analog tv.
I've tracked down the call to snd_card_new to the only location in
compat.h where it is called if #ifdef NEED_SND_CARD_CREATE is true. If
#ifdef NEED_SND_CARD_CREATE is true, there is also done an inclusion of
sound/core.h. Core.h is an alsa header which in the latest alsa 1.0.19
includes a definition of snd_card_new. However this definition is
missing in the sources that come with Ubuntu 9.04 Jaunty against which I
compiled the v4l-dvb sources (The saa7134-alsa error occurs with both my
compilation and did occur with the pre-compiled drivers which came with
9.04 Jaunty!).
Adding snd_card_new to the Ubuntu 9.04 sources was/is no good idea as it
calls its own snd_card_create from init.c which conflicts with
snd_card_create from compat.h which is the wrapper around snd_card_new
there.
As the call to snd_card_create in compat.h passes the identical argument
list as would be passed to init.c s snd_card_create later, I figured I
can add the declaration of snd_card_create to the core.h of the Ubuntu
9.04 sources which is/was missing too there as extern and disable the
snd_card_create in compat.h (compat.h includes core.h thus core.h s
extern snd_card_create should be called). As init.c does an
export_symbol of snd_card_create I guessed this could work.
So I would have instead of a wrapped call to a non-existant snd_card_new
a direct call to an exported snd_card_create.
Unfortunately I get this in dmesg now:
saa7134_alsa: no symbol version for snd_card_create
[ 4383.422044] saa7134_alsa: Unknown symbol snd_card_create
What can I do now?
Any help?
Thanks!
Best Regards
Lars
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: saa7134-alsa and snd_card_new only error with alsa 1.0.19 / ubuntu 9.04 jaunty - tracked down, further help appreciated
2009-05-05 19:33 saa7134-alsa and snd_card_new only error with alsa 1.0.19 / ubuntu 9.04 jaunty - tracked down, further help appreciated Lars Oliver Hansen
@ 2009-05-06 20:38 ` Lars Oliver Hansen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Oliver Hansen @ 2009-05-06 20:38 UTC (permalink / raw)
To: linux-media
Hi again,
Am Dienstag, den 05.05.2009, 21:33 +0200 schrieb Lars Oliver Hansen:
> So I would have instead of a wrapped call to a non-existant snd_card_new
> a direct call to an exported snd_card_create.
me adding snd_card_create to the Ubuntu sources (headers to be precise)
obviously means it wasn't present before and Ubuntus kernel was compiled
with that code missing, thus "no symbol_version" error message then!
I now opted for disabling the call to snd_card_new and letting v4l s
snd_card_create return -NOEMEM or so.
Now I get "saa7134 ALSA driver for DMA sound loaded" message in dmesg
but I have no sound in tvtime and neither aplay -L nor aplay -l list a
tv-card related sound device and I don't find any audio0 or sound0
device in /dev/.
Is NEED_SND_CARD_CREATE needed for my tv card? It was defined and the
~_new couldn't be found on loading the module, but would it have been
used? If not (or if), is there a way to get (still) sound in tvtime (or
mplayer)? My card is AVerMedia Cardbus TV/Radio (E506R) correctly
autodetected (if I can trust packaging and labelling of my card ;-)) :-)
(it's a hybrid dvb-t / analog device. Yes, dvb-t works, but the channel
I'm interested in occasionally has signal troubles (I'm at a triangle
vertex of the covered area)).
Thank you very much!
B&KR
Lars
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-06 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-05 19:33 saa7134-alsa and snd_card_new only error with alsa 1.0.19 / ubuntu 9.04 jaunty - tracked down, further help appreciated Lars Oliver Hansen
2009-05-06 20:38 ` Lars Oliver Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox