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 04-02-2003, 09:52 PM   #1
anccert
LQ Newbie
 
Registered: Apr 2003
Location: Earth
Distribution: Fedora 6
Posts: 28

Rep: Reputation: 15
Angry Alsa driver problems


Have trouble configuring alsa driver
The error I'm getting on startup:

"Couldn't open mixer device /dev/sound/mixer"

Redhat 8.0
Soundblaster Live Xgamer!
Alsa 0.9.2(tarball)

Modules.conf:

# Alsa driver
alias char-major-116 snd
alias sound-card-0 snd-emu10k1
#
# OSS/Free portion
alias char-major-14 soundcore
alias sound snd-card-0
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

Output of /var/log/messages:

modprobe: Can't locate module sound-slot-0

Alsa install method(as instucted by alsa):

./configure
make install
.snddevices

Can manually do /sbin/modprobe snd-emu10k1, which will get sound working but the volume is real loud. Adjusting the volume using alsamixer or aumix does not effect the volume level output. I do NOT have /dev/sound/mixer but I do have /dev/mixer[0-3]. If I do need /dev/sound/mixer, How do I create the device in /dev directory? Tried symlinking to /dev/mixer but that did not work.
 
Old 04-03-2003, 12:34 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: Alsa driver problems

Quote:
Originally posted by anccert
Have trouble configuring alsa driver
The error I'm getting on startup:

"Couldn't open mixer device /dev/sound/mixer"

Redhat 8.0
Soundblaster Live Xgamer!
Alsa 0.9.2(tarball)

Modules.conf:

# Alsa driver
alias char-major-116 snd
alias sound-card-0 snd-emu10k1
#
# OSS/Free portion
alias char-major-14 soundcore
alias sound snd-card-0
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

Output of /var/log/messages:

modprobe: Can't locate module sound-slot-0

Alsa install method(as instucted by alsa):

./configure
make install
.snddevices

Can manually do /sbin/modprobe snd-emu10k1, which will get sound working but the volume is real loud. Adjusting the volume using alsamixer or aumix does not effect the volume level output. I do NOT have /dev/sound/mixer but I do have /dev/mixer[0-3]. If I do need /dev/sound/mixer, How do I create the device in /dev directory? Tried symlinking to /dev/mixer but that did not work.
add a line in module.conf
alias sound-slot-0 sound-card-0
 
Old 04-03-2003, 08:33 PM   #3
anccert
LQ Newbie
 
Registered: Apr 2003
Location: Earth
Distribution: Fedora 6
Posts: 28

Original Poster
Rep: Reputation: 15
I tried that, still no luck. I would think that the problem has something to do with modules.conf. I have been trying different combinations in modules.conf but still no luck. Whatever is wanting to point to /dev/sound/mixer, I don't think it should be pointing there. I think something similar to /dev/mixer would be more appropriate. That is just my opinion. I have the emu10k1 driver working, but commented out for the time being because I'm trying to get the Alsa driver working for other reasons. Here is the current status of my modules.conf file:

# Alsa driver
alias char-major-116 snd
alias sound-card-0 snd-emu10k1
alias sound-slot-0 sound-card-0
#
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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

Does anyone have any ideas?
 
Old 04-03-2003, 11:34 PM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
after you install the modules through modprobe you can try /proc/asound for changing parameters
there is a file called /etc/asound.state which stores the current state
change the values in the file and do a alsactl restore
you will get the desired volume
and for the modules.conf i don't know what is wrong
instead you can add the bit in your rc.sysinit
something like this
action $"Starting Alsa Driver :" modprobe snd-emu10k1
RETURN = $?
action $"Restoring Alsa Mixer Setting :" alsactl restore
RETURN = $?
#now check this last one
#i think it is snd-seq(or is it something else)
action $"Loading Sequencer :" modprobe snd-seq
RETURN = $?



Last edited by rch; 04-04-2003 at 10:59 PM.
 
  


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
Alsa driver problems in 2.6.9 MegaByll Slackware 1 01-27-2005 07:01 PM
Sound driver problems with ALSA on Mandrake 9.2 with an Terratec ewx 2496 bastupungen Linux - Hardware 1 02-26-2004 05:38 AM
Problems Installing MPlayer, XMMS, and alsa-driver dot hog Linux - Newbie 7 10-18-2003 07:50 PM
RedHat 9 and ALSA driver problems with CMI8738 KristinnM Linux - Software 1 08-06-2003 07:05 PM
alsa driver problems wr3ck3d Linux - General 1 02-12-2003 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration