public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] alsa in-kernel vs. alsa-lib
@ 2008-10-30 22:42 Pupino
  2008-10-30 23:04 ` Andrey Vul
  0 siblings, 1 reply; 13+ messages in thread
From: Pupino @ 2008-10-30 22:42 UTC (permalink / raw
  To: gentoo-user

Hi all,
i was used to intall alsa-lib and co. and use tools like alsamixer to
manage the audio on my gentoo; now i've tryied to switch to the
in-kernel way.
I've built the relevant part into the kernel, no module, but now i'm stuck.
If i try to emerge alsa-utils (wich has alsamixer) it pulls in also
alsa-lib, alsa-header, etc...
is this the correct behaviour? i tought i'll get rid of those
packages(-header, -lib) switching to the in-kernel drivers.

Davide



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] alsa in-kernel vs. alsa-lib
  2008-10-30 22:42 [gentoo-user] alsa in-kernel vs. alsa-lib Pupino
@ 2008-10-30 23:04 ` Andrey Vul
  2008-10-30 23:46   ` Markos Chandras
  0 siblings, 1 reply; 13+ messages in thread
From: Andrey Vul @ 2008-10-30 23:04 UTC (permalink / raw
  To: gentoo-user

On Thu, Oct 30, 2008 at 6:42 PM, Pupino <pupinux@gmail.com> wrote:
> Hi all,
> i was used to intall alsa-lib and co. and use tools like alsamixer to
> manage the audio on my gentoo; now i've tryied to switch to the
> in-kernel way.
> I've built the relevant part into the kernel, no module, but now i'm stuck.
> If i try to emerge alsa-utils (wich has alsamixer) it pulls in also
> alsa-lib, alsa-header, etc...
> is this the correct behaviour? i tought i'll get rid of those
> packages(-header, -lib) switching to the in-kernel drivers.
alsa-lib and alsa-headers are unrelated to the kernel modules.
alsa-lib and alsa-headers are userspace.
If you ditch alsa-lib and go full kernel:
Will you have sound? Maybe.
Will alsa-using apps be able to use it? Absolutely not. They need alsa-lib.



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] alsa in-kernel vs. alsa-lib
  2008-10-30 23:04 ` Andrey Vul
@ 2008-10-30 23:46   ` Markos Chandras
  2008-10-30 23:52     ` Joshua Murphy
  2008-10-31  2:53     ` [gentoo-user] " Iain Buchanan
  0 siblings, 2 replies; 13+ messages in thread
From: Markos Chandras @ 2008-10-30 23:46 UTC (permalink / raw
  To: gentoo-user; +Cc: Andrey Vul

On Friday 31 October 2008 01:04:42 Andrey Vul wrote:
> On Thu, Oct 30, 2008 at 6:42 PM, Pupino <pupinux@gmail.com> wrote:
> > Hi all,
> > i was used to intall alsa-lib and co. and use tools like alsamixer to
> > manage the audio on my gentoo; now i've tryied to switch to the
> > in-kernel way.
> > I've built the relevant part into the kernel, no module, but now i'm
> > stuck. If i try to emerge alsa-utils (wich has alsamixer) it pulls in
> > also alsa-lib, alsa-header, etc...
> > is this the correct behaviour? i tought i'll get rid of those
> > packages(-header, -lib) switching to the in-kernel drivers.
>
> alsa-lib and alsa-headers are unrelated to the kernel modules.
> alsa-lib and alsa-headers are userspace.
> If you ditch alsa-lib and go full kernel:
> Will you have sound? Maybe.
> Will alsa-using apps be able to use it? Absolutely not. They need alsa-lib.

From my experience i would recommend to use alsa-in-kernel + alsa-libs + 
alsa-headers + alsa-utils + alsa-tools

This combination works perfect on my 3 gentoo machines



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] alsa in-kernel vs. alsa-lib
  2008-10-30 23:46   ` Markos Chandras
