Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 13-08-2006, 09:59 PM   #1 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default problem with asus A8N-E and debian

I am facing a problem with playing audio in my debian installation.
my motherboard is asus A8N-E with the nforce-4 ultra chipset, and i am using the onboard audio.
first i tried alsa to configure the sound card, but it couldnt detect it.
then i downloaded the nforce chipset driver for linux from the nvidia website and from there i installed the audio driver.
what the driver does is that it creates a kernel module called nvsound and inserts it into the kernel tree to be loade during booting. after creating the module some configurations needed to be done. here is what it said in th readme that accompanied the driver.
Quote:
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.
there was no editable file in /etc/modprobe.d, so i considered that i had to llok into the /etc/modutils directory.
Quote:
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
i added the said lines in the alsa-base file, and also the code for restoring the nvmixer audio settings during boot.

but i must have made a mistake, coz i cant play audio..

the module nvsound is loaded successfully during boot, but i whenever i try to play a an audio file..it says sound card not found..

what did i do wrong?
geekgod is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 14-08-2006, 10:55 AM   #2 (permalink)
Broken In
 
Join Date: Dec 2003
Location: kolkata
Posts: 123
Default Re: problem with asus A8N-E and debian

all files in /etc/modprob.d are editable..u must have tried editing the /etc/modprob.conf.

i think u should add the lines in the file alsa-base of /etc/modprobe.d.
also u should comment out the lines at the bottom of the file where it tries blocking third party modules from loading a sound driver.

hope this helps..
post what happens.
technomodel is offline  
Old 15-08-2006, 04:06 PM   #3 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default Re: problem with asus A8N-E and debian

i've tried that too..
but nope..its still not working
geekgod is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 12:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2