Mailing List Archive

alsa and 2.6
Hello,

I used to run a 2.4 kernel with alsa. Now I have finally upgraded to 2.6, which I believe includes the alsa stuff in the kernel. When I do an 'emerge -pvuD world', it tells me I should upgrade the following:

[ebuild U ] media-sound/alsa-headers-1.0.6a [1.0.5a] 1,748 kB
[ebuild U ] media-libs/alsa-lib-1.0.6 [1.0.5-r3] -jack -static 659 kB
[ebuild U ] media-sound/alsa-utils-1.0.6 [1.0.5] 144 kB
[ebuild U ] media-libs/alsa-oss-1.0.6 [1.0.5] 217 kB
[ebuild N ] media-sound/alsa-driver-1.0.6a -debug +oss 1,748 kB

My question is, do I still need this stuff, or can I safely unmerge all of these now?

Thanks,
Greg


--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
In general you do need this stuff. The only thing that is in the
kernel is alsa-driver...

- Mark

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
Greg Bengeult wrote:
> My question is, do I still need this stuff, or can I safely unmerge all of
> these now?

alsa-oss and alsa-driver can be unmerged.

Regards,
Norberto

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
I'm not so sure about alsa-oss

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
Mark Knecht wrote:
> I'm not so sure about alsa-oss

Well, since I have oss emulation running, I can say I'm 99.5% sure you can ;)

$ qpkg -I -v alsa
media-libs/alsa-lib-1.0.6 *
media-sound/alsa-headers-1.0.6a *
media-plugins/gst-plugins-alsa-0.8.3 *
media-plugins/alsa-jack-1.0.6 *

$ ls -l /dev/sound/
total 0
crw-rw---- 1 nbensa audio 14, 12 Sep 23 14:10 adsp
crw-rw---- 1 nbensa audio 14, 4 Sep 23 14:10 audio
crw-rw---- 1 nbensa audio 14, 3 Sep 23 14:10 dsp
crw-rw---- 1 nbensa audio 14, 0 Sep 23 14:10 mixer
crw-rw---- 1 nbensa audio 14, 1 Sep 23 14:10 sequencer
crw-rw---- 1 nbensa audio 14, 8 Sep 23 14:10 sequencer2

$ grep SND /usr/src/linux-2.6.9-rc2-mm2-VP-S4/.config | egrep -v ^#\|^$
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_EMU10K1=y

Best regards,
Norberto

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
>
> Well, since I have oss emulation running, I can say I'm 99.5% sure you can ;)

Well, who am I to argue! I'll just hang with the other 0.5% I guess... ;-)

>
> $ qpkg -I -v alsa
> media-libs/alsa-lib-1.0.6 *
> media-sound/alsa-headers-1.0.6a *
> media-plugins/gst-plugins-alsa-0.8.3 *
> media-plugins/alsa-jack-1.0.6 *

alsa-oss doesn't install much, but it does install aoss which has been
an interesting script to have available a couple of times. Probably
you are right and just need one or the other. I'm still not sure,
although I can say that emerging alsa-oss doesn't cost much in terms
of disk space or time so I'm going to leaveit installed.

Of course alsa-oss documentation has no information at all about using
one or the other...

Do you have the libraries installed that alsa-oss give me? (Shown below.)

Interesting info. Thanks!

- Mark

Gentoo2 linux # etcat -f alsa-oss
[ Results for search key : alsa-oss ]
[ Candidate applications found : 4 ]

Only printing found installed programs.

* media-libs/alsa-oss-1.0.6
/usr/lib/libalsatoss.so.0.0.0
/usr/lib/libaoss.a
/usr/share/man/man1/aoss.1.gz
/usr/share/doc/alsa-oss-1.0.6/COPYING.gz
/usr/bin
/usr/lib
/usr/lib/libalsatoss.a
/usr/bin/aoss
/usr/share/man/man1
/usr
/usr/lib/libalsatoss.so
/usr/share/doc/alsa-oss-1.0.6
/usr/lib/libaoss.so.0
/usr/share
/usr/include/oss-redir.h
/usr/lib/libalsatoss.la
/usr/share/man
/usr/lib/libossredir.a
/usr/lib/libaoss.so.0.0.0
/usr/share/doc
/usr/lib/libaoss.la
/usr/include
/usr/lib/libossredir.la
/usr/lib/libaoss.so
/usr/lib/libalsatoss.so.0
Gentoo2 linux #

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
Mark Knecht wrote:
> Do you have the libraries installed that alsa-oss give me? (Shown below.)

I see. So alsa-oss gives more than just the oss emulation driver. Obviously, I
don't have those libraries.

What applications link to those libraries?

Thanks!

> Interesting info. Thanks!

Yours too!

>
> - Mark

Regards,
Norberto

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
On Thu, 23 Sep 2004 22:36:21 -0300, Norberto Bensa
<norberto+gentoo-user@bensa.ath.cx> wrote:
> Mark Knecht wrote:
> > Do you have the libraries installed that alsa-oss give me? (Shown below.)
>
> I see. So alsa-oss gives more than just the oss emulation driver. Obviously, I
> don't have those libraries.
>
> What applications link to those libraries?

