* [linux-dvb] Can't compile saa7134_alsa on generic ubuntu kernel (Hardy)
@ 2008-04-28 3:17 Alexey Vinogradov
0 siblings, 0 replies; 3+ messages in thread
From: Alexey Vinogradov @ 2008-04-28 3:17 UTC (permalink / raw)
To: linux-dvb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-dvb] Can't compile saa7134_alsa on generic ubuntu kernel (Hardy)
@ 2008-08-17 22:20 Adam DiCarlo
2008-08-18 19:31 ` sioux
0 siblings, 1 reply; 3+ messages in thread
From: Adam DiCarlo @ 2008-08-17 22:20 UTC (permalink / raw)
To: linux-dvb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-dvb] Can't compile saa7134_alsa on generic ubuntu kernel (Hardy)
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
0 siblings, 0 replies; 3+ messages in thread
From: sioux @ 2008-08-18 19:31 UTC (permalink / raw)
To: Adam DiCarlo; +Cc: linux-dvb
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-18 19:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
2008-04-28 3:17 Alexey Vinogradov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox