LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Remembering sound levels after reboot (https://www.linuxquestions.org/questions/linux-software-2/remembering-sound-levels-after-reboot-90373/)

adz 09-07-2003 11:52 PM

Remembering sound levels after reboot
 
OK I know this sounds like something that's been asked before but I searched and didn't find anything. I would like to know if there's any way to remember sound levels after reboot (without installing alsa) because they always default to 50%.

watashiwaotaku7 09-07-2003 11:56 PM

if your using oss then kmix and some other mixers should have a way to save your volumes if your using alsa then reply back and ill post a script that does it automatically at boot or else search http://forums.gentoo.org for it

adz 09-08-2003 12:10 AM

I'm just using the default modules that comes with the kernel (not OSS). It's called "es1371". Is there a volume setting you can specify while loading the module? I'm hoping to avoid using alsa. I don't need spectacular sound and mine works great anyway I just would prefer not having to readjust volume levels every time I boot.

Major quick reply, though. 4 min! Gotta be close to a record.

watashiwaotaku7 09-08-2003 12:55 AM

its far from a linuxquestions record,
another workaround though possibly not a great one is to get the volume plugin for gkrellm and set it to control volume and pcm then gkrellm will bring your settings back to normal whenever it is on and yes if you are using the default sound options in a 2.4.xx kernel you are using oss if you are using a 2.6.0 kernel you are using alsa

adz 09-08-2003 04:32 AM

Is there a command I can execute from the console (and hence put in a script) that will set my volume levels to whatever I specify? That will do since I don't really need to set it again and again.

Btw, in my kernel conf (2.4.22) there's a whole subsection on OSS. It's below where I configured my sound module. Wouldn't that mean that OSS and my sound modules are two different things?

rkwellstead 09-08-2003 09:29 AM

I use aumix from the console to set the volume levels in Slackware 9.0... also during boot in the /etc/rc.d/rc.local script.

adz 09-08-2003 09:48 AM

I caved. I installed alsa.

watashiwaotaku7 09-08-2003 03:44 PM

no all sound options in the 2.4.xx kernel are oss the oss modules listed below are just generic modules or something like that...or maybe they are the more specific ones, i dont remember anymore

pe2338 09-24-2003 08:55 AM

too late but good!!
 
You could have done a script (let's call it volumeup) in /etc/init.d that accepts a dummy parameter.
That script uses aumix (see man) to set the levels.
then :

update.rc.d volumeup start 99 2,3,4,5.

and the sound is set automagically at boot time!!! :D

I guess now is too late... But you will now in the future


All times are GMT -5. The time now is 12:19 AM.