LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-01-2004, 09:33 AM   #1
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
volume problem... >:(


I had this problem earlier too, but it got solved when I emerged newer Gnome.

Here's the story:

When I power on my machine and go on until Gnome is ready, no matter what I have done earlier to my sound levels through Gnome's Panel -> Volume Control -> Open Volume Control (the main volume and pcm are the two I tried to make louder), all the changes are lost every time I close Gnome. I'd need to know why the changes are _not_ saved when I move the scrollbars up/down, because it's annoying to set them again every time I open Gnome.....

The sound volume is just too weak to be used, so it should be set a little bit louder. I've checked out all the prefences I've found. Multimedia -> Sound has a "restore mixer levels of Gnome Mixer" checkbox, but that won't help - I've tried. I have also checked that Gnome should save all my settings when I log out, but it just won't seem to do that with my volume.....

So how do I get Volume Control to save the new levels? Does anybody know? Please help if you do.....
 
Old 01-01-2004, 12:00 PM   #2
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Hello b0uncer....

This was the first few of some small but extremely imp problems that I had faced, however, with some assistance and logic, I overcame it very soon...

Below is the link to my post labeled "Volume Control in GNOME"

http://www.linuxquestions.org/questi...ntrol+in+gnome

And to make things easy for you, i'll paste my last reply below....however, if you wanna take a look at the entire thread, you are welcome...

----------------------------------------------------------------------------------------

Hi Everyone!....

Firstly, a big thanks to Alex for helping me get my issue resolved.

However, just for the benefit of those, who are quite new to Linux or those who aren't able to resolve the Volume issue....I'd like to restate the problem and the solution...

The Issue
--------------

The Volume Settings in RH 9( GNOME ) are automatically reset to the defaults every time the system starts up.

The Solution
------------------

1. I checked up my audio devices. Noticed that there are 2 tabs for sound boards namely -

(a) MS_SOUND_SYSTEM_CS4231
which is /dev/mixer

(b) Yamaha OPL3 SA3 sound board
which is /dev/mixer1

2. I already have a script load_sound_tv_radio.sh that loads during system startup. It basically loads the bttv tv tuner and sound modules in memory at the time system starts up. This script is placed in /usr/local/bin.

The above script is called from the file /etc/rc.d/rc.local which is pasted below for reference....

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

#Executes the script that loads sound,tv, radio modules and sets the volume settings at startup

/usr/local/bin/load_sound_tv_radio.sh


3. In this script, I also add lines that inititalize the new values for the Volume Settings...

Below is the complete script load_sound_tv_radio.sh for reference.

#Initialize the sound module
modprobe opl3sa2

#Initialize the settings for Tv Tuner Modules
modprobe tuner type=5 debug=1
modprobe bttv card=2 radio=1 pll=1


#Initialize the default Volume settings for MS_SOUND_SYSTEM_CS4231
/usr/bin/aumix -d /dev/mixer -v100 -w100 -s100 -p100 -l100 -c100

#Initialize the Volume default settings for Yamaha OPL3 SA3 sound
/usr/bin/aumix -d /dev/mixer1 -v90 -b75 -t75



I hope this post will be of help to my friends at LQ. At the end, a big thanks to everyone who has taken the effort to solve this small but extremely vital issue.

----------------------------------------------------------------------------------------------

Regards,

amit
 
Old 01-02-2004, 06:15 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Original Poster
Rep: Reputation: Disabled
ok, I'll try that...I don't seem to have aumix yet (I'm using Gentoo so I only have the packages I've chosen myself, not any "ready set" like in RedHat or something..) but I'll emerge it, and then do what you wrote.

oh one more thing - what's the best way (in Gentoo) to start this script at bootup? I guess rc does this, but how? do I use rc-update, and if, then how? I don't remember making any own scripts start at bootup on this distro..

anyway, thanks for help...thanks veeeeeery much!

Last edited by b0uncer; 01-02-2004 at 06:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kmix/Volume Control Problem ishman Linux - Hardware 1 11-18-2004 07:12 AM
Strange volume control problem Kix SUSE / openSUSE 1 10-15-2004 02:02 PM
main volume control problem SGFHK321 Linux - Newbie 2 08-16-2004 12:47 PM
Adjusting how much volume jumps with volume keys vrillusions Linux - Laptop and Netbook 2 10-17-2003 09:11 PM
ext3 volume / win2000 problem canutelmehowman Linux - General 0 11-06-2002 02:28 AM

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

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

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