LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   sound card, kernel 2.6 (https://www.linuxquestions.org/questions/linux-general-1/sound-card-kernel-2-6-a-146625/)

melinda_sayang 02-16-2004 02:29 AM

sound card, kernel 2.6
 
I have never this issue with my 2.4.x kernel. With my new kernel, 2.6.2, everytime I boot into my Linux, the volume is 0. So if I want to enjoy the sound, I have to turn the volume up with XMMS, or Kmix. So how can I solve this problem?

thebell 02-16-2004 05:06 AM

The 'quick and dirty' solution is to add two lines to your startup scripts:
Code:

amixer sset Master 20 unmute >/dev/null
amixer sset PCM 20 unmute >/dev/null

On my sound card (nForce2 onboard), those two channels max at 31, so 20 is a reasonable value. Experiment a bit to find a pair of values that work nicely.

On my system, the relevant startup file is /etc/conf.d/local.start. I don't know where it is on Fedora, but try locate local.start and try any result that it turns up.

Vlad_M 02-16-2004 06:40 AM

In Fedora you should put these lines in /etc/rc.d/rc.local

melinda_sayang 02-16-2004 08:34 AM

It works
 
Ok, thank you, guys. It works. I have to downloaded alsa-drivers, alsa-utils, alsa-tools first so that I have amixer command. Now I have fun with my new kernel, 2.6.2, though why I got this problem is still mistery for me.


All times are GMT -5. The time now is 03:39 AM.