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

Hi,

I have a slight problem getting oss emulation to work on gentoo linux with two 
soundcards. This is what I have in my modules.conf:

# ALSA portion
alias char-major-116 snd
options snd snd_major=116 snd_cards_limit=2
# 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-cs46xx
alias snd-card-1 snd-cmipci
##  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-3 snd-pcm-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

The alsa related devices are created without a problem:

ls /dev/snd/
controlC0  midiC0D0  pcmC0D0c  pcmC1D0c  pcmC1D1p  pcmC1D2p
controlC1  midiC1D0  pcmC0D0p  pcmC1D0p  pcmC1D2c  timer

What troubles me is the oss part:
ls /dev/sound/
dmmidi  midi00  unknown

I'm not sure wether there is a problem with my devfs configuration. I have 

# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP          snd          MODLOAD ACTION snd
LOOKUP          dsp          MODLOAD
LOOKUP          mixer        MODLOAD
LOOKUP          midi         MODLOAD
REGISTER        sound/.*     PERMISSIONS root.audio 660
REGISTER        snd/.*       PERMISSIONS root.audio 660

this in my /etc/devfsd.conf.

Shouldn't the /dev/sound/* devices be created when the modules are loaded? 

lsmod provides this after alsasound is started:

snd-cmipci             19500   0
snd-opl3-lib            6820   0  [snd-cmipci]
snd-hwdep               4384   0  [snd-opl3-lib]
snd-mpu401-uart         3744   0  [snd-cmipci]
snd-cs46xx             72424   0
snd-ac97-codec         28740   0  [snd-cs46xx]
snd-pcm                60032   0  [snd-cmipci snd-cs46xx]
snd-timer              12584   0  [snd-opl3-lib snd-pcm]
snd-rawmidi            15488   0  [snd-mpu401-uart snd-cs46xx]
snd-seq-device          4336   0  [snd-opl3-lib snd-rawmidi]
snd                    31628   0  [snd-cmipci snd-opl3-lib snd-hwdep 
snd-mpu401-uart snd-cs46xx snd-ac97-codec snd-pcm snd-timer snd-rawmidi 
snd-seq-device]

No oss emulation get's loaded. Why? What am I missing? Any ideas?

Thanks a lot,

Richard






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE93RMxWQvEMJfcXlQRAi4JAJ4+an6peYsaP6Aw39Cdkq83oTYKywCffBug
QQg4xPz4RDY123Ft57U9jRU=
=Izcq
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to