@ 2008-10-30 23:52     ` Joshua Murphy
  2008-10-31 10:30       ` [gentoo-user] " Nikos Chantziaras
  2008-10-31  2:53     ` [gentoo-user] " Iain Buchanan
  1 sibling, 1 reply; 13+ messages in thread
From: Joshua Murphy @ 2008-10-30 23:52 UTC (permalink / raw
  To: gentoo-user

On Thu, Oct 30, 2008 at 7:46 PM, Markos Chandras <markaki2002@yahoo.gr> wrote:
> From my experience i would recommend to use alsa-in-kernel + alsa-libs +
> alsa-headers + alsa-utils + alsa-tools
>
> This combination works perfect on my 3 gentoo machines

All... *thinks a moment*  6 of mine as well.

-- 
Poison [BLX]
Joshua M. Murphy



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] alsa in-kernel vs. alsa-lib
  2008-10-30 23:46   ` Markos Chandras
  2008-10-30 23:52     ` Joshua Murphy
@ 2008-10-31  2:53     ` Iain Buchanan
  2008-10-31  8:41       ` Markos Chandras
  1 sibling, 1 reply; 13+ messages in thread
From: Iain Buchanan @ 2008-10-31  2:53 UTC (permalink / raw
  To: gentoo-user

Markos Chandras wrote:

>  From my experience i would recommend to use alsa-in-kernel + alsa-libs +

FYI that's alsa-lib not alsa-libs :)  might confuse someone reading later.

> alsa-headers + alsa-utils + alsa-tools
>
> This combination works perfect on my 3 gentoo machines
>
>


-- 
Iain Buchanan <iaindb at netspace dot net dot au>

The animals are not as stupid as one thinks -- they have neither
doctors nor lawyers.
		-- L. Docquier



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] alsa in-kernel vs. alsa-lib
  2008-10-31  2:53     ` [gentoo-user] " Iain Buchanan
@ 2008-10-31  8:41       ` Markos Chandras
  0 siblings, 0 replies; 13+ messages in thread
From: Markos Chandras @ 2008-10-31  8:41 UTC (permalink / raw
  To: gentoo-user; +Cc: Iain Buchanan

On Friday 31 October 2008 04:53:20 Iain Buchanan wrote:
> Markos Chandras wrote:
> >  From my experience i would recommend to use alsa-in-kernel + alsa-libs +
>
> FYI that's alsa-lib not alsa-libs :)  might confuse someone reading later.
True. Sorry for the mistake :)
>
> > alsa-headers + alsa-utils + alsa-tools
> >
> > This combination works perfect on my 3 gentoo machines



-- 
Markos Chandras



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-user]  Re: alsa in-kernel vs. alsa-lib
  2008-10-30 23:52     ` Joshua Murphy
@ 2008-10-31 10:30       ` Nikos Chantziaras
  2008-10-31 11:05         ` Pupino
  2008-10-31 14:08         ` Iain Buchanan
  0 siblings, 2 replies; 13+ messages in thread
From: Nikos Chantziaras @ 2008-10-31 10:30 UTC (permalink / raw
  To: gentoo-user

Joshua Murphy wrote:
> On Thu, Oct 30, 2008 at 7:46 PM, Markos Chandras <markaki2002@yahoo.gr> wrote:
>> From my experience i would recommend to use alsa-in-kernel + alsa-libs +
>> alsa-headers + alsa-utils + alsa-tools
>>
>> This combination works perfect on my 3 gentoo machines
> 
> All... *thinks a moment*  6 of mine as well.

void shameless_plug()
{
     One of the reasons I love Gentoo is
     because it allowed me to recompile all
     apps without ALSA support and use OSS
     (version 4) instead which for me worked
     much, much better than ALSA.
}

;D




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib
  2008-10-31 10:30       ` [gentoo-user] " Nikos Chantziaras
