Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

setting ALSA_PCM_PLUGINS dose not work

 
   Soft32 Home -> Linux -> General Discussions RSS
Next:  Packman files for suse 9.3  
Author Message
Christian Pontesegger

External


Since: Oct 24, 2007
Posts: 3



(Msg. 1) Posted: Sat Nov 17, 2007 5:47 pm
Post subject: setting ALSA_PCM_PLUGINS dose not work
Archived from groups: alt>os>linux>gentoo (more info?)

Hi,

still having some alsa problems due to the fact, that no PCM modules are
built.

Thanks to this group know that I should add

ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks
ladspa lfloat linear meter mulaw multi null rate route share shm"

to /etc/make.conf

Unfortunately

emerge -1pv alsa-lib

gives me the following:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] media-libs/alsa-lib-1.0.14a-r1 USE="midi -alisp
-alsa_pcm_plugins_adpcm -alsa_pcm_plugins_alaw -alsa_pcm_plugins_copy
-alsa_pcm_plugins_dshare -alsa_pcm_plugins_dsnoop
-alsa_pcm_plugins_extplug -alsa_pcm_plugins_file -alsa_pcm_plugins_hooks
-alsa_pcm_plugins_ladspa -alsa_pcm_plugins_lfloat
-alsa_pcm_plugins_linear -alsa_pcm_plugins_meter -alsa_pcm_plugins_mulaw
-alsa_pcm_plugins_multi -alsa_pcm_plugins_null -alsa_pcm_plugins_rate
-alsa_pcm_plugins_route -alsa_pcm_plugins_share -alsa_pcm_plugins_shm
-debug -doc" 0 kB


So all PCM modules still are deselected. Somehow my use flags are
ignored. Am I missing something?

thanks
Christian Pontesegger
Back to top
Login to vote
Marc Christiansen

External


Since: Nov 05, 2005
Posts: 8



(Msg. 2) Posted: Sun Nov 18, 2007 9:47 am
Post subject: Re: setting ALSA_PCM_PLUGINS dose not work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Christian Pontesegger <schnitten.TakeThisOut@gmx.at> wrote:
> Hi,
>
> still having some alsa problems due to the fact, that no PCM modules are
> built.
>
> Thanks to this group know that I should add
>
> ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks
> ladspa lfloat linear meter mulaw multi null rate route share shm"
>
> to /etc/make.conf

My make.conf does not contain this line and ALSA works. The only alsa
line I have, is ALSA_CARDS="ens1371 virmidi".

> Unfortunately
>
> emerge -1pv alsa-lib
>
> gives me the following:
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] media-libs/alsa-lib-1.0.14a-r1 USE="midi -alisp
> -alsa_pcm_plugins_adpcm -alsa_pcm_plugins_alaw -alsa_pcm_plugins_copy
> -alsa_pcm_plugins_dshare -alsa_pcm_plugins_dsnoop
> -alsa_pcm_plugins_extplug -alsa_pcm_plugins_file -alsa_pcm_plugins_hooks
> -alsa_pcm_plugins_ladspa -alsa_pcm_plugins_lfloat
> -alsa_pcm_plugins_linear -alsa_pcm_plugins_meter -alsa_pcm_plugins_mulaw
> -alsa_pcm_plugins_multi -alsa_pcm_plugins_null -alsa_pcm_plugins_rate
> -alsa_pcm_plugins_route -alsa_pcm_plugins_share -alsa_pcm_plugins_shm
> -debug -doc" 0 kB

> So all PCM modules still are deselected. Somehow my use flags are
> ignored. Am I missing something?

What version of sys-apps/portage do you have? I'm using portage-2.1.3.19
and I get different output:

[ebuild R ] media-libs/alsa-lib-1.0.14a-r1 USE="midi -alisp -debug
-doc" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks
ladspa lfloat linear meter mulaw multi null rate route share shm" 0 kB

Mayby your prtage is to old? Just a guess. Does the output of "emerge
--info --verbose | grep USE_EXPAND" show ALSA_CARDS and
ALSA_PCM_PLUGINS? And "emerge --info | grep ALSA" should show them too,
in the line with the use flags.

Marc
Back to top
Login to vote
Christian Pontesegger

External


Since: Oct 24, 2007
Posts: 3



(Msg. 3) Posted: Sun Nov 18, 2007 1:47 pm
Post subject: Re: setting ALSA_PCM_PLUGINS dose not work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Marc Christiansen wrote:
> My make.conf does not contain this line and ALSA works. The only alsa
> line I have, is ALSA_CARDS="ens1371 virmidi".

I do not have that line. Regarding the alsa howto its related to the
alsa-driver package.

I compiled alsa directly into the kernel and did compile everything
directly and not as modul.e


> What version of sys-apps/portage do you have? I'm using portage-2.1.3.19
> and I get different output:

I have the same portage version.

>> Mayby your prtage is to old? Just a guess. Does the output of "emerge
> --info --verbose | grep USE_EXPAND" show ALSA_CARDS and
> ALSA_PCM_PLUGINS?

No, I get:

USE_EXPAND="CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS
FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS
LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"

> And "emerge --info | grep ALSA" should show them too,
> in the line with the use flags.

I do not get any output for that command.


