Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa and OSS emulation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
arabcian
n00b
n00b


Joined: 04 Oct 2012
Posts: 21

PostPosted: Fri Nov 02, 2012 7:27 pm    Post subject: Alsa and OSS emulation Reply with quote

hello i have problem with alsa emulation on amd64 system

i have alsa oss emulation enabled in the kernel oss modules loaded and working
but it is bind on /dev/dsp1

and many old oss games that i have look for OSS in /dev/dsp

do you know how can i mount oss emulation to /dev/dsp

im using gnome alsa and pulseaudio for sound

my alsa.conf is

# Alsa kernel modules' configuration file.

# ALSA portion
# OSS/Free portion

##
## 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-interwave
## 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
## 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.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.25 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
alias snd-card-1 snd-hda-intel
alias sound-slot-1 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---
Back to top
View user's profile Send private message
ce110ut
Apprentice
Apprentice


Joined: 27 Sep 2002
Posts: 200

PostPosted: Fri Nov 02, 2012 8:24 pm    Post subject: Reply with quote

Hello arabcian,

One way to solve this problem is to use udev to fix this for you. If you're not familiar with udev, http://www.gentoo.org/doc/en/udev-guide.xml will come in very handy.

Another way (not the preferred way) is to make a symlink from /dev/dsp1 to /dev/dsp. It's essentially what you can do with udev.

Code:

echo "/bin/ln -s /dev/dsp1 /dev/dsp" >> /etc/local.d/baselayout1.start


Hope that helps.
Back to top
View user's profile Send private message
arabcian
n00b
n00b


Joined: 04 Oct 2012
Posts: 21

PostPosted: Fri Nov 02, 2012 8:58 pm    Post subject: Reply with quote

its not worked that second way i guess it is a problem with the software that i use thanks anyway
Back to top
View user's profile Send private message
ce110ut
Apprentice
Apprentice


Joined: 27 Sep 2002
Posts: 200

PostPosted: Fri Nov 02, 2012 9:14 pm    Post subject: Reply with quote

the second way works after a reboot. you can simply run ln -s /dev/dsp1 /dev/dsp and that will get you working while the machine is up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum