LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2003, 09:45 PM   #1
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
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
 
Old 10-30-2003, 12:33 AM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 46
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.
 
Old 10-30-2003, 08:30 AM   #3
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Original Poster
Rep: Reputation: 30
Thanks for the answer but I solve it. I just needed to put oss in my USE flags for portage to install oss emulation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quake 3 freezes with alsa-oss emulation magoot Linux - Games 14 10-15-2007 04:25 PM
Flash off sync... alsa with oss emulation (I think) dragonslay Linux - Software 3 04-27-2005 10:37 AM
ALSA and OSS emulation crud Slackware 6 01-30-2005 03:48 PM
ALSA OSS Emulation amnesty_puppy Linux - Software 0 11-01-2004 03:00 AM
Cannot record audio using ALSA with OSS emulation mhearn Linux - General 0 10-01-2003 08:14 AM


All times are GMT -5. The time now is 02:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration