LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-08-2006, 09:04 PM   #1
umichLinux
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian 3.1, Red Hat 9 Linux
Posts: 23

Rep: Reputation: 15
ALSA configuration problem


ok, so here's a good challenge for all the alsa experts out there. I've been playing around with my alsa configuration for quite a while now, so that I could achieve the holy grail of being able to play more than one sound simultaneously. I've upgraded my drivers, downgraded drivers, tried all sorts of configuration files, and I've finally gotten it to work . . . sort of. When I have no asound.conf, sounds work great, but when I try to boot my computer without it, I don't get anywhere. X will begin and I will get a startup sound, but I won't get the splash screen indicating that Gnome is starting. On the other hand, if I have a certain asound.conf (see below) , I won't get a startup sound, but Gnome will start.

I'm using the alsa drivers from Debian stable, except for libasound2(testing, I believe) and a couple mixers from testing. I also am using a self-compiled kernel, 2.6.14.3 with the included alsa kernel modules. I would downgrade the libasound2 to stable as well, but I've upgraded too many other things that depend on it to easily go back. The following is the asound.conf that lets me boot up:
Code:
oolave.pcm "dmixer"

}


pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
periods 128
rate 44100
}
bindings {
0 0
1 1
}
}
This code seems like it would cause an error (especially the '}' with no '{' preceding it), but if I change it at all, Gnome will not load. I've tried deleting the '}', deleting everything before "pcm.dmixer", and deleting everything after the first line, but no matter what, Gnome will not load. I've even tried the sample asound.conf straight from the alsa website with the same result.

Can anyone figure out where my problem may lie, or better yet, how I can fix it?

thanks in advance . . . umichlinux
 
Old 01-08-2006, 10:37 PM   #2
umichLinux
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian 3.1, Red Hat 9 Linux
Posts: 23

Original Poster
Rep: Reputation: 15
ok, I think I fixed the whole problem with booting . . . I downgraded all my Esound packages to their stable versions, and now things play nice (knock on wood).

Now, however, all the volumes start at obnoxiously high levels. Anyone know how to change that?

Umichlinux
 
Old 01-08-2006, 11:02 PM   #3
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
it depends on what sound protocol is causeing the problem.

then you would need to make sure there is a 'volume control ' (ie mixer) that is compatible with that one (ie alsa, es, etc).

good luck.
 
Old 01-08-2006, 11:26 PM   #4
umichLinux
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian 3.1, Red Hat 9 Linux
Posts: 23

Original Poster
Rep: Reputation: 15
Right, I should have been more specific. I meant how to change the startup volumes. I did manage to figure it out by using alsactl.

Nevermind! This ended up being a waste of a thread since I figured it out on my own. (Of course, I've been tinkering with this sound setup for weeks, and as soon as I post my questions, I figure it all out, making me look like a fool)

Umichlinux
 
Old 01-09-2006, 02:58 AM   #5
halvy
Member
 
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

Rep: Reputation: 42
no it was not a waste..

we all can & do learn from one another
 
  


Reply



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 configuration TuxFreak Linux - General 10 12-25-2004 07:29 AM
ALSA Configuration dereko Linux - Hardware 5 11-26-2004 09:35 AM
ALSA Configuration Help phrontist Linux - Software 2 10-16-2004 02:41 AM
ALSA configuration help onionkn1ght Linux - Software 3 09-04-2004 10:20 AM
alsa configuration FirebirdV0273 Linux - Hardware 2 12-21-2003 08:03 PM

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

All times are GMT -5. The time now is 03:10 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