@ 2008-10-31 11:05         ` Pupino
  2008-10-31 12:17           ` Patrick Holthaus
  2008-10-31 12:46           ` Neil Bothwick
  2008-10-31 14:08         ` Iain Buchanan
  1 sibling, 2 replies; 13+ messages in thread
From: Pupino @ 2008-10-31 11:05 UTC (permalink / raw
  To: gentoo-user

2008/10/31 Nikos Chantziaras <realnc@arcor.de>:
> Joshua Murphy wrote:
>>
>> On Thu, Oct 30, 2008 at 7:46 PM, Markos Chandras <markaki2002@yahoo.gr>
>> wrote:
>>>
>>> From my experience i would recommend to use alsa-in-kernel + alsa-libs +
>>> alsa-headers + alsa-utils + alsa-tools
>>>
>>> This combination works perfect on my 3 gentoo machines
>>
>> All... *thinks a moment*  6 of mine as well.
>
> void shameless_plug()
> {
>    One of the reasons I love Gentoo is
>    because it allowed me to recompile all
>    apps without ALSA support and use OSS
>    (version 4) instead which for me worked
>    much, much better than ALSA.
> }
>
> ;D
>
>
>

ok, all of you said alsa in-kernel + alsa-lib + alsa-header is working
perfectly.
Yes, it's working for me too on my other gentoo box.

But i read this after building alsa-lib:
* Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
* If alsa-drivers works for you where a recent kernel does not, we want
* to know about this. Our e-mail address is alsa-bugs@gentoo.org
* However, if you notice no sound output or instability, please try to
* upgrade your kernel to a newer version first.

and this makes me think i should get rid of those packages as it say "instead".
Is this wrong? do we still need alsa-lib and co.?



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib
  2008-10-31 11:05         ` Pupino
@ 2008-10-31 12:17           ` Patrick Holthaus
  2008-10-31 12:46           ` Neil Bothwick
  1 sibling, 0 replies; 13+ messages in thread
From: Patrick Holthaus @ 2008-10-31 12:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]


> But i read this after building alsa-lib:
> * Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
> * If alsa-drivers works for you where a recent kernel does not, we want
> * to know about this. Our e-mail address is alsa-bugs@gentoo.org
> * However, if you notice no sound output or instability, please try to
> * upgrade your kernel to a newer version first.
>
> and this makes me think i should get rid of those packages as it say
> "instead". Is this wrong? do we still need alsa-lib and co.?

You should _not_ install alsa-drivers if you want to use in-kernel drivers. 
You can and should install alsa-lib etc.

Patrick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib
  2008-10-31 11:05         ` Pupino
  2008-10-31 12:17           ` Patrick Holthaus
@ 2008-10-31 12:46           ` Neil Bothwick
  2008-10-31 15:43             ` Pupino
  1 sibling, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2008-10-31 12:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

On Fri, 31 Oct 2008 12:05:47 +0100, Pupino wrote:

> But i read this after building alsa-lib:
> * Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
> * If alsa-drivers works for you where a recent kernel does not, we want
> * to know about this. Our e-mail address is alsa-bugs@gentoo.org
> * However, if you notice no sound output or instability, please try to
> * upgrade your kernel to a newer version first.
> 
> and this makes me think i should get rid of those packages as it say
> "instead". Is this wrong? do we still need alsa-lib and co.?

It says "instead of the alsa-drivers ebuild". you use either the
in-kernel drivers or alsa-drivers, whichever you choose, you still need
alsa-lib.


-- 
Neil Bothwick

Captain, I sense millions of minds focused on my cleavage.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user]  Re: alsa in-kernel vs. alsa-lib
  2008-10-31 10:30       ` [gentoo-user] " Nikos Chantziaras
  2008-10-31 11:05         ` Pupino
@ 2008-10-31 14:08         ` Iain Buchanan
  2008-10-31 14:32           ` Nikos Chantziaras
  1 sibling, 1 reply; 13+ messages in thread
From: Iain Buchanan @ 2008-10-31 14:08 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras wrote:
> void shameless_plug()
> {
>      One of the reasons I love Gentoo is
>      because it allowed me to recompile all
>      apps without ALSA support and use OSS
>      (version 4) instead which for me worked
>      much, much better than ALSA.
> }

g++     plug.cpp   -o plug
plug.cpp: In function 'void shameless_plug()':
plug.cpp:4: error: 'One' was not declared in this scope
plug.cpp:4: error: expected `;' before 'of'
make: *** [plug] Error 1

how about some printf's (or cout's for you noobs)

