From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can't get ALSA OSS Emulation to work
Date: Tue, 16 Aug 2005 15:55:58 -0700 [thread overview]
Message-ID: <5bdc1c8b05081615552a32f1f6@mail.gmail.com> (raw)
In-Reply-To: <20050817093610.CBD9.NICK@rout.co.nz>
Nick,
Interesting. I have something like 8 Gentoo machines I run Alsa on.
All of them use OSS emulation at least partially. I do not remember
any messages or guidance to do what you're say, but indeed, it makes
sense, sort of... Unfortunately, it seems that emerge didn't tell me
to do this or, if it did, then the messages were lost in an endless
stream of compile text while doing an emerge world.
I suppose I really don't like this way of doing it since it now
makes Alsa set up for Gentoo different from what is specified on the
Alsa pages. It also seems that the /etc/conf.d/alsasound page may not
give me as much control in my systems where I'm using multiple sound
cards. I'll have to review that more carefully.
Humm... Are there any new online instructions that specify all these changes?
Thanks,
Mark
On 8/16/05, Nick Rout <nick@rout.co.nz> wrote:
> The setup on gentoo changed sometime around alsa-lib 1.09.
>
> Leave ALL of the oss stuff out of the module config files (running
> alsaconfig will set it up correctly)
>
> Then set ENABLE_OSS_EMUL="yes" in /etc/conf.d/alsasound
>
> my /etc/modules.d/alsa now reads:
>
> nick@sf /etc/conf.d $ cat /etc/modules.d/alsa
> # --- BEGIN: Generated by ALSACONF, do not edit. ---
> # --- ALSACONF version 1.0.9a ---
> options snd device_mode=0666
> alias snd-card-0 snd-via82xx
> alias sound-slot-0 snd-via82xx
> # --- END: Generated by ALSACONF, do not edit. ---
>
> /etc/conf.d/alsasound now reads:
>
> # ENABLE_OSS_EMUL:
> # Do you want to enable in-kernel oss emulation?
> # no - Do not load oss emul drivers
> # yes - Load oss emul drivers if they're found
>
> ENABLE_OSS_EMUL="yes"
>
> # RESTORE_ON_START:
> # Do you want to restore your mixer settings? If not, your cards will be
> # muted.
> # no - Do not restore state
> # yes - Restore state
>
> RESTORE_ON_START="yes"
>
> # SAVE_ON_STOP:
> # Do you want to save changes made to your mixer volumes when alsasound
> # stops?
> # no - Do not save state
> # yes - Save state
>
> SAVE_ON_STOP="yes"
>
>
>
> On Tue, 16 Aug 2005 11:31:30 -0300
> Raphael Melo de Oliveira Bastos Sales wrote:
>
> > Hi everyone,
> >
> > After some days googling for it, I give up now and come here for
> > help. I have Alsa installed in kernel, and it works fine for programs
> > that are compatible with. But programs that need OSS don't get any
> > sound. I have the following lines in the alsa config files:
> >
> > /etc/modules.d/alsa:
> > alias /dev/mixer snd-mixer-oss
> > alias /dev/dsp snd-pcm-oss
> > alias /dev/midi snd-seq-oss
> >
> > alias snd-card-0 snd-via82xx
> > alias sound-slot-0 snd-via82xx
> >
> > When I run the alsasound init script it says:
> > * Loading ALSA modules ...
> > * Loading: snd-card-0 ... [ ok ]
> > * Loading: snd-seq-oss ... [ ok ]
> > * Loading: snd-pcm-oss ... [ ok ]
> > * Restoring Mixer Levels ... [ ok ]
> >
> > # cat /proc/modules | grep oss
> > snd_pcm_oss 52576 0 - Live 0xe258b000
> > snd_mixer_oss 19648 1 snd_pcm_oss, Live 0xe1111000
> > snd_seq_oss 37568 0 - Live 0xe2512000
> > snd_seq_midi_event 7168 1 snd_seq_oss, Live 0xe0da9000
> > snd_seq 55056 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event, Live 0xe086d000
> > snd_pcm 93448 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec, Live 0xe0db0000
> > snd_seq_device 8972 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi,
> > Live 0xe084a000
> > snd 57412 13 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device,
> > Live 0xe0d79000
> >
> > So it seems that the modules are loaded correctly. But every program
> > that tries to pipe to /dev/dsp gets broken pipe (i.e. Quake and Enemy
> > Territory).
> >
> > If anybody can tell me what could be wrong, please let me know. If
> > there is a config file that is important and that I didn't send it
> > here, tell me and I'll send them.
> >
> > Thanks for the attention,
> >
> > Raphael
> >
> > --
> > gentoo-user@gentoo.org mailing list
>
> --
> Nick Rout <nick@rout.co.nz>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-16 23:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 14:31 [gentoo-user] Can't get ALSA OSS Emulation to work Raphael Melo de Oliveira Bastos Sales
2005-08-16 14:50 ` Mark Knecht
2005-08-16 21:39 ` Nick Rout
2005-08-16 22:55 ` Mark Knecht [this message]
2005-08-16 23:25 ` Nick Rout
2005-08-17 0:04 ` Mark Knecht
2005-08-16 23:09 ` Raphael Melo de Oliveira Bastos Sales
2005-08-16 23:29 ` Nick Rout
2005-08-16 23:34 ` Raphael Melo de Oliveira Bastos Sales
2005-08-17 0:08 ` Nick Rout
2005-08-17 1:16 ` Raphael Melo de Oliveira Bastos Sales
2005-08-17 19:48 ` Chris Cox
2005-08-18 0:47 ` Raphael Melo de Oliveira Bastos Sales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bdc1c8b05081615552a32f1f6@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox