You are not logged in.

#1 2009-03-11 21:36:11

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Help setting-up soundcard with ALSA.

Hi,

I've just done a fresh install, and my alsa settings are incorrect.

I have two soundcards, one for VoIP and one for multimedia (music).

When I run alsactl as a user, I get a very minimal screen, not the usual channels I would expect to find.  Can anyone tell me how I can configure both of my soundcards?

Many thanks,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#2 2009-03-11 22:08:07

r.b
Member
From: Winnipeg, MB
Registered: 2009-03-11
Posts: 12

Re: Help setting-up soundcard with ALSA.

Have you tried running alsaconf?


:wq

Offline

#3 2009-03-12 08:27:23

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: Help setting-up soundcard with ALSA.

r.b wrote:

Have you tried running alsaconf?

Ahhh.... additionally, I may have some alsa remnants in my /home, that is causing problems.  Will alsaconf be system wide, or per user?  I would prefer system wide.

Cheers,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#4 2009-03-12 19:07:21

r.b
Member
From: Winnipeg, MB
Registered: 2009-03-11
Posts: 12

Re: Help setting-up soundcard with ALSA.

It should be system-wide. Also, make sure that you've added yourself to the audio group. If you haven't done that, the command is

gpasswd -a <username> audio

Just run that as root and replace <username> with your username.


:wq

Offline

#5 2009-03-12 19:33:54

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Help setting-up soundcard with ALSA.

Did you check the wiki and follow the instructions?


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#6 2009-03-12 21:52:11

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: Help setting-up soundcard with ALSA.

Yup, I checked the wiki.

My user is already in /etc/group.

I'll scratch my head and try to work it out.  It seems so difficult having two sound cards, and I can't see why it should be.  Both cards are seen when I do alsaconf, but I just can't seem to configure them.

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#7 2009-03-12 21:57:58

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Help setting-up soundcard with ALSA.

install alsa-utils and use alsamixer. man alsamixer

-c <card number or identification>
              Select  the  soundcard  to use, if you have more than one. Cards
              are numbered from 0 (the default).

Last edited by wonder (2009-03-12 21:58:06)


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2009-03-12 22:17:38

vaquerito
Member
Registered: 2008-04-09
Posts: 32

Re: Help setting-up soundcard with ALSA.

Hi, try blacklisting pc speaker modules

 sudo vi /etc/modprobe.d/sound

in /etc/modprobe.d/sound:

blacklist snd_pcsp
blacklist pcspkr

and reboot

Offline

#9 2009-03-13 13:13:15

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Help setting-up soundcard with ALSA.

@wonder, doesn't that just select what kind of soundcard you want to choose volume for?

pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}

in ~/.asoundrc might work though..

note: this just sets the next card alsa detects as the default one(which most apps are set up to use)

Last edited by test1000 (2009-03-13 13:27:14)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#10 2009-03-13 18:41:37

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: Help setting-up soundcard with ALSA.

Well I don't seem to be any better off, and when I try to use xfce's mixer, I get:

GStreamer was unable to detect any sound devices. Some sound system specific GStreamer packages may be missing. It may also be a permissions problem.

I know my Arch install is nearly sorted, but this bit is a real pain.  I've only got two sound cards!

Thanks,

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#11 2009-03-13 18:42:50

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: Help setting-up soundcard with ALSA.

Maybe I need to look to see whether dmesg reported seeing the cards.  This may indicate that a module wasn't loaded if nothing reported.

Chris.


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#12 2009-03-14 01:20:15

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Help setting-up soundcard with ALSA.

http://alsa.opensrc.org/.asoundrc#Default_PCM_device

delete and/or move away /etc/asound.conf too if you have it..

also i would suggest starting very basic. the stupid aplay or ecasound utility can't play all wavs for example(gives you an error) but xmms can(altough, when i tried it, xmms worked with those very same files on&off, go figure..). if it plays in xmms but you can't hear anything then it's almost certainly a volume issue(that is, check alsamixer/other mixer ans see if the channels are muted or low).

another thing that might be or not be correct; have you deleted audio entry in xorg.conf(maybe this doesn't even exist..)

Last edited by test1000 (2009-03-14 01:23:01)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB