From: Lars Oliver Hansen <lars.hansen@yahoo.co.uk>
To: linux-media@vger.kernel.org
Subject: saa7134-alsa and snd_card_new only error with alsa 1.0.19 / ubuntu 9.04 jaunty - tracked down, further help appreciated
Date: Tue, 05 May 2009 21:33:35 +0200 [thread overview]
Message-ID: <1241552015.7752.29.camel@lars-laptop> (raw)
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
next reply other threads:[~2009-05-05 19:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-05 19:33 Lars Oliver Hansen [this message]
2009-05-06 20:38 ` 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1241552015.7752.29.camel@lars-laptop \
--to=lars.hansen@yahoo.co.uk \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox