linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.6 sound drivers?
  2003-07-16 23:37 ` Jeff Garzik
@ 2003-07-16 19:25   ` Max Valdez
  2003-07-17  1:05     ` Jeff Garzik
  2003-07-16 23:39   ` 2.6 sound drivers? Robert L. Harris
  1 sibling, 1 reply; 37+ messages in thread
From: Max Valdez @ 2003-07-16 19:25 UTC (permalink / raw)
  To: Jeff Garzik, kernel

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

I have a SBlive too, emu10k1 works pretty well for me, what should I do
for going to ALSA ?? 

I hope the answer is not a, buy a good new supported sound card

:-)
Max
On Wed, 2003-07-16 at 18:37, Jeff Garzik wrote:
> Robert L. Harris wrote:
> > 
> > I have a soundblaster Live.  I've historically used the OSS drivers as
> > they've worked well for me.  I just tried to load the emu10k1 which
> > loads without error, but mpg123 says it can't open the default sound
> > device.
> 
> 
> I am biased, but, it would be nice for people to start testing the 
> "official" 2.6 sound drivers, ALSA.  The ALSA API has many benefits over 
> OSS, but needs wide-spread testing and validation.
> 
> 	Jeff, who is long tired of hacking on OSS drivers :)
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
Linux garaged 2.6.0-test1-ac1 #2 SMP Tue Jul 15 06:25:03 CDT 2003 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GS/ d-s:a-28C++ILHA+++P+L++>+++E---W++N*o--K-w++++O-M--V--PS+PEY--PGP++t5XRtv++b++DI--D-G++e++h-r+y**
------END GEEK CODE BLOCK------
gpg-key: http://garaged.homeip.net/gpg-key.txt

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

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

* 2.6 sound drivers?
@ 2003-07-16 22:58 Robert L. Harris
  2003-07-16 23:10 ` Rudo Thomas
                   ` (2 more replies)
  0 siblings, 3 replies; 37+ messages in thread
From: Robert L. Harris @ 2003-07-16 22:58 UTC (permalink / raw)
  To: Linux-Kernel

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



I have a soundblaster Live.  I've historically used the OSS drivers as
they've worked well for me.  I just tried to load the emu10k1 which
loads without error, but mpg123 says it can't open the default sound
device.

Anyone able to do an lsmod or a listing of the drivers I need for an
SBLive?

Thanks,
  Robert
:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert@ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net	http://www.rdlg.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-16 22:58 2.6 sound drivers? Robert L. Harris
@ 2003-07-16 23:10 ` Rudo Thomas
  2003-07-16 23:29   ` Robert L. Harris
  2003-07-16 23:10 ` Mike Fedyk
  2003-07-16 23:37 ` Jeff Garzik
  2 siblings, 1 reply; 37+ messages in thread
From: Rudo Thomas @ 2003-07-16 23:10 UTC (permalink / raw)
  To: Linux-Kernel

> [snip] I just tried to load the emu10k1 which loads without error, but mpg123
> says it can't open the default sound device.

If the module loaded up properly, problem may be in mpg123. If you are using
devfs, try mpg123 -a /dev/sound/dsp . If that works, set up devfsd.

Rudo.

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

* Re: 2.6 sound drivers?
  2003-07-16 22:58 2.6 sound drivers? Robert L. Harris
  2003-07-16 23:10 ` Rudo Thomas
@ 2003-07-16 23:10 ` Mike Fedyk
  2003-07-16 23:30   ` Robert L. Harris
  2003-07-16 23:37 ` Jeff Garzik
  2 siblings, 1 reply; 37+ messages in thread
From: Mike Fedyk @ 2003-07-16 23:10 UTC (permalink / raw)
  To: Linux-Kernel

On Wed, Jul 16, 2003 at 06:58:26PM -0400, Robert L. Harris wrote:
> 
> 
> I have a soundblaster Live.  I've historically used the OSS drivers as
> they've worked well for me.  I just tried to load the emu10k1 which
> loads without error, but mpg123 says it can't open the default sound
> device.
> 
> Anyone able to do an lsmod or a listing of the drivers I need for an
> SBLive?

Did you install alsa-utils?

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

* Re: 2.6 sound drivers?
  2003-07-16 23:10 ` Rudo Thomas
@ 2003-07-16 23:29   ` Robert L. Harris
  2003-07-16 23:46     ` Rudo Thomas
  0 siblings, 1 reply; 37+ messages in thread
From: Robert L. Harris @ 2003-07-16 23:29 UTC (permalink / raw)
  To: Linux-Kernel

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



/dev/sound/dsp doesn't exist.  I have devfsd installed and running
already.

Thus spake Rudo Thomas (thomr9am@ss1000.ms.mff.cuni.cz):

> > [snip] I just tried to load the emu10k1 which loads without error, but mpg123
> > says it can't open the default sound device.
> 
> If the module loaded up properly, problem may be in mpg123. If you are using
> devfs, try mpg123 -a /dev/sound/dsp . If that works, set up devfsd.
> 
> Rudo.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert@ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net	http://www.rdlg.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-16 23:10 ` Mike Fedyk
@ 2003-07-16 23:30   ` Robert L. Harris
  2003-07-16 23:39     ` Mike Fedyk
                       ` (2 more replies)
  0 siblings, 3 replies; 37+ messages in thread
From: Robert L. Harris @ 2003-07-16 23:30 UTC (permalink / raw)
  To: Linux-Kernel

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



I do but the problem is I don't have a /dev/dsp, /dev/sound/dsp or
anything else to point mpg123 at.

Thus spake Mike Fedyk (mfedyk@matchmail.com):

> On Wed, Jul 16, 2003 at 06:58:26PM -0400, Robert L. Harris wrote:
> > 
> > 
> > I have a soundblaster Live.  I've historically used the OSS drivers as
> > they've worked well for me.  I just tried to load the emu10k1 which
> > loads without error, but mpg123 says it can't open the default sound
> > device.
> > 
> > Anyone able to do an lsmod or a listing of the drivers I need for an
> > SBLive?
> 
> Did you install alsa-utils?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert@ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net	http://www.rdlg.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-16 22:58 2.6 sound drivers? Robert L. Harris
  2003-07-16 23:10 ` Rudo Thomas
  2003-07-16 23:10 ` Mike Fedyk
@ 2003-07-16 23:37 ` Jeff Garzik
  2003-07-16 19:25   ` Max Valdez
  2003-07-16 23:39   ` 2.6 sound drivers? Robert L. Harris
  2 siblings, 2 replies; 37+ messages in thread
From: Jeff Garzik @ 2003-07-16 23:37 UTC (permalink / raw)
  To: Robert L. Harris; +Cc: Linux-Kernel

Robert L. Harris wrote:
> 
> I have a soundblaster Live.  I've historically used the OSS drivers as
> they've worked well for me.  I just tried to load the emu10k1 which
> loads without error, but mpg123 says it can't open the default sound
> device.


I am biased, but, it would be nice for people to start testing the 
"official" 2.6 sound drivers, ALSA.  The ALSA API has many benefits over 
OSS, but needs wide-spread testing and validation.

	Jeff, who is long tired of hacking on OSS drivers :)




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

* Re: 2.6 sound drivers?
  2003-07-16 23:30   ` Robert L. Harris
@ 2003-07-16 23:39     ` Mike Fedyk
  2003-07-16 23:46     ` David Ford
  2003-07-17  7:26     ` Martin Schlemmer
  2 siblings, 0 replies; 37+ messages in thread
From: Mike Fedyk @ 2003-07-16 23:39 UTC (permalink / raw)
  To: Linux-Kernel

> Thus spake Mike Fedyk (mfedyk@matchmail.com):
> > Did you install alsa-utils?

On Wed, Jul 16, 2003 at 07:30:45PM -0400, Robert L. Harris wrote:
> I do but the problem is I don't have a /dev/dsp, /dev/sound/dsp or
> anything else to point mpg123 at.

Are you using devfs?

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

* Re: 2.6 sound drivers?
  2003-07-16 23:37 ` Jeff Garzik
  2003-07-16 19:25   ` Max Valdez
@ 2003-07-16 23:39   ` Robert L. Harris
  2003-07-16 23:57     ` Matt Reppert
  1 sibling, 1 reply; 37+ messages in thread
From: Robert L. Harris @ 2003-07-16 23:39 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linux-Kernel

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



That's what I'm trying to do and why I'm trying to get the sound card to
work, it was in a previous part of this thread.  I'm trying to find out
what drivers to load how for ALSA with a soundblaster live.


Thus spake Jeff Garzik (jgarzik@pobox.com):

> Robert L. Harris wrote:
> >
> >I have a soundblaster Live.  I've historically used the OSS drivers as
> >they've worked well for me.  I just tried to load the emu10k1 which
> >loads without error, but mpg123 says it can't open the default sound
> >device.
> 
> 
> I am biased, but, it would be nice for people to start testing the 
> "official" 2.6 sound drivers, ALSA.  The ALSA API has many benefits over 
> OSS, but needs wide-spread testing and validation.
> 
> 	Jeff, who is long tired of hacking on OSS drivers :)
> 
> 

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert@ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net	http://www.rdlg.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-16 23:30   ` Robert L. Harris
  2003-07-16 23:39     ` Mike Fedyk
@ 2003-07-16 23:46     ` David Ford
  2003-07-17  0:08       ` Robert L. Harris
  2003-07-17  7:26     ` Martin Schlemmer
  2 siblings, 1 reply; 37+ messages in thread
From: David Ford @ 2003-07-16 23:46 UTC (permalink / raw)
  To: Robert L. Harris, linux-kernel