-- 
Iain Buchanan <iaindb at netspace dot net dot au>

The pollution's at that awkward stage.  Too thick to navigate and too
thin to cultivate.
		-- Doug Sneyd



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-user]  Re: alsa in-kernel vs. alsa-lib
  2008-10-31 14:08         ` Iain Buchanan
@ 2008-10-31 14:32           ` Nikos Chantziaras
  0 siblings, 0 replies; 13+ messages in thread
From: Nikos Chantziaras @ 2008-10-31 14:32 UTC (permalink / raw
  To: gentoo-user

Iain Buchanan wrote:
> Nikos Chantziaras wrote:
>> void shameless_plug()
>> {
>>      One of the reasons I love Gentoo is
>>      because it allowed me to recompile all
>>      apps without ALSA support and use OSS
>>      (version 4) instead which for me worked
>>      much, much better than ALSA.
>> }
> 
> g++     plug.cpp   -o plug
> plug.cpp: In function 'void shameless_plug()':
> plug.cpp:4: error: 'One' was not declared in this scope
> plug.cpp:4: error: expected `;' before 'of'
> make: *** [plug] Error 1
> 
> how about some printf's (or cout's for you noobs)

As if printf's aren't for noobs.  The Real Programmer puts the string 
length in EDX, the string in ECX, puts 1 in ECX to signify stdout, 4 in 
EAX to select the sys_write system call, and does an int 0x80.




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib
  2008-10-31 12:46           ` Neil Bothwick
@ 2008-10-31 15:43             ` Pupino
  0 siblings, 0 replies; 13+ messages in thread
From: Pupino @ 2008-10-31 15:43 UTC (permalink / raw
  To: gentoo-user

2008/10/31 Neil Bothwick <neil@digimed.co.uk>:
> On Fri, 31 Oct 2008 12:05:47 +0100, Pupino wrote:
>
>> But i read this after building alsa-lib:
>> * Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
>> * If alsa-drivers works for you where a recent kernel does not, we want
>> * to know about this. Our e-mail address is alsa-bugs@gentoo.org
>> * However, if you notice no sound output or instability, please try to
>> * upgrade your kernel to a newer version first.
>>
>> and this makes me think i should get rid of those packages as it say
>> "instead". Is this wrong? do we still need alsa-lib and co.?
>
> It says "instead of the alsa-drivers ebuild". you use either the
> in-kernel drivers or alsa-drivers, whichever you choose, you still need
> alsa-lib.
>
>
> --
> Neil Bothwick
>
> Captain, I sense millions of minds focused on my cleavage.
>

good, this clarifies everything.
Thank you all!



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-10-31 15:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 22:42 [gentoo-user] alsa in-kernel vs. alsa-lib Pupino
2008-10-30 23:04 ` Andrey Vul
2008-10-30 23:46   ` Markos Chandras
2008-10-30 23:52     ` Joshua Murphy
2008-10-31 10:30       ` [gentoo-user] " Nikos Chantziaras
2008-10-31 11:05         ` Pupino
2008-10-31 12:17           ` Patrick Holthaus
2008-10-31 12:46           ` Neil Bothwick
2008-10-31 15:43             ` Pupino
2008-10-31 14:08         ` Iain Buchanan
2008-10-31 14:32           ` Nikos Chantziaras
2008-10-31  2:53     ` [gentoo-user] " Iain Buchanan
2008-10-31  8:41       ` Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox