Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-17 Thread Raphael Melo de Oliveira Bastos Sales
Hi Chris Unfortunately, it didn't. And I also have to do it everytime it restarts. I'm thinking about doing a init script to do it for me... > Shouldn't the ebuild when it installs make those changes automaticly? > When I tried out q3demo last year the sound worked fine same with > Enemy Territor

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-17 Thread Chris Cox
On 8/16/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> wrote: > I feel really stupid. It wasn't the permission, but to get both quake > and enemy territory to play , they have to be given direct access to > the sound hardware. To do that, you must go to > /proc/asound/cardX/pcm0p/ an

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Raphael Melo de Oliveira Bastos Sales
I feel really stupid. It wasn't the permission, but to get both quake and enemy territory to play , they have to be given direct access to the sound hardware. To do that, you must go to /proc/asound/cardX/pcm0p/ and add the following line to the oss file in this directory. Something like this: echo

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Nick Rout
possibly, take a look at those files and permissions I suggested. if they are wrong, then indeed it may be udev at fault. On Tue, 16 Aug 2005 20:34:50 -0300 Raphael Melo de Oliveira Bastos Sales wrote: > I just thought of it now. Could this be a udev related bug? I'm using > udev and may be I m

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Mark Knecht
On 8/16/05, Nick Rout <[EMAIL PROTECTED]> wrote: > > On Tue, 16 Aug 2005 15:55:58 -0700 > Mark Knecht wrote: > > > 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

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Raphael Melo de Oliveira Bastos Sales
I just thought of it now. Could this be a udev related bug? I'm using udev and may be I misconfigured something. -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Nick Rout
I can only suggest you look carefully at /dev/dsp - it should i think be a link to /dev/sound/dsp. Then look at the permissions on /dev/sound/dsp - they should be: crw-rw 1 root audio 14, 3 Jan 1 1970 /dev/sound/dsp and the user trying to run the errant program should be in the audio grou

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Nick Rout
On Tue, 16 Aug 2005 15:55:58 -0700 Mark Knecht wrote: > 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... U

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Raphael Melo de Oliveira Bastos Sales
Thanks for the attention. I did both ways and I still get error messages like; Enemy Territory: /dev/dsp: Input/output error Could not mmap /dev/dsp and Quake 3: /dev/dsp: Broken pipe Could not toggle. cat /dev/urandom > /dev/dsp also does nothing Maybe some clues, I don't know: # cat /proc/

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Mark Knecht
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, i

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Nick Rout
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: [EMAIL PROTECTED] /etc/conf.d $ cat /etc/m

Re: [gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Mark Knecht
On 8/16/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> 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

[gentoo-user] Can't get ALSA OSS Emulation to work

2005-08-16 Thread Raphael Melo de Oliveira Bastos Sales
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