You are not logged in.

#1 2010-03-10 14:28:15

Ashbringer
Member
Registered: 2010-03-10
Posts: 4

[Solved] Problem with ALSA after fresh install

Hello everyone,
I've installed Arch last night and with some minor problems with wlan it went trough fine. However, I'm having problems with sound. I have onboard nforce chipset sound device (7.1 realtec) which ls -l /sys/module/snd/holders indentifies as snd_hda_intel. I've tried everything I could from wiki and I couldn't make it work. Tried manual editing of /etc/rc.conf, /etc/modprobe.d/modprobe.conf and /etc/modprobe.d/sound.conf. I'll post some outputs. Any help is appreciated.

 $alsaconf

Loading driver...
:: Saving ALSA Levels                                                    [BUSY] 
/usr/sbin/alsactl: save_state:1502: No soundcards found...
                                                                         [DONE] 
:: Restoring ALSA Levels                                                 [BUSY] 
/usr/sbin/alsactl: load_state:1569: Cannot open /etc/asound.state for reading: No such file or directory
                                                                         [DONE] 
Setting default volumes...
amixer: Mixer attach default error: No such file or directory
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1502: No soundcards found...
 ls -l /sys/module/snd/holders

total 0
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_hda_codec_realtek -> ../../snd_hda_codec_realtek
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_mixer_oss -> ../../snd_mixer_oss
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_pcm_oss -> ../../snd_pcm_oss
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_seq -> ../../snd_seq
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_seq_device -> ../../snd_seq_device
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_seq_oss -> ../../snd_seq_oss
lrwxrwxrwx 1 root root 0 2010-03-10 14:50 snd_timer -> ../../snd_timer
 /etc/rc.conf (MODULES and DAEMONS section)

MODULES=(acpi-cpufreq cpufreq_ondemand snd-hda-intel snd-pcm-oss snd-mixer-oss  snd-seq-oss)
DAEMONS=(syslog-ng !network !netfs crond kdm dbus hal networkmanager sensors alsa)
 /etc/modprobe.d/modprobe.conf

options snd-hda-intel index=0
 /etc/modprobe.d/sound.conf

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
speaker-test -D default -c 2 -t wav

speaker-test 1.0.22

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory

edit: added some outputs, added [Solved] tag.

Last edited by Ashbringer (2010-03-10 22:25:31)

Offline

#2 2010-03-10 15:41:53

Moose9999
Member
Registered: 2010-03-09
Posts: 32

Re: [Solved] Problem with ALSA after fresh install

Iknow i my setup I only need alsa in the daemons array and nowhere else.  This might be a stupid question:  Did you unmute everything with alsamixer as user, and did you run alsactl1 store as root afterwards?


"The beautiful thing about learning is nobody can take it away from you."
B.B. King

Offline

#3 2010-03-10 15:49:37

Ashbringer
Member
Registered: 2010-03-10
Posts: 4

Re: [Solved] Problem with ALSA after fresh install

alsactl: save_state:1502: No soundcards found...

It looks like alsa can't find my soundcard, I'm guessing I've made a mistake in some of the .conf files, but I can't see where.
Yes, its unmuted. But still won't work sad

Offline

#4 2010-03-10 16:00:48

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [Solved] Problem with ALSA after fresh install

If you are using kde4 , look into the  system settings for selecting audio devices.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2010-03-10 16:08:15

Ashbringer
Member
Registered: 2010-03-10
Posts: 4

Re: [Solved] Problem with ALSA after fresh install

It's there [HDA NVIDIA ALC1200 ANALOG] but when I press "Test" I get an error notification from Phonon: KDE's Multimedia Library: HDA NVidia (ALC1200 Analog) does not work. Same happens when I try to play some music.

Offline

#6 2010-03-10 16:11:14

Moose9999
Member
Registered: 2010-03-09
Posts: 32

Re: [Solved] Problem with ALSA after fresh install

Just out of curiosity, did the conf files you post show up automatically or did you add them yourself.  I'm almost positive you don't need any modules in the module array in rc.conf for sound to work.  If I remember correctly rc.conf is all about startup and modules needed to get the system booted, after that all the other modules are loaded.


"The beautiful thing about learning is nobody can take it away from you."
B.B. King

Offline

#7 2010-03-10 17:02:39

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [Solved] Problem with ALSA after fresh install

Perhaps installing phonon-xine will provide an answer.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2010-03-10 22:11:01

Ashbringer
Member
Registered: 2010-03-10
Posts: 4

Re: [Solved] Problem with ALSA after fresh install

@Moose9999
I added them manualy, following a guide from wiki, but it looks like I wont need them anymore, though it works now, I don't like to keep stuff "unclean".

@lilsirecho
I'm installing xine as I type, for codecs etc. But looks like problem was in old kernel, drivers. I've just updated to 2.6.32 and it works now (should have done that sooner, I feel a bit stupid now).

Thanks for the support people, this issue is now [Solved].

Offline

Board footer

Powered by FluxBB