Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
02-04-2005, 05:46 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Posts: 15
Rep:
|
No sound at startup
Hi, is there a way to get the sound to load at startup automatically so I don't have to run alsaconf each time I boot up linux? I am not sure if changing modules.conf works, as there is nothing in my modules.conf, and the alsa group said that it was a depracated file. If that is the solution, could you tell me what I need to add in? Thanks!
|
|
|
02-04-2005, 05:50 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
After running alsaconf, and alsamixer, run aslactl store. That should save your settings across a reboot.
good luck.
|
|
|
02-04-2005, 07:33 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Posts: 15
Original Poster
Rep:
|
I tried that already, and alas, nothing!
Anyone else have a solution?
|
|
|
02-06-2005, 04:06 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Posts: 15
Original Poster
Rep:
|
Come on people, I need help with this. No posts in a couple days now. Come on help me out here.
|
|
|
02-06-2005, 04:18 PM
|
#5
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
Quote:
After running alsaconf, and alsamixer, run aslactl store. That should save your settings across a reboot.
good luck.
|
That's how you do it. run alsamixer. Make your adjustments. Then as root run...
|
|
|
02-06-2005, 04:38 PM
|
#6
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
There is several ways that this can be done. Create a file either as etc/aumixrc or in your own home directory. Change settings if to low or loud. There are serveral other paramaters that can be here like pcm, bass, etc. read man pages on aumix for more help.
Contents of /etc/aumixrc.
Then edit your /etc/rc.local file and add this to it
Code:
bin/aumix-minimal -f /etc/aumixrc -L
Or start it in your /etc/modprobe.conf file. Example below. You may have something close to this.
Code:
> post-install sound-slot-0 /bin/aumix-minimal -f /etc/aumixrc -L
>> /dev/null 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/aumixrc -S
>> /dev/null 2>&1 || :
Brian1
" Google the Linux way @ http://www.google.com/linux "
|
|
|
02-06-2005, 04:42 PM
|
#7
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Quick thought if you have ' xaumix ' then that can save and load settings as well. Don't know how well it works. I use scripts to set volumes like above.
Brian1
" Google the Linux way @ http://www.google.com/linux "
|
|
|
02-06-2005, 06:21 PM
|
#8
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
Quote:
I tried that already, and alas, nothing!
Anyone else have a solution?
|
Try this after a reboot, run as root or su -
alsactl restore
if that works add the command to your startup scripts.
good luck.
|
|
|
03-01-2005, 07:08 PM
|
#9
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
I have the same problem
At the moment, I am having the same problem. All was well for a while, and then it started. I am not sure when or how, because I didn't notice it at first. The problem is NOT with the mixer, which is what gets stored and restored using alsactl store / restore. The problem is in the actual configuration of alsa. I suspect that it is a bug, either in alsa itself, or in one of the drivers.
The symptons are:
* /dev/dsp is not recognised as a device
* running /etc/init.d/alsa start produces an error message saying:
"no state present for card ..." (in my case bt878)
*KDE can't find device (see first point)
Running alsaconf fixes this, it does something which forces alsa to detect the card. If anyone is familiar with the innermost workings of alsaconf, and can think of some way of automating it, this would work, at least as a temporary fix, by adding it to /etc/init.d/alsa before the bit which runs alsactl.
Any help you can offer would be great, and I hope that this information helps to clarify the problem we are having. I don't think dmesg etc. would be much use, but let me know if you want it, I just didn't want to clutter the page too much.
|
|
|
03-02-2005, 08:02 AM
|
#10
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
What card, and alsa version are you using?
good luck.
|
|
|
03-02-2005, 11:42 AM
|
#11
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
I am using a Via onboard sound card, I'm not sure of the model no, I think it's 82 something, but as I said, I've had it working before, I went throuogh the steps in one of the other threads to set it up in the first place, which involved blacklisting certain stuff.
As for the version of alsa, I am running 1.0.8 at the moment.
Thanks for any help anyone can offer.
[edit]:
Ok, I just had a closer look at dmesg:
* My sound card is via 8233
* It's having a failure when it loads:
VIA 82xx Audio: probe of 0000:00:11.5 failed with error -12
via-rhine.c:v1.10-LK1.1.20-2.6 May-23-2004 Written by Donald Becker
* Also, I think that the bt878 I mentioned before might be my DVB TV card, why would alsa suddenly start trying to interface with this?
Help
Last edited by fuzzyworm; 03-02-2005 at 11:58 AM.
|
|
|
03-02-2005, 05:21 PM
|
#12
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
Please post the output from lspci -v, and lsmod.
good luck.
|
|
|
03-02-2005, 06:08 PM
|
#13
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
I didn't want to clutter the thread, so it can be found at:
lsmod
lspci -v
Thanks for your time
|
|
|
03-02-2005, 06:14 PM
|
#14
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
|
This may be the root of your problem.
It looks like your system may have loaded the alsa modules and the oss module. Try blacklisting the above module.
good luck.
|
|
|
03-03-2005, 03:18 PM
|
#15
|
Member
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149
Rep:
|
Ok, I tried what you said, but it didn't work, thanks for trying. That module has been loading, even when the sound was working, so I don't think it was that. As I said, I did have teething problems with the sound, ( here's what I did) but these were resolved. I believe that the problem lies somewhere in an alsa configuration file, since it tries at startup to use bt878, which I think is something to do with my TV card. If anyone knows how to automate the steps in alsaconf, so I can make a startup script, this would suffice, at least as a temporary fix.
Thanks in advance
|
|
|
All times are GMT -5. The time now is 01:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|