LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-26-2006, 07:19 AM   #1
Col._Panic
LQ Newbie
 
Registered: Sep 2005
Distribution: Xubuntu Edgy AMD64/"Wintendo"
Posts: 19

Rep: Reputation: 0
nvsound mixer settings - how to save?


I have nvidia nforce2 onboard audio but unfortunately ALSA doesn't output the best quality sound with this device. So I installed the nvsound from the nvidia website and it works fine.

I have configured Debian to load the module on startup, but I haven't worked out how to get the nvmixer mixer settings to save across reboots. The documentation says the following -

If you wish to have nvmixer audio settings automatically restored each time the nvsound driver loads, add the following lines to the configuration file for 2.6 kernels:

install nvsound /sbin/modprobe --ignore-install nvsound ; sleep 1; /usr/bin/nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1 || :
remove nvsound { /usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove nvsound

For both 2.4 and 2.6 kernels, you should add the following code to /etc/rc.d/init.d/halt, or /etc/init.d/halt.local on SuSE distributions. On Mandriva distributions, add the code at the end of function stop_mixer() in /etc/rc.d/init.d/sound.

if grep -q "\(nvsound\)" /proc/modules && [ -x /usr/bin/nvmix-reg ]; then
/usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1
fi

(In /etc/rc.d/init.d/halt, this code is best located next to any existing code that saves ALSA mixer settings.)

For Red Hat Enterprise Linux 4, Fedora Core 3 and later, add the following line in /etc/rc.local:

/usr/bin/nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1

How would this translate into Debian? I'm guessing the first part (install...) might go into /etc/modprobe.d/sound (which I created myself because I'm not using ALSA now)?

And for the second part, some script in /etc/init.d presumably? If yes, how would I set that up properly, with all the rc.* symlinks and what not?

Thanks in advance.
 
  


Reply



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
How can I save mixer settings? melinda_sayang Linux - General 10 04-09-2004 01:26 AM
Save mixer settings ar1 Linux - General 1 03-02-2004 10:17 AM
Save mixer settings corwax Linux - General 4 12-18-2003 01:59 PM
Mixer settings? Allen614 Slackware 5 04-20-2003 08:52 PM
Mixer Settings RefriedBean Linux - Software 2 08-06-2002 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:25 PM.

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