LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Alsa OSS emulation problem (https://www.linuxquestions.org/questions/linux-software-2/alsa-oss-emulation-problem-110172/)

linksocc 10-29-2003 09:45 PM

Alsa OSS emulation problem
 
I'm trying alsa for the first time and I'm having the first problem. When I try to use the oss emulation there is not sound, there is not even the device /dev/mixer and /dev/dsp.
Here is my Modules.conf
Code:

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.con$

# 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
## alias snd-card-1 snd-ens1371
##  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=1

### modules-update: end processing /etc/modules.d/alsa

BTW I'm using gentoo linux and I have installed alsa-driver, alsa-utils, and alsa-oss acording the the gentoo alsa install guide http://www.gentoo.org/doc/en/alsa-guide.xml

exodist 10-30-2003 12:33 AM

hmm, I know I should use modules.conf... but I don't :-D I instead set my alsa stuff in rc.local, here is a copy (card specific)
/sbin/modprobe snd-emu10k1
/sbin/modprobe snd-via82xx
/sbin/modprobe snd-mixer-oss
/sbin/modprobe snd-pcm-oss
/usr/sbin/alsactl restore

this loads cards I use, then oss, then restores volumes (muted by default)

after loaded first time type: alsamixer
adjust volumes
type: alsactl store
now every reboot it should all be set.

linksocc 10-30-2003 08:30 AM

Thanks for the answer but I solve it. I just needed to put oss in my USE flags for portage to install oss emulation. :o


All times are GMT -5. The time now is 10:05 AM.