LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Noob Help (https://www.linuxquestions.org/questions/linux-newbie-8/noob-help-262006/)

gone15 12-02-2004 11:40 PM

Noob Help
 
Everytime I go to reboot my computer the sound never comes on automatically the only way I can get sound is if i run the soundcard detection program and hit the play sound button then sound works fine after that is there something that i did wrong i have searched and searched but still no luck HELP!!!!! Also if anyone knows of how to make a program execute when my system starts up like scripts or something of that sort that I can have them run automatically when KDE these two things would both be appreciated thanks in advance...

I am using an HP ze4420us laptop
with Fedora Core 3
Connected wirelessly via Ndiswrapper & My Linksys Wireless G Card...

musicman_ace 12-03-2004 01:05 AM

add a script to start the detection program you spoke of

Call it soundmgr

#!/bin/bash
Type the full path to the sound detection program.


Next, move the script to /etc/rc.d
chmod u+x /etc/rc.d/soundmgr

Assuming you start in rc.5, do the following

cd /etc/rc.d/rc5.d
ln -s ../soundmgr S24soundmgr

You can replace the 24 with any number .
This will automatically run the detection during startup and should solve the problem. If you don't run in run level 5, replace it with 3 or whichever run level you have set.

gone15 12-03-2004 08:01 AM

Quote:

Originally posted by musicman_ace
add a script to start the detection program you spoke of

Call it soundmgr

#!/bin/bash
Type the full path to the sound detection program.


Next, move the script to /etc/rc.d
chmod u+x /etc/rc.d/soundmgr

Assuming you start in rc.5, do the following

cd /etc/rc.d/rc5.d
ln -s ../soundmgr S24soundmgr

You can replace the 24 with any number .
This will automatically run the detection during startup and should solve the problem. If you don't run in run level 5, replace it with 3 or whichever run level you have set.

Ok that sounds like something that is dooable but two things one you need root privelages to run this program and it is a gui program so if I was to make a script to run it it will prompt for a root password which isnt a problem cause i know it... But I dont want to have to enter it.Then after you enter the password then you have to hit enter or spacebar to run the test file which is another inconvenice. Finally it will prompt me everytime I load linux if the test file played correctly which will be another annoyance. What I am looking for is something that will make my sound on permentaly it worked fine when I had Red Hat 9 after I ran soundcard detection once and everytime after I rebooted I had sound. So Thanks again but I need something that will load my soundcard automatically...

XavierP 12-03-2004 08:05 AM

In a console, use 'su' to become root and type
alsaconf
increase all available volumes and then exit alsaconf
use alsactl store to save the settings

Then check your gui volume control to ake sure that the volume isn't muted.

gone15 12-03-2004 08:10 AM

Quote:

Originally posted by XavierP
In a console, use 'su' to become root and type
alsaconf
increase all available volumes and then exit alsaconf
use alsactl store to save the settings

Then check your gui volume control to ake sure that the volume isn't muted.

That alsaconf command doesnt work for me XavierP it says command not found!!!!

gone15 12-08-2004 09:41 PM

Im guessing no one out there could help me out with my sound problem no biggie maybe fedora core 4 will fix my soundcard problem automatically cause i dont know what else to do!!!!!!!!! Thanks anyway for the help that I did get!!!

bostontech 12-09-2004 12:24 PM

You should look into "chkconfig".
This utility will allow you to turn on/off programs at startup.
Example: chkconfig --level 234 sound on (this will allow program "sound" to startup automatically when your system is booted into either runlevel 2,3,or 4.

Hope this helps.

BTG

gone15 01-02-2005 09:33 PM

Quote:

Originally posted by bostontech
You should look into "chkconfig".
This utility will allow you to turn on/off programs at startup.
Example: chkconfig --level 234 sound on (this will allow program "sound" to startup automatically when your system is booted into either runlevel 2,3,or 4.

Hope this helps.

BTG

chkconfig does not exist in Fedora's Vocabulary I tried to running it and it wasn't working!!!! I have sound again but I just dont know how to get it to run at the beggining!!! If there was just a way that I could run the soundcard detection program from the command line then it would be no problem!!!!!!

SlackerLX 01-02-2005 10:19 PM

Quote:

Originally posted by gone15
That alsaconf command doesnt work for me XavierP it says command not found!!!!
That alsaconf command will work on your box if alsa, of course, installed. You can live without it, but it's recommended to install it anyways, because many softwares will require alsa.

Regards


All times are GMT -5. The time now is 01:32 AM.