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/ and add the following line to the oss file
 in this directory. Something like this:
 echo q3demo.x86 0 0 direct  /proc/asound/card0/pcm0p/oss
 
 I was putting just q3demo, which is actually just a script to call the
 game, not the program that would use the sound. And that's why it
 didn't work. Thanks for the help. I'll try to have more attention to
 this type of details in the future.
 
 Thanks again Nick and Mark ;)
 

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

Chris

-- 
gentoo-user@gentoo.org mailing list



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 Territory.
 
 Chris
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



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

Hi Raphael,
   Change the items in /etc/modules.d/alsa as proper for your via
sound chip. Run modules-update after making changes. You seem to be
missing a number of the alias statements. The following file works for
a 2 sound card system.

Hope this helps,
Mark

# Alsa 0.9.X kernel modules' configuration file.
# $Header: 
/var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-intel8x0
options snd-intel8x0 index=0

alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

##  OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=2

-- 
gentoo-user@gentoo.org mailing list



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/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 0xe000
 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 0xe0db
 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 [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



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, 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 [EMAIL PROTECTED] 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:
 
 [EMAIL PROTECTED] /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 0xe000
  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 0xe0db
  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 [EMAIL PROTECTED]
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



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/asound/cards
0 [V8237  ]: VIA8237 - VIA 8237
 VIA 8237 with AD1888 at 0xe000, irq 22

# cat /proc/asound/devices
 17: [0- 1]: digital audio playback
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
  1:   : sequencer
 33:   : timer

# cat /proc/asound/pcm
00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1

 # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Aug 12 2005 for kernel 2.6.12-gentoo-r6.

# cat /proc/asound/oss/devices
  1:   : sequencer
  8:   : sequencer
  0: [0- 0]: mixer
  3: [0- 3]: digital audio
 12: [0-12]: digital audio

# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.9b emulation code)
Kernel: Linux familia2 2.6.12-gentoo-r6 #1 Thu Aug 11 06:47:46 BRT 2005 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
VIA 8237 with AD1888 at 0xe000, irq 22

Audio devices:
0: VIA 8237 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: Analog Devices AD1888

While I'm at it, how does the -D option of alsamixer works? When I put
alsamixer -D /dev/mixer it doesn't work either. I'm I doing it wrong?

Sorry for sending such a big message, but this problem is really annoying...

Thanks again for the attention,

Raphael

-- 
gentoo-user@gentoo.org mailing list



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

I didn't find any, i figured it out for myself.

I posted to this list, then found the solution then posted a SOLVED
message almost staright away, a week or 2 back.

 
 Thanks,
 Mark
 
 On 8/16/05, Nick Rout [EMAIL PROTECTED] 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:
  
  [EMAIL PROTECTED] /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 0xe000
   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 0xe0db
   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 [EMAIL PROTECTED]
  
  --
  gentoo-user@gentoo.org mailing list
  
 
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
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
group. (and re-logged in if you add them as a result of this message, ie
adding a user to a group does not take effect until they log in again.
Unfortunately this can mean logging oput of X and back in again)

You can check if user is in the audio group with:

id user


On Tue, 16 Aug 2005 20:09:15 -0300
Raphael Melo de Oliveira Bastos Sales wrote:

 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/asound/cards
 0 [V8237  ]: VIA8237 - VIA 8237
  VIA 8237 with AD1888 at 0xe000, irq 22
 
 # cat /proc/asound/devices
  17: [0- 1]: digital audio playback
  25: [0- 1]: digital audio capture
  16: [0- 0]: digital audio playback
  24: [0- 0]: digital audio capture
   0: [0- 0]: ctl
   1:   : sequencer
  33:   : timer
 
 # cat /proc/asound/pcm
 00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
 00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
 
  # cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.9b.
 Compiled on Aug 12 2005 for kernel 2.6.12-gentoo-r6.
 
 # cat /proc/asound/oss/devices
   1:   : sequencer
   8:   : sequencer
   0: [0- 0]: mixer
   3: [0- 3]: digital audio
  12: [0-12]: digital audio
 
 # cat /proc/asound/oss/sndstat
 Sound Driver:3.8.1a-980706 (ALSA v1.0.9b emulation code)
 Kernel: Linux familia2 2.6.12-gentoo-r6 #1 Thu Aug 11 06:47:46 BRT 2005 i686
 Config options: 0
 
 Installed drivers:
 Type 10: ALSA emulation
 
 Card config:
 VIA 8237 with AD1888 at 0xe000, irq 22
 
 Audio devices:
 0: VIA 8237 (DUPLEX)
 
 Synth devices: NOT ENABLED IN CONFIG
 
 Midi devices: NOT ENABLED IN CONFIG
 
 Timers:
 7: system timer
 
 Mixers:
 0: Analog Devices AD1888
 
 While I'm at it, how does the -D option of alsamixer works? When I put
 alsamixer -D /dev/mixer it doesn't work either. I'm I doing it wrong?
 
 Sorry for sending such a big message, but this problem is really annoying...
 
 Thanks again for the attention,
 
 Raphael
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



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 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 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?
 
 I didn't find any, i figured it out for myself.
 
 I posted to this list, then found the solution then posted a SOLVED
 message almost staright away, a week or 2 back.
 

Nick,
   Sorry for not seeing the post or the work you were doing in this
area. I haven't been reading this list in depth lately.

   As I say, I think the capabilities provided here by the Gentoo devs
look good, but I get the feeling there maybe wasn't so much thought
given to multiple sound card systems. For instance, if I have an
expensive sound card in a system which also has an on-board sound
chip, then maybe I want Alsa support for both devices, but OSS support
only for the second card. Game audio, etc., goes there while recording
studio audio goes through the high-end card using Jack. This allows me
to run Jack through the first card while I run OSS through the second.
The first card goes to external D/A  A/D converters. The OSS audio
goes out of the machine as analog and into an external A/D to get
resynced with Jack. How do I do this? (I.e. - I can do it easily with
the sort of configuration I presented earlier.)

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



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 misconfigured something.
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



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 q3demo.x86 0 0 direct  /proc/asound/card0/pcm0p/oss

I was putting just q3demo, which is actually just a script to call the
game, not the program that would use the sound. And that's why it
didn't work. Thanks for the help. I'll try to have more attention to
this type of details in the future.

Thanks again Nick and Mark ;)

-- 
gentoo-user@gentoo.org mailing list