2003-07-16 22:45:41

by Robert L. Harris

[permalink] [raw]
Subject: 2.6 sound drivers?



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 = [email protected] http://ipv6.rdlg.net
IPv4 = [email protected] http://www.rdlg.net


Attachments:
(No filename) (717.00 B)
(No filename) (189.00 B)
Download all attachments

2003-07-16 22:55:30

by Rudolf Thomas

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

> [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.

2003-07-16 22:57:47

by Mike Fedyk

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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?

2003-07-16 23:14:43

by Robert L. Harris

[permalink] [raw]
Subject: Re: 2.6 sound drivers?



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

Thus spake Rudo Thomas ([email protected]):

> > [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 [email protected]
> 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 = [email protected] http://ipv6.rdlg.net
IPv4 = [email protected] http://www.rdlg.net


Attachments:
(No filename) (1.06 kB)
(No filename) (189.00 B)
Download all attachments

2003-07-16 23:16:12

by Robert L. Harris

[permalink] [raw]
Subject: Re: 2.6 sound drivers?



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 ([email protected]):

> 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 [email protected]
> 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 = [email protected] http://ipv6.rdlg.net
IPv4 = [email protected] http://www.rdlg.net


Attachments:
(No filename) (1.21 kB)
(No filename) (189.00 B)
Download all attachments

2003-07-16 23:26:46

by Robert L. Harris

[permalink] [raw]
Subject: Re: 2.6 sound drivers?



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 ([email protected]):

> 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 = [email protected] http://ipv6.rdlg.net
IPv4 = [email protected] http://www.rdlg.net


Attachments:
(No filename) (1.16 kB)
(No filename) (189.00 B)
Download all attachments

2003-07-16 23:27:14

by Mike Fedyk

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

> Thus spake Mike Fedyk ([email protected]):
> > 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?

2003-07-16 23:24:24

by Jeff Garzik

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 :)



2003-07-16 23:34:16

by David Ford

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

/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 ([email protected]):
>
>
>
>>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?
>>
>

2003-07-16 23:34:14

by Rudolf Thomas

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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

<[email protected]> 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.

2003-07-16 23:43:38

by Matthew Reppert

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

On Wed, 16 Jul 2003 19:39:56 -0400
"Robert L. Harris" <[email protected]> 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

2003-07-16 23:53:16

by Robert L. Harris

[permalink] [raw]
Subject: Re: 2.6 sound drivers?



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

Thus spake David Ford ([email protected]):

> /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 ([email protected]):
> >
> >
> >
> >>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 = [email protected] http://ipv6.rdlg.net
IPv4 = [email protected] http://www.rdlg.net


Attachments:
(No filename) (1.41 kB)
(No filename) (189.00 B)
Download all attachments

2003-07-17 00:09:53

by Max Valdez

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 [email protected]
> 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


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-07-17 00:50:21

by Jeff Garzik

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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



2003-07-17 00:52:12

by Wes Janzen

[permalink] [raw]
Subject: Re: 2.6 sound drivers?



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.

2003-07-17 01:27:23

by James Cloos

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

>>>>> "Robert" == Robert L Harris <[email protected]> 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

2003-07-17 02:03:44

by Norberto Bensa

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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


Attachments:
(No filename) (296.00 B)
signed data
(No filename) (189.00 B)
signature
Download all attachments

2003-07-17 07:11:48

by Martin Schlemmer

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 <[email protected]> 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


2003-07-17 08:42:14

by Eugene Teo

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 <[email protected]> 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 [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2003-07-17 09:07:54

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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

2003-07-17 11:05:12

by Ookhoi

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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.

2003-07-17 11:16:53

by Ed Sweetman

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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.

2003-07-17 11:18:09

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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

2003-07-17 11:58:02

by Alan

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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

2003-07-17 12:58:54

by Ian Hastie

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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.

2003-07-17 12:56:16

by Ookhoi

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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?

2003-07-17 13:04:30

by Terje Kvernes

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

Norberto BENSA <[email protected]> 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

2003-07-17 13:10:43

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 <[email protected]> SuSE Linux AG - http://www.suse.de
ALSA Developer ALSA Project - http://www.alsa-project.org

2003-07-17 15:57:34

by Norberto Bensa

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

Terje Kvernes wrote:
> Norberto BENSA <[email protected]> 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


Attachments:
(No filename) (825.00 B)
signed data
(No filename) (189.00 B)
signature
Download all attachments

2003-07-17 16:06:45

by Max Valdez

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 <[email protected]> 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


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-07-17 16:42:28

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

At Thu, 17 Jul 2003 13:08:51 -0300,
Norberto BENSA wrote:
>
> Terje Kvernes wrote:
> > Norberto BENSA <[email protected]> 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

2003-07-17 18:40:07

by Norberto Bensa

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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: <[email protected]>

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

Best regards,
Norberto


Attachments:
(No filename) (1.00 kB)
signed data
(No filename) (189.00 B)
signature
Download all attachments

2003-07-17 18:43:12

by dacin

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

Norberto BENSA wrote:

>Terje Kvernes wrote:
>
>
>>Norberto BENSA <[email protected]> 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


2003-07-17 18:58:19

by Doug Hunley

[permalink] [raw]
Subject: MONOLITHIC sound (was Re: 2.6 sound drivers?)

-----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-----

2003-07-17 19:30:19

by Ian Hastie

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 <[email protected]> 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.

2003-07-17 20:04:57

by dacin

[permalink] [raw]
Subject: Re: MONOLITHIC sound (was Re: 2.6 sound drivers?)

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.


2003-07-18 09:30:50

by Takashi Iwai

[permalink] [raw]
Subject: Re: 2.6 sound drivers?

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 <[email protected]> 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