So it seems its portage, so here is my "emerge --info", maybe this helps:

Portage 2.1.3.19 (!../usr/portage/profiles/default-linux/x86/2006.1,
gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Sat, 17 Nov 2007 07:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/portage/distfiles"
FEATURES="autoclean autoconfig distlocks fixpackages metadata-transfer
parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa arts berkdb bitmap-fonts
bluetooth bzip2 cli cpudetection crypt dbus diskio dlloader dmi dri dts
dvd dvdr dvdread encode exif extrafilters ffmpeg firefox fortran gdbm
gif gpm gtk gtk2 hal hbci hou imagemagick isdnlog java jikes jpeg jpeg2k
kipi libg++ libnotify lm_sensors logrotate mikmod mjpeg mmx mmxext mp3
mpeg mplayer musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ofx
ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt3support qt4
quicktime readline real reflection rle sdl session sou sound spl sse
sse2 ssl startup-notification svg syslog tcpd tiff timidity tk truetype
truetype-fonts type1-fonts udev unicode usb visualization vorbis
win32codecs wma wmf x86 xcomposite xorg xvid xvmc zlib" ELIBC="glibc"
INPUT_DEVICES="mouse keyboard" KERNEL="linux" LINGUAS="de en"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


--
bye
Christian
Back to top
Login to vote
Marc Christiansen

External


Since: Nov 05, 2005
Posts: 8



(Msg. 4) Posted: Mon Nov 19, 2007 7:16 am
Post subject: Re: setting ALSA_PCM_PLUGINS dose not work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Christian Pontesegger <schnitten.TakeThisOut@gmx.at> wrote:
> Marc Christiansen wrote:
>> My make.conf does not contain this line and ALSA works. The only alsa
>> line I have, is ALSA_CARDS="ens1371 virmidi".
>
> I do not have that line. Regarding the alsa howto its related to the
> alsa-driver package.
>
> I compiled alsa directly into the kernel and did compile everything
> directly and not as modul.e

Maybe some leftover on my system. I'm using the kernel driver too, but
as modules.

>> What version of sys-apps/portage do you have? I'm using portage-2.1.3.19
>> and I get different output:
>
> I have the same portage version.

Well, was worth a try.

>> Mayby your prtage is to old? Just a guess. Does the output of "emerge
>> --info --verbose | grep USE_EXPAND" show ALSA_CARDS and
>> ALSA_PCM_PLUGINS?
>
> No, I get:
>
> USE_EXPAND="CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS
> FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS
> LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
>
>> And "emerge --info | grep ALSA" should show them too,
>> in the line with the use flags.
>
> I do not get any output for that command.
>
>
> So it seems its portage, so here is my "emerge --info", maybe this helps:
>
> Portage 2.1.3.19 (!../usr/portage/profiles/default-linux/x86/2006.1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This looks suspicious. If I change /etc/make.profile to the 2006.1
profile (I'm using 2007.0/desktop), the output of emerge --info starts with:
Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0,

but still contains ALSA_PCM_PLUGINS and ALSA_CARDS.

Together with
[...]
> DISTDIR="/mnt/portage/distfiles"
[...]
> PKGDIR="/mnt/portage/packages"
[...]
> PORTDIR="/mnt/portage"

and the fact, that your USE_EXPAND does not contain the alsa vars makes
me think your /etc/make.profile points to the wrong target. If I'm not
mistaken, on your system either /usr/portage should be a link to
/mnt/portage or /etc/make.profile should be a link to
'/mnt/portage/profiles/default-linux/x86/2006.1'.

This is my /etc/make.profile:
0:jupiter etc # ls -l /etc/make.profile
lrwxrwxrwx 1 root root 56 2007-11-19 12:30 /etc/make.profile ->
.../usr/portage/profiles/default-linux/x86/2007.0/desktop

I have PORTDIR="/usr/portage".

So, you could try somethink like this:
# save the old link
mv /etc/make.profile /etc/make.profile-save
# and create the (hopefully) correct one
ln -s /mnt/portage/profiles/default-linux/x86/2006.1 /etc/make.profile

Then check emerge --info for the ALSA vars.

If this works, you might want to rename /usr/portage to e.g.
/usr/portage-old and either see what breaks, because it uses
/usr/portage instead of $PORTDIR or create a link:
ln -s /mnt/portage /usr/portage

Marc
Back to top
Login to vote
Display posts from previous:   
Related Topics:
X Font nightmare - The other day I rebooted after eighteen days, and every X font on my system went nuts. Now it's an adventure to see wha...

Bug#435606: abcde: Default commented NOGAP setting doesn't.. - Package: abcde Version: 2.3.99.6-1 Severity: minor I presume rather than #NOGAP it should be #NOGAP= or #NOGAP=y ...

Help Setting up Samba - Hello, I just installed the fedora 4 core as a fresh install. My network and everything is working, but I am unable t...

setting problem - hi how do you set environment variable like java_home. i set it first like the following export..

setting locales - Hello, I have change locale settings for my redhat box from "pl_PL" to "pl_PL.UTF-8". It was done ...

Setting the PATH - When I, from the shell, type in PATH=$PATH:/home/Jim and then do a "env", it changes the path routing. But I...
       Soft32 Home -> Linux -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]