Hi
BACKGROUND
This is a dual boot system (Ubuntu;Dapper/WinXP) with an Asus A8n-e mobo with onboard sound and also a creative X-Fi. I had some help with this here:
http://forums.overclockers.co.uk/showthread.php?t=17570411
The onboard sound is enabled in Bios and in WinXP it is disabled so i can use my X-F. In Linux i want to use the onboard sound as there are no drivers for the X-Fi.
Sound on Linux had been working fine onan old Soundblaster card before i upgraded to the X-Fi - this was without any changes to any files by me.
However after enabling onboard sound in BIOS i wasn't getting any sound in Linux. I tried installing an AC97 codec but this failed to install - but i think maybe the codec was installed anyway. Then Greeny132 suggested i installed the Nvidia drivers - which is what i have done (well i think so - i just did sh <drivername> or do i need do more?). It said they were installed correctly - BUT still no sound
the readme did however talk about editing the configuration - whih i haven't done and what i am having problems with. The instructions say:
-----------------------------------------------------------------------
Module Configuration File Location
Module configuration files are different for 2.4 and 2.6 series kernels. The various Linux distributions also differ in how they handle module configuration.
* For distributions based on a 2.4 series kernel, the module configuration file is typically called /etc/modules.conf.
* For distributions based on a 2.6 series kernel, the module configuration file is typically called /etc/modprobe.conf. Some distributions use a subdirectory, /etc/modprobe.d/ , to hold individual configuration files for sound modules, etc.
Other distributions
If the distribution you are using provides a configuration mechanism for audio drivers, use it to select the nvsound driver module for use with the nForce audio device. Otherwise, manually edit the module configuration file.
If your configuration file already contains an entry for the i810_audio or snd-intel8x0 drivers (open-source audio drivers that supports the nForce audio controller), that entry needs to be commented out with a # or removed:
# alias sound-slot-0 i810_audio
Add the following lines to the configuration file:
alias sound-slot-0 nvsound
alias snd-intel8x0 off
alias i810_audio off
On some distributions, you may need to replace sound-slot-0 with snd-card-0.
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.4 kernels:
post-install nvsound sleep 1; /usr/bin/nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1 ||:
pre-remove nvsound /usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1 ||:
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
Loading The Drivers
The installer may or may not leave the new modules loaded after the installation, depending on the existing configuration. You can force the module to be loaded using insmod or modprobe :
insmod <modulename>
or
modprobe <modulename>
On subsequent reboots, the modules should load automatically.
--------------------------------------------------------------------------
Problems:
1) I don't seem to have a modprobe.conf file (though i do have the /etc/modprobe.d directory).
2) It says i may need to 'load' the drivers. a) Do i use insmod or modprobe? and b) what is the <modulename> - presumably modprobe.conf but if so i don't have this file.
3) The instructions talk about editing the config file to input "# alias sound-slot-0 i810_audio". Which file do they mean? The modprobe.conf file that i can't find or one of the original sound config files?
4) There are probably lots of other questions but i need to take it a step at a time
Sorry guys but i am getting very confused here and really need some help.
Many thanks
Diss
BACKGROUND
This is a dual boot system (Ubuntu;Dapper/WinXP) with an Asus A8n-e mobo with onboard sound and also a creative X-Fi. I had some help with this here:
http://forums.overclockers.co.uk/showthread.php?t=17570411
The onboard sound is enabled in Bios and in WinXP it is disabled so i can use my X-F. In Linux i want to use the onboard sound as there are no drivers for the X-Fi.
Sound on Linux had been working fine onan old Soundblaster card before i upgraded to the X-Fi - this was without any changes to any files by me.
However after enabling onboard sound in BIOS i wasn't getting any sound in Linux. I tried installing an AC97 codec but this failed to install - but i think maybe the codec was installed anyway. Then Greeny132 suggested i installed the Nvidia drivers - which is what i have done (well i think so - i just did sh <drivername> or do i need do more?). It said they were installed correctly - BUT still no sound
the readme did however talk about editing the configuration - whih i haven't done and what i am having problems with. The instructions say:
-----------------------------------------------------------------------
Module Configuration File Location
Module configuration files are different for 2.4 and 2.6 series kernels. The various Linux distributions also differ in how they handle module configuration.
* For distributions based on a 2.4 series kernel, the module configuration file is typically called /etc/modules.conf.
* For distributions based on a 2.6 series kernel, the module configuration file is typically called /etc/modprobe.conf. Some distributions use a subdirectory, /etc/modprobe.d/ , to hold individual configuration files for sound modules, etc.
Other distributions
If the distribution you are using provides a configuration mechanism for audio drivers, use it to select the nvsound driver module for use with the nForce audio device. Otherwise, manually edit the module configuration file.
If your configuration file already contains an entry for the i810_audio or snd-intel8x0 drivers (open-source audio drivers that supports the nForce audio controller), that entry needs to be commented out with a # or removed:
# alias sound-slot-0 i810_audio
Add the following lines to the configuration file:
alias sound-slot-0 nvsound
alias snd-intel8x0 off
alias i810_audio off
On some distributions, you may need to replace sound-slot-0 with snd-card-0.
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.4 kernels:
post-install nvsound sleep 1; /usr/bin/nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1 ||:
pre-remove nvsound /usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1 ||:
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
Loading The Drivers
The installer may or may not leave the new modules loaded after the installation, depending on the existing configuration. You can force the module to be loaded using insmod or modprobe :
insmod <modulename>
or
modprobe <modulename>
On subsequent reboots, the modules should load automatically.
--------------------------------------------------------------------------
Problems:
1) I don't seem to have a modprobe.conf file (though i do have the /etc/modprobe.d directory).
2) It says i may need to 'load' the drivers. a) Do i use insmod or modprobe? and b) what is the <modulename> - presumably modprobe.conf but if so i don't have this file.
3) The instructions talk about editing the config file to input "# alias sound-slot-0 i810_audio". Which file do they mean? The modprobe.conf file that i can't find or one of the original sound config files?
4) There are probably lots of other questions but i need to take it a step at a time
Sorry guys but i am getting very confused here and really need some help.
Many thanks
Diss