/dev/sound/* is from OSS.  You'll have to enable OSS emulation if you 
want legacy apps to be able to use your sound.

Alternatively, mpg123 --stdout | aplay, or similar.  Use a script or 
alias to make it easy on yourself.

David

Robert L. Harris wrote:

>I do but the problem is I don't have a /dev/dsp, /dev/sound/dsp or
>anything else to point mpg123 at.
>
>Thus spake Mike Fedyk (mfedyk@matchmail.com):
>
>  
>
>>On Wed, Jul 16, 2003 at 06:58:26PM -0400, Robert L. Harris wrote:
>>    
>>
>>>I have a soundblaster Live.  I've historically used the OSS drivers as
>>>they've worked well for me.  I just tried to load the emu10k1 which
>>>loads without error, but mpg123 says it can't open the default sound
>>>device.
>>>
>>>Anyone able to do an lsmod or a listing of the drivers I need for an
>>>SBLive?
>>>      
>>>
>>Did you install alsa-utils?
>>
>


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

* Re: 2.6 sound drivers?
  2003-07-16 23:29   ` Robert L. Harris
@ 2003-07-16 23:46     ` Rudo Thomas
  0 siblings, 0 replies; 37+ messages in thread
From: Rudo Thomas @ 2003-07-16 23:46 UTC (permalink / raw)
  To: Linux-Kernel

> /dev/sound/dsp doesn't exist.

<1058182153.3913.6.camel@garaged.homeip.net> seems to solve your problem. You
can also find it at
http://www.ussg.iu.edu/hypermail/linux/kernel/0307.1/2023.html

In short, unset CONFIG_DEVFS_MOUNT.

Did it help?

Rudo.

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

* Re: 2.6 sound drivers?
  2003-07-16 23:39   ` 2.6 sound drivers? Robert L. Harris
@ 2003-07-16 23:57     ` Matt Reppert
  0 siblings, 0 replies; 37+ messages in thread
From: Matt Reppert @ 2003-07-16 23:57 UTC (permalink / raw)
  To: Robert L. Harris; +Cc: linux-kernel

On Wed, 16 Jul 2003 19:39:56 -0400
"Robert L. Harris" <Robert.L.Harris@rdlg.net> wrote:
> 
> That's what I'm trying to do and why I'm trying to get the sound card to
> work, it was in a previous part of this thread.  I'm trying to find out
> what drivers to load how for ALSA with a soundblaster live.

modprobe snd-emu10k1

That should take care of it, it worked perfectly fine 40 releases ago :)

Matt

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

* Re: 2.6 sound drivers?
  2003-07-16 23:46     ` David Ford
@ 2003-07-17  0:08       ` Robert L. Harris
  2003-07-17  1:07         ` Wes Janzen
  2003-07-17  1:42         ` James H. Cloos Jr.
  0 siblings, 2 replies; 37+ messages in thread
From: Robert L. Harris @ 2003-07-17  0:08 UTC (permalink / raw)
  To: David Ford; +Cc: linux-kernel

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



No go, it looks like it's playing but nothing to the speakers.

Thus spake David Ford (david+hb@blue-labs.org):

> /dev/sound/* is from OSS.  You'll have to enable OSS emulation if you 
> want legacy apps to be able to use your sound.
> 
> Alternatively, mpg123 --stdout | aplay, or similar.  Use a script or 
> alias to make it easy on yourself.
> 
> David
> 
> Robert L. Harris wrote:
> 
> >I do but the problem is I don't have a /dev/dsp, /dev/sound/dsp or
> >anything else to point mpg123 at.
> >
> >Thus spake Mike Fedyk (mfedyk@matchmail.com):
> >
> > 
> >
> >>On Wed, Jul 16, 2003 at 06:58:26PM -0400, Robert L. Harris wrote:
> >>   
> >>
> >>>I have a soundblaster Live.  I've historically used the OSS drivers as
> >>>they've worked well for me.  I just tried to load the emu10k1 which
> >>>loads without error, but mpg123 says it can't open the default sound
> >>>device.
> >>>
> >>>Anyone able to do an lsmod or a listing of the drivers I need for an
> >>>SBLive?
> >>>     
> >>>
> >>Did you install alsa-utils?
> >>
> >

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert@ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net	http://www.rdlg.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-16 19:25   ` Max Valdez
@ 2003-07-17  1:05     ` Jeff Garzik
  2003-07-17  2:18       ` Norberto BENSA
  0 siblings, 1 reply; 37+ messages in thread
From: Jeff Garzik @ 2003-07-17  1:05 UTC (permalink / raw)
  To: Max Valdez; +Cc: kernel

Max Valdez wrote:
> I have a SBlive too, emu10k1 works pretty well for me, what should I do
> for going to ALSA ?? 


ALSA supports emu10k1.

	Jeff




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

* Re: 2.6 sound drivers?
  2003-07-17  0:08       ` Robert L. Harris
@ 2003-07-17  1:07         ` Wes Janzen
  2003-07-17  1:42         ` James H. Cloos Jr.
  1 sibling, 0 replies; 37+ messages in thread
From: Wes Janzen @ 2003-07-17  1:07 UTC (permalink / raw)
  To: Robert L. Harris; +Cc: linux-kernel



Robert L. Harris wrote:

>No go, it looks like it's playing but nothing to the speakers.
>
>  
>
Have you tried alsamixer?  I'm pretty sure everything's muted by default.


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

* Re: 2.6 sound drivers?
  2003-07-17  0:08       ` Robert L. Harris
  2003-07-17  1:07         ` Wes Janzen
@ 2003-07-17  1:42         ` James H. Cloos Jr.
  1 sibling, 0 replies; 37+ messages in thread
From: James H. Cloos Jr. @ 2003-07-17  1:42 UTC (permalink / raw)
  To: Robert L. Harris; +Cc: linux-kernel

>>>>> "Robert" == Robert L Harris <Robert.L.Harris@rdlg.net> writes:

Robert> No go, it looks like it's playing but nothing to the speakers.

Alsa boots up muted.  Use alsamixer(1) (it is a curses app) to set
your prefered volumes.  Then as root run 'alsactl store' to store
said volumes.  Each boot running 'alsactl restore' will reset them.

-JimC


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

* Re: 2.6 sound drivers?
  2003-07-17  1:05     ` Jeff Garzik
@ 2003-07-17  2:18       ` Norberto BENSA
  2003-07-17 13:13         ` Ian Hastie
  2003-07-17 13:19         ` Terje Kvernes
  0 siblings, 2 replies; 37+ messages in thread
From: Norberto BENSA @ 2003-07-17  2:18 UTC (permalink / raw)
  To: Jeff Garzik, Max Valdez; +Cc: kernel

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 308 bytes --]

Jeff Garzik wrote:
> Max Valdez wrote:
> > I have a SBlive too, emu10k1 works pretty well for me, what should I do
> > for going to ALSA ??
>
> ALSA supports emu10k1.

How well? Last time I've checked ALSA, it didn't support bass and treble, 
that's why I'm using OSS (emu10k1)

Thanks,
Norberto

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-16 23:30   ` Robert L. Harris
  2003-07-16 23:39     ` Mike Fedyk
  2003-07-16 23:46     ` David Ford
@ 2003-07-17  7:26     ` Martin Schlemmer
  2003-07-17  8:57       ` Eugene Teo
  2 siblings, 1 reply; 37+ messages in thread
From: Martin Schlemmer @ 2003-07-17  7:26 UTC (permalink / raw)
  To: Robert L. Harris; +Cc: Linux-Kernel

On Thu, 2003-07-17 at 01:30, Robert L. Harris wrote:
> I do but the problem is I don't have a /dev/dsp, /dev/sound/dsp or
> anything else to point mpg123 at.
> 

On Thu, 2003-07-17 at 03:42, James H. Cloos Jr. wrote: 
> >>>>> "Robert" == Robert L Harris <Robert.L.Harris@rdlg.net> writes:
> 
> Robert> No go, it looks like it's playing but nothing to the speakers.
> 
> Alsa boots up muted.  Use alsamixer(1) (it is a curses app) to set
> your prefered volumes.  Then as root run 'alsactl store' to store
> said volumes.  Each boot running 'alsactl restore' will reset them.

Right.

Also, if you want /dev/sound/* you need to compile the OSS stuff
for ALSA ... 

  # modprobe snd-mixer-oss
  # modprobe snd-*-oss ....


-- 
Martin Schlemmer



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

* Re: 2.6 sound drivers?
  2003-07-17  7:26     ` Martin Schlemmer
@ 2003-07-17  8:57       ` Eugene Teo
  2003-07-17  9:22         ` Takashi Iwai
  0 siblings, 1 reply; 37+ messages in thread
From: Eugene Teo @ 2003-07-17  8:57 UTC (permalink / raw)
  To: Martin Schlemmer; +Cc: Robert L. Harris, Linux-Kernel

One thing I noticed abt this ALSA driver is that if I am playing
say, xmms at the moment, any additional sound output will be delayed
until I stop xmms. Is there any workaround? 

Using Intel(r) AC'97 Audio Controller - Sigmatel 9723 Codec

Eugene

<quote sender="Martin Schlemmer">
> On Thu, 2003-07-17 at 01:30, Robert L. Harris wrote:
> > I do but the problem is I don't have a /dev/dsp, /dev/sound/dsp or
> > anything else to point mpg123 at.
> > 
> 
> On Thu, 2003-07-17 at 03:42, James H. Cloos Jr. wrote: 
> > >>>>> "Robert" == Robert L Harris <Robert.L.Harris@rdlg.net> writes:
> > 
> > Robert> No go, it looks like it's playing but nothing to the speakers.
> > 
> > Alsa boots up muted.  Use alsamixer(1) (it is a curses app) to set
> > your prefered volumes.  Then as root run 'alsactl store' to store
> > said volumes.  Each boot running 'alsactl restore' will reset them.
> 
> Right.
> 
> Also, if you want /dev/sound/* you need to compile the OSS stuff
> for ALSA ... 
> 
>   # modprobe snd-mixer-oss
>   # modprobe snd-*-oss ....
> 
> 
> -- 
> Martin Schlemmer
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: 2.6 sound drivers?
  2003-07-17  8:57       ` Eugene Teo
@ 2003-07-17  9:22         ` Takashi Iwai
  2003-07-17 11:19           ` Ookhoi
  0 siblings, 1 reply; 37+ messages in thread
From: Takashi Iwai @ 2003-07-17  9:22 UTC (permalink / raw)
  To: Linux-Kernel

At Thu, 17 Jul 2003 16:57:04 +0800,
Eugene Teo wrote:
> 
> One thing I noticed abt this ALSA driver is that if I am playing
> say, xmms at the moment, any additional sound output will be delayed
> until I stop xmms. Is there any workaround? 
> 
> Using Intel(r) AC'97 Audio Controller - Sigmatel 9723 Codec

the intel chip supports only one stream for playback, so the
succeeding open is blocked since ALSA opens the device in the blocking
mode as default.  and it's so for OSS-emulation, too.

for the oss-emulation, you can change this behavior via the module
option nonblock_open of snd-pcm-oss module.  please check
Documentation/sound/alsa/OSS-Emulation.txt.


Takashi

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

* Re: 2.6 sound drivers?
  2003-07-17  9:22         ` Takashi Iwai
@ 2003-07-17 11:19           ` Ookhoi
  2003-07-17 11:31             ` Ed Sweetman
  2003-07-17 11:32             ` Takashi Iwai
  0 siblings, 2 replies; 37+ messages in thread
From: Ookhoi @ 2003-07-17 11:19 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Linux-Kernel, eugene.teo

Takashi Iwai wrote (ao):
> At Thu, 17 Jul 2003 16:57:04 +0800,
> Eugene Teo wrote:
> > One thing I noticed abt this ALSA driver is that if I am playing
> > say, xmms at the moment, any additional sound output will be delayed
> > until I stop xmms. Is there any workaround? 
> > 
> > Using Intel(r) AC'97 Audio Controller - Sigmatel 9723 Codec
> 
> the intel chip supports only one stream for playback, so the
> succeeding open is blocked since ALSA opens the device in the blocking
> mode as default.  and it's so for OSS-emulation, too.
> 
> for the oss-emulation, you can change this behavior via the module
> option nonblock_open of snd-pcm-oss module.  please check
> Documentation/sound/alsa/OSS-Emulation.txt.

Wouldn't esd (the enlightment sound daemon) take care of this in
userspace? I can have sound out of xmms, firebird, mpg321 and mplayer at
the same time with esd.

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

* Re: 2.6 sound drivers?
  2003-07-17 16:08           ` Norberto BENSA
@ 2003-07-17 11:22             ` Max Valdez
  2003-07-17 16:54             ` Takashi Iwai
  2003-07-17 18:46             ` dacin
  2 siblings, 0 replies; 37+ messages in thread
From: Max Valdez @ 2003-07-17 11:22 UTC (permalink / raw)
  To: kernel

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

I have emu10k1 running over ALSA, but if i try to change bass or treble
with alsamixer, nothing changes on the output.

Max
On Thu, 2003-07-17 at 11:08, Norberto BENSA wrote:
> Terje Kvernes wrote:
> > Norberto BENSA <nbensa@gmx.net> writes:
> > > Last time I've checked ALSA, it didn't support bass and treble,
> > > that's why I'm using OSS (emu10k1)
> >
> >   I have treble and base support on my emu10k1 via ALSA.
> 
> How could this be true if:
> 
> Ian Hastie wrote:
> > ALSA's support seems usable, but still doesn't allow you to programme the
> > DSP with your own code.  OSS uses this to enable such things as bass and
> > treble controls, as well as a selection of audio effects with code
> > provided.  Anyone know if ALSA will allow this kind of thing in the future?
> 
> ???
> 
> Anyone (Terje, Ed) care to say HOW did you enabled treble and bass in emu10k1 
> (ALSA) or you will continuously say "it works for me" without saying anything 
> useful?
> 
> Many thanks in advance,
> Norberto
-- 
Linux garaged 2.6.0-test1-ac1 #2 SMP Tue Jul 15 06:25:03 CDT 2003 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GS/ d-s:a-28C++ILHA+++P+L++>+++E---W++N*o--K-w++++O-M--V--PS+PEY--PGP++t5XRtv++b++DI--D-G++e++h-r+y**
------END GEEK CODE BLOCK------
gpg-key: http://garaged.homeip.net/gpg-key.txt

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

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

* Re: 2.6 sound drivers?
  2003-07-17 11:19           ` Ookhoi
@ 2003-07-17 11:31             ` Ed Sweetman
  2003-07-17 12:10               ` Alan Cox
  2003-07-17 11:32             ` Takashi Iwai
  1 sibling, 1 reply; 37+ messages in thread
From: Ed Sweetman @ 2003-07-17 11:31 UTC (permalink / raw)
  To: ookhoi; +Cc: Takashi Iwai, Linux-Kernel, eugene.teo

Ookhoi wrote:
> Takashi Iwai wrote (ao):
> 
>>At Thu, 17 Jul 2003 16:57:04 +0800,
>>Eugene Teo wrote:
>>
>>>One thing I noticed abt this ALSA driver is that if I am playing
>>>say, xmms at the moment, any additional sound output will be delayed
>>>until I stop xmms. Is there any workaround? 
>>>
>>>Using Intel(r) AC'97 Audio Controller - Sigmatel 9723 Codec
>>
>>the intel chip supports only one stream for playback, so the
>>succeeding open is blocked since ALSA opens the device in the blocking
>>mode as default.  and it's so for OSS-emulation, too.
>>
>>for the oss-emulation, you can change this behavior via the module
>>option nonblock_open of snd-pcm-oss module.  please check
>>Documentation/sound/alsa/OSS-Emulation.txt.
> 
> 
> Wouldn't esd (the enlightment sound daemon) take care of this in
> userspace? I can have sound out of xmms, firebird, mpg321 and mplayer at
> the same time with esd.

Most people would rather not use esd, especially when you dont need to 
use any userspace deamon to do the job.


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

* Re: 2.6 sound drivers?
  2003-07-17 11:19           ` Ookhoi
  2003-07-17 11:31             ` Ed Sweetman
@ 2003-07-17 11:32             ` Takashi Iwai
  1 sibling, 0 replies; 37+ messages in thread
From: Takashi Iwai @ 2003-07-17 11:32 UTC (permalink / raw)
  To: ookhoi; +Cc: Linux-Kernel, eugene.teo

At Thu, 17 Jul 2003 13:19:58 +0200,
Ookhoi wrote:
> 
> Takashi Iwai wrote (ao):
> > At Thu, 17 Jul 2003 16:57:04 +0800,
> > Eugene Teo wrote:
> > > One thing I noticed abt this ALSA driver is that if I am playing
> > > say, xmms at the moment, any additional sound output will be delayed
> > > until I stop xmms. Is there any workaround? 
> > > 
> > > Using Intel(r) AC'97 Audio Controller - Sigmatel 9723 Codec
> > 
> > the intel chip supports only one stream for playback, so the
> > succeeding open is blocked since ALSA opens the device in the blocking
> > mode as default.  and it's so for OSS-emulation, too.
> > 
> > for the oss-emulation, you can change this behavior via the module
> > option nonblock_open of snd-pcm-oss module.  please check
> > Documentation/sound/alsa/OSS-Emulation.txt.
> 
> Wouldn't esd (the enlightment sound daemon) take care of this in
> userspace? I can have sound out of xmms, firebird, mpg321 and mplayer at
> the same time with esd.

of course, it does.
not only esd but arts can.

also, ALSA provides dmix plugin, which does the similar mixing but
without server process in very low latency.  unfortunately, using dmix
plugin for OSS apps is tricky.


Takashi

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

* Re: 2.6 sound drivers?
  2003-07-17 11:31             ` Ed Sweetman
@ 2003-07-17 12:10               ` Alan Cox
  2003-07-17 13:11                 ` Ookhoi
  0 siblings, 1 reply; 37+ messages in thread
From: Alan Cox @ 2003-07-17 12:10 UTC (permalink / raw)
  To: Ed Sweetman; +Cc: ookhoi, Takashi Iwai, Linux Kernel Mailing List, eugene.teo

On Iau, 2003-07-17 at 12:31, Ed Sweetman wrote:
> > Wouldn't esd (the enlightment sound daemon) take care of this in
> > userspace? I can have sound out of xmms, firebird, mpg321 and mplayer at
> > the same time with esd.
> 
> Most people would rather not use esd, especially when you dont need to 
> use any userspace deamon to do the job.

There are lots of reasons for not using esd (its sucky frequency code
for example) but you do need a userspace daemon because the alsa kernel
side mixing stuff doesn't handle network connections - and nor would you
want it to.

X is a networked environment, Gnome is a networked desktop, therefore
you need networked audio


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

* Re: 2.6 sound drivers?
  2003-07-17 12:10               ` Alan Cox
@ 2003-07-17 13:11                 ` Ookhoi
  0 siblings, 0 replies; 37+ messages in thread
From: Ookhoi @ 2003-07-17 13:11 UTC (permalink / raw)
  To: Alan Cox
  Cc: Ed Sweetman, ookhoi, Takashi Iwai, Linux Kernel Mailing List, eugene.teo

Alan Cox wrote (ao):
> On Iau, 2003-07-17 at 12:31, Ed Sweetman wrote:
> > > Wouldn't esd (the enlightment sound daemon) take care of this in
> > > userspace? I can have sound out of xmms, firebird, mpg321 and
> > > mplayer at the same time with esd.
> > 
> > Most people would rather not use esd, especially when you dont need
> > to use any userspace deamon to do the job.
> 
> There are lots of reasons for not using esd (its sucky frequency code
> for example)

I feel enlightened ;-)

> but you do need a userspace daemon because the alsa kernel side mixing
> stuff doesn't handle network connections - and nor would you want it
> to.
>
> X is a networked environment, Gnome is a networked desktop, therefore
> you need networked audio

What would be a better choice than esd?

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

* Re: 2.6 sound drivers?
  2003-07-17  2:18       ` Norberto BENSA
@ 2003-07-17 13:13         ` Ian Hastie
  2003-07-17 13:25           ` Takashi Iwai
  2003-07-17 13:19         ` Terje Kvernes
  1 sibling, 1 reply; 37+ messages in thread
From: Ian Hastie @ 2003-07-17 13:13 UTC (permalink / raw)
  To: linux-kernel

On Thursday 17 Jul 2003 03:18, Norberto BENSA wrote:
> Jeff Garzik wrote:
> > Max Valdez wrote:
> > > I have a SBlive too, emu10k1 works pretty well for me, what should I do
> > > for going to ALSA ??
> >
> > ALSA supports emu10k1.
>
> How well? Last time I've checked ALSA, it didn't support bass and treble,
> that's why I'm using OSS (emu10k1)

ALSA's support seems usable, but still doesn't allow you to programme the DSP 
with your own code.  OSS uses this to enable such things as bass and treble 
controls, as well as a selection of audio effects with code provided.  Anyone 
know if ALSA will allow this kind of thing in the future?

-- 
Ian.


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

* Re: 2.6 sound drivers?
  2003-07-17  2:18       ` Norberto BENSA
  2003-07-17 13:13         ` Ian Hastie
@ 2003-07-17 13:19         ` Terje Kvernes
  2003-07-17 16:08           ` Norberto BENSA
  1 sibling, 1 reply; 37+ messages in thread
From: Terje Kvernes @ 2003-07-17 13:19 UTC (permalink / raw)
  To: nbensa; +Cc: Jeff Garzik, Max Valdez, kernel

Norberto BENSA <nbensa@gmx.net> writes:

> Jeff Garzik wrote:
>
> > ALSA supports emu10k1.
> 
> How well? 

  very well.

> Last time I've checked ALSA, it didn't support bass and treble,
> that's why I'm using OSS (emu10k1)

  I have treble and base support on my emu10k1 via ALSA.

-- 
Terje

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

* Re: 2.6 sound drivers?
  2003-07-17 13:13         ` Ian Hastie
@ 2003-07-17 13:25           ` Takashi Iwai
  0 siblings, 0 replies; 37+ messages in thread
From: Takashi Iwai @ 2003-07-17 13:25 UTC (permalink / raw)
  To: Ian Hastie; +Cc: linux-kernel

At Thu, 17 Jul 2003 14:13:43 +0100,
Ian Hastie wrote:
> 
> On Thursday 17 Jul 2003 03:18, Norberto BENSA wrote:
> > Jeff Garzik wrote:
> > > Max Valdez wrote:
> > > > I have a SBlive too, emu10k1 works pretty well for me, what should I do
> > > > for going to ALSA ??
> > >
> > > ALSA supports emu10k1.
> >
> > How well? Last time I've checked ALSA, it didn't support bass and treble,
> > that's why I'm using OSS (emu10k1)
> 
> ALSA's support seems usable, but still doesn't allow you to programme the DSP 
> with your own code.  OSS uses this to enable such things as bass and treble 
> controls, as well as a selection of audio effects with code provided.  Anyone 
> know if ALSA will allow this kind of thing in the future?

it's in progress:
	http://ld10k1.sf.net

(he has tested only on audigy, though.)

-- 
Takashi Iwai <tiwai@suse.de>		SuSE Linux AG - www.suse.de
ALSA Developer				ALSA Project - www.alsa-project.org

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

* Re: 2.6 sound drivers?
  2003-07-17 13:19         ` Terje Kvernes
@ 2003-07-17 16:08           ` Norberto BENSA
  2003-07-17 11:22             ` Max Valdez
                               ` (2 more replies)
  0 siblings, 3 replies; 37+ messages in thread
From: Norberto BENSA @ 2003-07-17 16:08 UTC (permalink / raw)
  To: Terje Kvernes; +Cc: Jeff Garzik, Max Valdez, kernel

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 852 bytes --]

Terje Kvernes wrote:
> Norberto BENSA <nbensa@gmx.net> writes:
> > Last time I've checked ALSA, it didn't support bass and treble,
> > that's why I'm using OSS (emu10k1)
>
>   I have treble and base support on my emu10k1 via ALSA.

How could this be true if:

Ian Hastie wrote:
> ALSA's support seems usable, but still doesn't allow you to programme the
> DSP with your own code.  OSS uses this to enable such things as bass and
> treble controls, as well as a selection of audio effects with code
> provided.  Anyone know if ALSA will allow this kind of thing in the future?

???

Anyone (Terje, Ed) care to say HOW did you enabled treble and bass in emu10k1 
(ALSA) or you will continuously say "it works for me" without saying anything 
useful?

Many thanks in advance,
Norberto
-- 
$ man women
No manual entry for women


[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-17 16:08           ` Norberto BENSA
  2003-07-17 11:22             ` Max Valdez
@ 2003-07-17 16:54             ` Takashi Iwai
  2003-07-17 18:43               ` Norberto BENSA
  2003-07-17 19:44               ` Ian Hastie
  2003-07-17 18:46             ` dacin
  2 siblings, 2 replies; 37+ messages in thread
From: Takashi Iwai @ 2003-07-17 16:54 UTC (permalink / raw)
  To: nbensa; +Cc: Jeff Garzik, Max Valdez, kernel

At Thu, 17 Jul 2003 13:08:51 -0300,
Norberto BENSA wrote:
> 
> Terje Kvernes wrote:
> > Norberto BENSA <nbensa@gmx.net> writes:
> > > Last time I've checked ALSA, it didn't support bass and treble,
> > > that's why I'm using OSS (emu10k1)
> >
> >   I have treble and base support on my emu10k1 via ALSA.
> 
> How could this be true if:
> 
> Ian Hastie wrote:
> > ALSA's support seems usable, but still doesn't allow you to programme the
> > DSP with your own code.  OSS uses this to enable such things as bass and
> > treble controls, as well as a selection of audio effects with code
> > provided.  Anyone know if ALSA will allow this kind of thing in the future?
> 
> ???

the treble/bass code is implemented statically.
(so it is also on OSS emu10k1 as default, btw.)

note that there is an additional switch to activate bass/treble.
as default, this is set off.  turn it on via alsamixer to get
effects.


> Anyone (Terje, Ed) care to say HOW did you enabled treble and bass in emu10k1 
> (ALSA) or you will continuously say "it works for me" without saying anything 
> useful?

hey, they told you right :)


Takashi

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

* Re: 2.6 sound drivers?
  2003-07-17 16:54             ` Takashi Iwai
@ 2003-07-17 18:43               ` Norberto BENSA
  2003-07-17 19:44               ` Ian Hastie
  1 sibling, 0 replies; 37+ messages in thread
From: Norberto BENSA @ 2003-07-17 18:43 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1058 bytes --]

Takashi Iwai wrote:
> the treble/bass code is implemented statically.
> (so it is also on OSS emu10k1 as default, btw.)
>
> note that there is an additional switch to activate bass/treble.
> as default, this is set off.  turn it on via alsamixer to get
> effects.

Ah, OK. Thank you. I'll take a look.


> > Anyone (Terje, Ed) care to say HOW did you enabled treble and bass in
> > emu10k1 (ALSA) or you will continuously say "it works for me" without
> > saying anything useful?
>
> hey, they told you right :)

Sorry. I didn't meant to be harsh but I haven't seen anything but "ALSA 
supports emu10k1" or "emu10k1 is very well supported under ALSA." I just 
wanted to know how to get tone control under ALSA and no one seems to share 
that information. Or perhaps I miss a couple of e-mails from this list? I 
can't find this one for example:

	Message-Id: <200307170107.03793.nbensa@gmx.net>

Seems like LKML swallowed that one. If that's the case, and I missed someone's 
reply, please forgive me.

Best regards,
Norberto


[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.6 sound drivers?
  2003-07-17 16:08           ` Norberto BENSA
  2003-07-17 11:22             ` Max Valdez
  2003-07-17 16:54             ` Takashi Iwai
@ 2003-07-17 18:46             ` dacin
  2003-07-17 19:12               ` MONOLITHIC sound (was Re: 2.6 sound drivers?) Douglas J Hunley
  2 siblings, 1 reply; 37+ messages in thread
From: dacin @ 2003-07-17 18:46 UTC (permalink / raw)
  To: nbensa; +Cc: linux-kernel

Norberto BENSA wrote:

>Terje Kvernes wrote:
>  
>
>>Norberto BENSA <nbensa@gmx.net> writes:
>>    
>>
>>>Last time I've checked ALSA, it didn't support bass and treble,
>>>that's why I'm using OSS (emu10k1)
>>>      
>>>
>>  I have treble and base support on my emu10k1 via ALSA.
>>    
>>
>
>How could this be true if:
>
>Ian Hastie wrote:
>  
>
>>ALSA's support seems usable, but still doesn't allow you to programme the
>>DSP with your own code.  OSS uses this to enable such things as bass and
>>treble controls, as well as a selection of audio effects with code
>>provided.  Anyone know if ALSA will allow this kind of thing in the future?
>>    
>>
>
>???
>
>Anyone (Terje, Ed) care to say HOW did you enabled treble and bass in emu10k1 
>(ALSA) or you will continuously say "it works for me" without saying anything 
>useful?
>

Ummm read this....
http://www.alsa-project.org/~valentyn/other-formats/Alsa-sound-mini-HOWTO.html
http://alsa.opensrc.org/index.php?page=emu10k1
http://alsa-project.org/alsa-doc/doc-php/template.php3?company=Creative+Labs&card=Soundblaster+Live&chip=EMU10K1&module=emu10k1


Dacodecz
=================================================================================================
3 finger salute for void



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

* MONOLITHIC sound (was Re: 2.6 sound drivers?)
  2003-07-17 18:46             ` dacin
@ 2003-07-17 19:12               ` Douglas J Hunley
  2003-07-17 20:09                 ` dacin
  0 siblings, 1 reply; 37+ messages in thread
From: Douglas J Hunley @ 2003-07-17 19:12 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dacin shocked and awed us all by speaking:
> Ummm read this....
> http://www.alsa-project.org/~valentyn/other-formats/Alsa-sound-mini-HOWTO.h
>tml http://alsa.opensrc.org/index.php?page=emu10k1
> http://alsa-project.org/alsa-doc/doc-php/template.php3?company=Creative+Lab
>s&card=Soundblaster+Live&chip=EMU10K1&module=emu10k1

I too am trying the 2.6 kernel per Linus' desires and also have an SBLive! . 
However, I absolutely *destest* kernel modules. To my knowledge, ALSA has 
been exclusively module-oriented. I'm going to assume that in 2.6 you can 
build ALSA into a monolithic kernel. Is this assumtion valid? If so, will the 
referenced documents above apply to getting my sound working? Or are there 
other documents/resources that I need to be reading to get non-modular ALSA 
working? Thanks.
- -- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
http://doug.hunley.homeip.net && http://www.linux-sxs.org

I stayed up all night playing poker with tarot cards.  I got a full house and 
four people died.  -- Steven Wright
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/FvU42MO5UukaubkRArQXAJ9OC5GhYssg1MIU1TItcIn1vOeRBgCglQHT
Th+zSwe/6P8vTLhOcVyyfgY=
=hhFC
-----END PGP SIGNATURE-----


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

* Re: 2.6 sound drivers?
  2003-07-17 16:54             ` Takashi Iwai
  2003-07-17 18:43               ` Norberto BENSA
@ 2003-07-17 19:44               ` Ian Hastie
  2003-07-18  9:45                 ` Takashi Iwai
  1 sibling, 1 reply; 37+ messages in thread
From: Ian Hastie @ 2003-07-17 19:44 UTC (permalink / raw)
  To: linux-kernel

On Thursday 17 Jul 2003 17:54, Takashi Iwai wrote:
> At Thu, 17 Jul 2003 13:08:51 -0300,
>
> Norberto BENSA wrote:
> > Terje Kvernes wrote:
> > > Norberto BENSA <nbensa@gmx.net> writes:
> > > > Last time I've checked ALSA, it didn't support bass and treble,
> > > > that's why I'm using OSS (emu10k1)
> > >
> > >   I have treble and base support on my emu10k1 via ALSA.
> >
> > How could this be true if:
> >
> > Ian Hastie wrote:
> > > ALSA's support seems usable, but still doesn't allow you to programme
> > > the DSP with your own code.  OSS uses this to enable such things as
> > > bass and treble controls, as well as a selection of audio effects with
> > > code provided.  Anyone know if ALSA will allow this kind of thing in
> > > the future?
> >
> > ???
>
> the treble/bass code is implemented statically.
> (so it is also on OSS emu10k1 as default, btw.)

Are you sure about this?  My recollection from using the SF code was that Bass 
and Treble weren't there until you used the setup script that came with the 
package.  What that does is to load a piece of DSP code which provides extra 
functions.  It also has to set up the appropriate routings to enable the 
extra controls.

The insertion of arbitrary code and the easy setting up of routings are the 
two main things missing at the moment from the ALSA emu10k1 driver.  That's 
how it seems to me anyway.

> note that there is an additional switch to activate bass/treble.
> as default, this is set off.  turn it on via alsamixer to get
> effects.

OK, I was mistaken about this, there is a bass and treble control in 
alsamixer.  They even appear when it is run without a switch of any kind.  I 
can't see any mention of such a switch in the manual page either.  It does 
work, but you have to unmute the tone control switch to enable it.

-- 
Ian.


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

* Re: MONOLITHIC sound (was Re: 2.6 sound drivers?)
  2003-07-17 19:12               ` MONOLITHIC sound (was Re: 2.6 sound drivers?) Douglas J Hunley
@ 2003-07-17 20:09                 ` dacin
  0 siblings, 0 replies; 37+ messages in thread
From: dacin @ 2003-07-17 20:09 UTC (permalink / raw)
  To: Douglas J Hunley, linux-kernel

Douglas J Hunley wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>dacin shocked and awed us all by speaking:
>  
>
>>Ummm read this....
>>http://www.alsa-project.org/~valentyn/other-formats/Alsa-sound-mini-HOWTO.h
>>tml http://alsa.opensrc.org/index.php?page=emu10k1
>>http://alsa-project.org/alsa-doc/doc-php/template.php3?company=Creative+Lab
>>s&card=Soundblaster+Live&chip=EMU10K1&module=emu10k1
>>    
>>
>
>I too am trying the 2.6 kernel per Linus' desires and also have an SBLive! . 
>However, I absolutely *destest* kernel modules. To my knowledge, ALSA has 
>been exclusively module-oriented. I'm going to assume that in 2.6 you can 
>build ALSA into a monolithic kernel. Is this assumtion valid? If so, will the 
>referenced documents above apply to getting my sound working? Or are there 
>other documents/resources that I need to be reading to get non-modular ALSA 
>working? Thanks.
>- -- 
>
 lspci -v | grep audio
 02:0e.0 Multimedia audio controller: Creative Labs SB Live!   EMU10k1 
 (rev 08)

 Me checked ta alsa in 2.6.0-test1 as modules as well as inbuilt, it 
workz but nt rockz. Sound in mid
 freq is distorted, and yep all ta tone *bass/treble* do work.
 Ummm I don't think u need to read other documents *provided u did went 
thru it thoroughly*.
 
Dacodecz
=================================================================================
Crawling on ta shadow of darknezz.



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

* Re: 2.6 sound drivers?
  2003-07-17 19:44               ` Ian Hastie
@ 2003-07-18  9:45                 ` Takashi Iwai
  0 siblings, 0 replies; 37+ messages in thread
From: Takashi Iwai @ 2003-07-18  9:45 UTC (permalink / raw)
  To: Ian Hastie; +Cc: linux-kernel

At Thu, 17 Jul 2003 20:44:02 +0100,
Ian Hastie wrote:
> 
> On Thursday 17 Jul 2003 17:54, Takashi Iwai wrote:
> > At Thu, 17 Jul 2003 13:08:51 -0300,
> >
> > Norberto BENSA wrote:
> > > Terje Kvernes wrote:
> > > > Norberto BENSA <nbensa@gmx.net> writes:
> > > > > Last time I've checked ALSA, it didn't support bass and treble,
> > > > > that's why I'm using OSS (emu10k1)
> > > >
> > > >   I have treble and base support on my emu10k1 via ALSA.
> > >
> > > How could this be true if:
> > >
> > > Ian Hastie wrote:
> > > > ALSA's support seems usable, but still doesn't allow you to programme
> > > > the DSP with your own code.  OSS uses this to enable such things as
> > > > bass and treble controls, as well as a selection of audio effects with
> > > > code provided.  Anyone know if ALSA will allow this kind of thing in
> > > > the future?
> > >
> > > ???
> >
> > the treble/bass code is implemented statically.
> > (so it is also on OSS emu10k1 as default, btw.)
> 
> Are you sure about this?

i don't know about the very latest one, but at least until 2.4.20
there are static bass/treble tables in emu10k1/mixer.c.
they worked even without running emu-script.

> My recollection from using the SF code was that Bass 
> and Treble weren't there until you used the setup script that came with the 
> package.  What that does is to load a piece of DSP code which provides extra 
> functions.  It also has to set up the appropriate routings to enable the 
> extra controls.

yes, that makes sense.

> The insertion of arbitrary code and the easy setting up of routings are the 
> two main things missing at the moment from the ALSA emu10k1 driver.  That's 
> how it seems to me anyway.
 
yes.  that has been a big TODO.


Takashi

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

end of thread, other threads:[~2003-07-18  9:30 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 22:58 2.6 sound drivers? Robert L. Harris
2003-07-16 23:10 ` Rudo Thomas
2003-07-16 23:29   ` Robert L. Harris
2003-07-16 23:46     ` Rudo Thomas
2003-07-16 23:10 ` Mike Fedyk
2003-07-16 23:30   ` Robert L. Harris
2003-07-16 23:39     ` Mike Fedyk
2003-07-16 23:46     ` David Ford
2003-07-17  0:08       ` Robert L. Harris
2003-07-17  1:07         ` Wes Janzen
2003-07-17  1:42         ` James H. Cloos Jr.
2003-07-17  7:26     ` Martin Schlemmer
2003-07-17  8:57       ` Eugene Teo
2003-07-17  9:22         ` Takashi Iwai
2003-07-17 11:19           ` Ookhoi
2003-07-17 11:31             ` Ed Sweetman
2003-07-17 12:10               ` Alan Cox
2003-07-17 13:11                 ` Ookhoi
2003-07-17 11:32             ` Takashi Iwai
2003-07-16 23:37 ` Jeff Garzik
2003-07-16 19:25   ` Max Valdez
2003-07-17  1:05     ` Jeff Garzik
2003-07-17  2:18       ` Norberto BENSA
2003-07-17 13:13         ` Ian Hastie
2003-07-17 13:25           ` Takashi Iwai
2003-07-17 13:19         ` Terje Kvernes
2003-07-17 16:08           ` Norberto BENSA
2003-07-17 11:22             ` Max Valdez
2003-07-17 16:54             ` Takashi Iwai
2003-07-17 18:43               ` Norberto BENSA
2003-07-17 19:44               ` Ian Hastie
2003-07-18  9:45                 ` Takashi Iwai
2003-07-17 18:46             ` dacin
2003-07-17 19:12               ` MONOLITHIC sound (was Re: 2.6 sound drivers?) Douglas J Hunley
2003-07-17 20:09                 ` dacin
2003-07-16 23:39   ` 2.6 sound drivers? Robert L. Harris
2003-07-16 23:57     ` Matt Reppert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).