You are not logged in.

#1 2005-03-20 14:00:43

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

alsa mixer problem

When I try to run alsa mixer I get the message.....

function snd_ctl_open failed for default: no such file or directory

Offline

#2 2005-03-20 14:42:23

Arn0
Member
From: the Netherlands
Registered: 2005-03-13
Posts: 49

Re: alsa mixer problem

Is your user a member of the "audio" group
and are you sure the module of your soundcard is loaded?


Whenever you are asked if you can do a job, tell 'em, 'Certainly I can!' Then get busy and find out how to do it.

Offline

#3 2005-03-20 15:10:52

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: alsa mixer problem

in /etc/group I am listed ....

audio:x:92:bear  (me)

Also, i got the same message when I tried this as root.

Offline

#4 2005-03-20 15:16:12

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: alsa mixer problem

Could you post the ouput of lsmod to see if any sound modules are loaded?


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#5 2005-03-20 15:52:26

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: alsa mixer problem

Module                            Used by
ppp_synctty                      0
ppp_async                        1
crc_citt                             1 ppp_async
ppp_generic                      6 ppp_asynctty,ppp_async
slhc                                  1 ppp_generic
8139too                            0
mii                                    1 8139too
rtc                                     0

Offline

#6 2005-03-20 16:19:35

Arn0
Member
From: the Netherlands
Registered: 2005-03-13
Posts: 49

Re: alsa mixer problem

Are that realy all the modules that are loaded? There are no soundcard modules loaded. Do you have hotplug disabled, normaly soundcards are detected by hotplug.

You couth try running 'alsaconf' as a root or enable hotpug if its disabled. See also the archwiki
http://wiki2.archlinux.org/index.php/Alsa%20setup


Whenever you are asked if you can do a job, tell 'em, 'Certainly I can!' Then get busy and find out how to do it.

Offline

#7 2005-03-21 00:23:29

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: alsa mixer problem

Pretty sure that error is due to no sound card modules being loaded, yeh.

What sound card you using?

Offline

#8 2005-03-21 09:33:34

Katch
Member
Registered: 2005-03-16
Posts: 17

Re: alsa mixer problem

I was getting the same problem installing my soundcard. In the end it turned out I needed to have detailed information about the cards address and inturrupts to get it working.

Here's the code in my modprobe.conf relating to the ALSA drivers. You'll need to find out you cards specific information and change the driver...

# Alsa 0.9.X kernel modules' configuration file.

# 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)
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
#alias snd-card-0 snd-cs4232
alias snd-card-0 snd-cs4236
# You have to specify every damm paramter to get it working:
options snd-cs4236 isapnp=0 cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0
## 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
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

- Official Board N00b - Your patience and advice is  greatfully recieved!

Offline

#9 2005-03-22 15:28:00

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: alsa mixer problem

I don't know exactly what happened but before when i ran alsaconf there were no sound drivers listed with lsmod. Now there are. After a number of updates I don't really know what changed.

(I rarely listen to music off of my computer but sometimes it is nice to have)

Offline

#10 2005-03-22 15:40:59

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: alsa mixer problem

Katch, add "snd-cs4236" to your modules array in rc.conf.... that way it loads on boot... then just "modprobe snd-cs4236" and try alsamixer again

Offline

#11 2005-03-22 15:54:45

Beetlenut
Member
From: Taipei Taiwan
Registered: 2004-11-04
Posts: 126

Re: alsa mixer problem

Well, my modules come and go. I ran alsaconf and all the modules showed up fine. I managed to crash my box with Kaffeine and then the modules were gone. Now they are back again. I hhould have the snd-intel18xO module running.

Offline

#12 2005-03-22 22:19:19

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: alsa mixer problem

If you're sure about the module you should be using, then just add it to rc.conf as phrak said.

Have you read the alsa wiki? Make sure your exact card is actually supported too, just in case.

Offline

Board footer

Powered by FluxBB