You are not logged in.

#1 2007-05-12 22:19:26

l33tunderground
Banned
Registered: 2007-05-09
Posts: 103

[SOLVED] ALSA Issues (install and configure)

Hey everyone, I know this must seem redundant right now but I can't seem to get ALSA (or at least sound) to work properly.
I have pacman -S 'ed alsa-utils alsa-oss alsa-lib but it won't work. One problem that seems to be an issue is that pacman with all repos enabled cant find alsa-driver and there is no command for alsasound and when i try to load alsa as a module in rc.conf it complains of not having that module.

Rsults of lspci -v | grep -i audio:

00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)

ls -l /dev/snd:

total 0
crw-rw---- 1 root audio 116,  0 2007-05-12 10:17 controlC0
crw-rw---- 1 root audio 116, 24 2007-05-12 10:17 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2007-05-12 10:17 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2007-05-12 10:17 pcmC0D1p
crw-rw---- 1 root audio 116, 26 2007-05-12 10:17 pcmC0D2c
crw-rw---- 1 root audio 116,  1 2007-05-12 10:17 seq
crw-rw---- 1 root audio 116, 33 2007-05-12 10:17 timer

lsmod | grep '^snd'

snd_seq_oss            32768  0 
snd_seq_midi_event      7680  1 snd_seq_oss
snd_seq                55424  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7828  2 snd_seq_oss,snd_seq
snd_pcm_oss            43936  0 
snd_mixer_oss          16640  1 snd_pcm_oss
snd_hda_intel         305952  0 
snd_pcm                80904  2 snd_pcm_oss,snd_hda_intel
snd_timer              22152  2 snd_seq,snd_pcm
snd                    56808  8 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc          8720  2 snd_hda_intel,snd_pcm

So what I can see is that the module is there and my soundcard is detected but for some reason isnt playing sound (There is no Master or PCM slider in alsamixer and I have tried unmuting everything else)

The only other thing I could explain it as is the lack of snd-hda-codec which I cant seem to get anywhere.

Any help appreciated thank you.

Last edited by l33tunderground (2007-05-13 13:10:56)

Offline

#2 2007-05-13 00:27:40

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: [SOLVED] ALSA Issues (install and configure)

As far as I know there is not such thing as alsa-driver.
Do a

pacman -Sy alsaplayer

then follow these steps:

1. type alsamixer. Adjust volume with the controls that will show on the screen
2. aplay /usr/share/sounds/phone.wav  :: Test that it works
3. alsactl store.  Save Settings (as root)
4. kmix.  Use KMixer to adjust volume using a GUI if you feel more comfortable that way.

Also make sure you have added yourself to the audio group.

Try all that and post again.

R

Offline

#3 2007-05-13 12:49:31

l33tunderground
Banned
Registered: 2007-05-09
Posts: 103

Re: [SOLVED] ALSA Issues (install and configure)

Ok, it was worse now o_O... I alsa did start correctly as a module and a service or whatever so that's fine... but check this out now

results of ls- l /dev/snd:

total 0
crw-rw---- 1 root audio 116,  1 2007-05-12 14:15 seq
crw-rw---- 1 root audio 116, 33 2007-05-12 14:15 timer

There was no more /dev/dsp

alsamixer:

alsamixer: function snd_ctl_open failed for default: No such device

/etc/rc.d/alsa restart:

:: Saving ALSA Levels                                                                                                                                 [BUSY] /usr/sbin/alsactl: save_state:1253: No soundcards found...
                                                                                                                                                      [FAIL] 
:: Restoring ALSA Levels                                                                                                                              [BUSY] /usr/sbin/alsactl: load_state:1326: No soundcards found...
                                                                                                                                                      [FAIL]

Then when I modprobed snd-hda-intel (even though it was listed in the MODULES section of rc.conf) it went back to normal, but still with no sound.

Alsamixer did it's usual thing at first and I unmuted stuff and it tryed to play a .wav file, It played but with no sound,  but when I go back to alsamixer a PCM slider appears.... it doesn't seem to do anything because it doesn't let the sound play but that seems weird, I'm gonna check amixer to see if there are any other channels.

Offline

#4 2007-05-13 12:53:25

l33tunderground
Banned
Registered: 2007-05-09
Posts: 103

Re: [SOLVED] ALSA Issues (install and configure)

AHA!!! Ok, most sound works now... I set the PCM slider to max and then set the other ones up at a higher volume, I'm not sure what that did for it but it can play the .wav's now... only thing now is that sound w/ flash won't work (not like it did before in the first place) but there have been a couple posts about that so I'll check those out.

Offline

#5 2007-05-13 13:53:38

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: [SOLVED] ALSA Issues (install and configure)

Make sure to:
a. put **all** the sliders up to 100% not just PCM
b. that you add alsa to the DAEMONS section in /etc/rc.conf

Offline

Board footer

Powered by FluxBB