From: sioux <sioux_it@libero.it>
To: Adam DiCarlo <adam.dicarlo@gmail.com>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Can't compile saa7134_alsa on generic ubuntu kernel (Hardy)
Date: Mon, 18 Aug 2008 21:31:57 +0200 [thread overview]
Message-ID: <1219087917.5182.10.camel@sioux-desktop> (raw)
In-Reply-To: <a63d25c40808171520t9490d09jd71bdf711835f389@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 4242 bytes --]
Yes it helps... even if I had some problems with saa7134-dvb & saa7134
modules (loading that modules, I got complains about versions
disagrees).
I suggest to follow that procedure with kernel above => 2.6.25 or
waiting for intrepid.
Here my custom 2.6.25-6-sioux kernel is ok over a hardy release.
Hope this helps too.
Sioux.
_______________________________
> Hi, but I saw this post and thought my solution for compiling the
> GadgetLabs wavepro ALSA driver on Ubuntu 8.04 (x86_64) might be of
> use. I used a mainline kernel to do it, however.
>
> See https://answers.launchpad.net/ubuntu/+question/35767
>
> Hope this helps!
>
> Adam
>
>
> Original message from Alexey Vinogradov:
>
> Hello.
>
> I've downloaded the sources of v4l-dvb and built them (I have A16D
> tuner which is not supported in "main" kernel). However, saa7134-alsa
> wasn't built. "make xconfig" also had this module unchecked (and
> unavailable to check).
>
> I've found that this is because of "ubuntu" way of building system:
> the generic kernel config file doesn't has ALSA subsystem checked.
> Actually you have to install two modules: linux-image and
> linux-ubuntu-modules. First contains "minimal" kernel with just
> essential options - and .config file corresponding to it.
> linux-ubuntu-modules contains everything else - including all ALSA
> staff, etc.
>
> The comment in media/saa7134/BOM said:
>
> #
> # All of the saa7134 sources were copied directly from the 2.6.24 kernel.
> #
> # The ALSA depedent modules must be built in LUM since ALSA is
> # disabled in the kernel. Not all of the saa7134 modules are depedent on
> # ALSA, but it just seemed simpler to grab the whole pile.
> #
> # Note that the compilation of the saa7134 sources is also dependent on
> # the kernel headers packages containing some internal header files
> # from the drivers/media directories.
> #
> # Tim Gardner Apr 3, 2008.
>
> So, my problem is that I can't build v4l-dvb saa7134-alsa module
> because ALSA is disabled in kernel.
>
> If I enable the alsa in kernel config, it said this during stage 2 of
> building modules:
>
> WARNING: "snd_pcm_lib_ioctl"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_format_big_endian"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_format_signed"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_format_width"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_period_elapsed"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_stop"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_format_physical_width"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_hw_constraint_step"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_hw_constraint_integer"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_card_register"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_set_ops"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_pcm_new"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_ctl_add"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_ctl_new1"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_card_new"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
> WARNING: "snd_card_free"
> [/home/alexey/v4l-dvb-3366cefd1b57/v4l/saa7134-alsa.ko] undefined!
>
> The module after such warning IS compiled - but cause segmentation
> fault, and is unusable because of it.
>
> I believe that I need to mess some way the v4l-dvb with sources of
> linux-ubuntu-modules - to point some way that the ALSA is exists, and
> it is not in the kernel. but in the ubuntu-modules.
>
> Am I right?
>
> How to do it?
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
[-- Attachment #1.2: Type: text/html, Size: 4763 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
next prev parent reply other threads:[~2008-08-18 19:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-17 22:20 [linux-dvb] Can't compile saa7134_alsa on generic ubuntu kernel (Hardy) Adam DiCarlo
2008-08-18 19:31 ` sioux [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-28 3:17 Alexey Vinogradov
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=1219087917.5182.10.camel@sioux-desktop \
--to=sioux_it@libero.it \
--cc=adam.dicarlo@gmail.com \
--cc=linux-dvb@linuxtv.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.