Not sure at all.

Possibly some of the functionality behind the /dev entries is what
these provide? Or maybe they are used only by aoss? Much better asked
on Alsa-dev I suppose.

I just assumed since it was there, and since the Alsa Docs seemed to
suggest it was required, that it was to be built. I used it on my
Redhat systems before coming to Gentoo.

>
> Thanks!
>
> > Interesting info. Thanks!
>
> Yours too!
>
> >
> > - Mark
>
> Regards,
>
>
> Norberto
>
> --
> gentoo-user@gentoo.org mailing list
>
>

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
Mark Knecht wrote:
> I just assumed since it was there, and since the Alsa Docs seemed to
> suggest it was required, that it was to be built. I used it on my
> Redhat systems before coming to Gentoo.

Heh... I assumed they were just drivers (modules) but looking at what you
posted, alsa-oss are libraries; I see no modules there.

I guess I'll have to read the ALSA docs once again :)

Best regards,
Norberto

--
gentoo-user@gentoo.org mailing list
Re: alsa and 2.6 [ In reply to ]
Thanks all.

I went ahead and unmerged all alsa stuff to see what I really needed to support alsa in a 2.6 kernel. I ended up re-emerging alsa-headers, alsa-lib, and alsa-utils to get it working again. It doesn't look like the alsa-oss package is necessary but I'm not really sure how to tell. My sound seems to be working fine without it.

Greg


--
gentoo-user@gentoo.org mailing list
Re: Re: alsa and 2.6 [ In reply to ]
On Fri, 24 Sep 2004 00:46:27 -0700, Greg Bengeult
<gregbengeult@comcast.net> wrote:
>
> Thanks all.
>
> I went ahead and unmerged all alsa stuff to see what I really needed to support alsa in a 2.6 kernel. I ended up re-emerging alsa-headers, alsa-lib, and alsa-utils to get it working again. It doesn't look like the alsa-oss package is necessary but I'm not really sure how to tell. My sound seems to be working fine without it.
>

FWIW, those are the only three alsa packages I have, and I've been
running alsa for ca. 8 months.

--
/\/\
(CR) Collins Richey
\/\/ "I hear you're single again." "Spouse 2.0 had fewer bugs than
Spouse 1.0, but the maintenance ... was too much for my OS."
- Glitch (tm)

--
gentoo-user@gentoo.org mailing list
Re: Re: alsa and 2.6 [ In reply to ]
Collins Richey wrote:
> On Fri, 24 Sep 2004 00:46:27 -0700, Greg Bengeult
> <gregbengeult@comcast.net> wrote:
>
>>Thanks all.
>>
>>I went ahead and unmerged all alsa stuff to see what I really needed to support alsa in a 2.6 kernel. I ended up re-emerging alsa-headers, alsa-lib, and alsa-utils to get it working again. It doesn't look like the alsa-oss package is necessary but I'm not really sure how to tell. My sound seems to be working fine without it.
>>
>
>
> FWIW, those are the only three alsa packages I have, and I've been
> running alsa for ca. 8 months.
>

Hello Collins,
emerge alsa-headers && emerge alsa-lib && emerge alsa-oss

The first 2 work, but alsa-oss pucks! Any ideas?

<snip>

prepallstrip:
strip:
strip:
usr/lib/libalsatoss.so.0.0.0
usr/lib/libaoss.so.0.0.0
making executable: /usr/lib/libalsatoss.so.0.0.0
making executable: /usr/lib/libaoss.so.0.0.0
>>> Completed installing into /var/tmp/portage/alsa-oss-1.0.5/image/

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------LOG FILE =
"/tmp/sandbox-media-libs_-_alsa-oss-1.0.5-17988.log"

open_wr: /portage/.distcc/lock/cpu_localhost_0
open_wr: /portage/.distcc/state/binstate_18201
unlink: /portage/.distcc/state/binstate_18201

James



--
gentoo-user@gentoo.org mailing list
Re: Re: alsa and 2.6 [ In reply to ]
> FWIW, those are the only three alsa packages I have, and I've been
> running alsa for ca. 8 months.
>
> --
> /\/\
> (CR) Collins Richey

OK, I did some reading and now recal why this exists. Look here for
some good, but simple, info:

http://alsa.opensrc.org/index.php?page=OssEmulation

aoss gives the user the ability to use the PCM plugin layer of Alsa.
This allows the user to do software mixing of OSS applications running
under Alsa which is something I think OSS itself probably wouldn't
have allowed. I suspect that using aoss I can also route OSS apps to
different IO's on my soundcard using definitions in a .asoundrc file.
(For instance, my HDSP9652 has 26 physical inputs, 26 physical
outputs, and 26 pcm playback ports, or the AP2496 card which has 10
IOs) which would allow me to do hardware mixing in the sound card
itself.

Probably this is nothing most people are interested in, but it's made
available by aoss to those who are, and additionally might be an
option for certain OSS apps that for whatever reason have trouble with
the kernel level emulation that's made available without emerging
alsa-oss. Both can be on your system at the same time. aoss is only
used if you choose to use it. (That said, I've only done it a couple
of times and it was a long time ago...)

Cheers,
Mark

- Mark

--
gentoo-user@gentoo.org mailing list
Re: Re: alsa and 2.6 [ In reply to ]
On Fri, 24 Sep 2004 11:59:57 -0400, wireless <wireless@tampabay.rr.com> wrote:
> Collins Richey wrote:
> > On Fri, 24 Sep 2004 00:46:27 -0700, Greg Bengeult
> > <gregbengeult@comcast.net> wrote:
> >
> >>Thanks all.
> >>
> >>I went ahead and unmerged all alsa stuff to see what I really needed to support alsa in a 2.6 kernel. I ended up re-emerging alsa-headers, alsa-lib, and alsa-utils to get it working again. It doesn't look like the alsa-oss package is necessary but I'm not really sure how to tell. My sound seems to be working fine without it.
> >>
> >
> >
> > FWIW, those are the only three alsa packages I have, and I've been
> > running alsa for ca. 8 months.
> >
>
> Hello Collins,
> emerge alsa-headers && emerge alsa-lib && emerge alsa-oss
>
> The first 2 work, but alsa-oss pucks! Any ideas?
>

> --------------------------- ACCESS VIOLATION SUMMARY
> ---------------------------LOG FILE =
> "/tmp/sandbox-media-libs_-_alsa-oss-1.0.5-17988.log"

Usually signs of a fuxored ebuild; bugzilla it.

The workaround is usually 'FEATURES="-sandbox" emerge .....'.

HTH,

--
/\/\
(CR) Collins Richey
\/\/ "I hear you're single again." "Spouse 2.0 had fewer bugs than
Spouse 1.0, but the maintenance ... was too much for my OS."
- Glitch (tm)

--
gentoo-user@gentoo.org mailing list
Re: Re: alsa and 2.6 [ In reply to ]
Collins Richey wrote:
> On Fri, 24 Sep 2004 11:59:57 -0400, wireless <wireless@tampabay.rr.com> wrote:
>
>>Collins Richey wrote:
>>
>>>On Fri, 24 Sep 2004 00:46:27 -0700, Greg Bengeult
>>><gregbengeult@comcast.net> wrote:
>>>
>>>
>>>>Thanks all.
>>>>
>>>>I went ahead and unmerged all alsa stuff to see what I really needed to support alsa in a 2.6 kernel. I ended up re-emerging alsa-headers, alsa-lib, and alsa-utils to get it working again. It doesn't look like the alsa-oss package is necessary but I'm not really sure how to tell. My sound seems to be working fine without it.
>>>>
>>>
>>>
>>>FWIW, those are the only three alsa packages I have, and I've been
>>>running alsa for ca. 8 months.
>>>
>>
>>Hello Collins,
>>emerge alsa-headers && emerge alsa-lib && emerge alsa-oss
>>
>>The first 2 work, but alsa-oss pucks! Any ideas?
>>
>
>
>>--------------------------- ACCESS VIOLATION SUMMARY
>>---------------------------LOG FILE =
>>"/tmp/sandbox-media-libs_-_alsa-oss-1.0.5-17988.log"
>
>
> Usually signs of a fuxored ebuild; bugzilla it.
>
> The workaround is usually 'FEATURES="-sandbox" emerge .....'.
>
> HTH,
>

Bugzilla and I are becoming fast friends.....
I was able to emerge 'arts'. I have kde.

I've got everything possible related to alsa turned on in the kernel
(2.6.7-r11) and have tried several players. KsCD seems to be working
as the name of this songs.... are found, but no sound comes out.

I'm upgradeing KDE now (3.3) so we'll see if that helps any.
Googling produces lots of noise on KDE + ALSA + ARTS, but not many
good ideas....

I guessing(actually hoping) I do not actually need alsa-oss?

Thanks,

James




James


--
gentoo-user@gentoo.org mailing list
Re: Re: alsa and 2.6 [ In reply to ]
On Fri, 24 Sep 2004 14:08:16 -0400, wireless <wireless@tampabay.rr.com> wrote:

>
> I guessing(actually hoping) I do not actually need alsa-oss?
>

I agree. Until Mark came up with his information, I never heard of it.

--
/\/\
(CR) Collins Richey
\/\/ "I hear you're single again." "Spouse 2.0 had fewer bugs than
Spouse 1.0, but the maintenance ... was too much for my OS."
- Glitch (tm)

--
gentoo-user@gentoo.org mailing list
Re: Re: alsa and 2.6 [ In reply to ]
> >
> > I guessing(actually hoping) I do not actually need alsa-oss?
> >
>
> I agree. Until Mark came up with his information, I never heard of it.
>

What? No RTFM? ;-) ;-) ;-)

Joking aside, I tried aoss a couple of times. I needed it to do sample
rate conversion on some OSS app while running a couple of other Alsa
apps. It worked, but it never became important to me and I just forgot
why I emerged it in the first place. I never got it to work well. On
big apps it just segfaulted on me.

I think it's not important to most people, but for some of us it might
be useful. Just another tool in the toolbox.

--
gentoo-user@gentoo.org mailing list