LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-11-2004, 05:57 PM   #1
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Question nForce2 Chipset Audio questions


Hey all.

Previously when using Linux, I never got my sound card successfully set up. I'm using Gentoo with kernel 2.4.25. I have a Shuttle AN35N Ultra motherboard, which is based on the nForce2 chipset. While I'm waiting on gnome to emerge (along with xfree, as a result), I figured I'd ask what I need to do to get this working, or ask for ideas on how to get it working.

I did an emerge on the nvidia-kernel, nforce-audio, and nforce-net, but I couldn't determine what all modules to add to modules.autoload.d. I'm guessing that's the step I'm missing. The "find" command posted on the installation tutorial doesn't help at all, as it finds *every* module.

Thanks again in advance,
Jon
 
Old 04-12-2004, 10:40 AM   #2
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Well, this morning I had no problems. For anyone else running gentoo, the steps are:

emerge nforce-audio
nano -w /etc/modules.autoload.d/kernel-(version)
(Add "nvaudio" to the list)
(exit nano)
modules-update

Rebooting, you should see it load up fine.

Sorry for the extra traffic, but I wanted to put this into writing in case anyone else was looking for the "simpler" steps for gentoo.
 
Old 04-12-2004, 01:50 PM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
hey

I'm having problems emerging the nforce audio in 2.6.4.

have you had any problems?

if I emerge, i get:
root@archimedes .mozilla # emerge nforce-audio
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/nforce-audio-1.0.0261 to /
>>> md5 src_uri ;-) NVIDIA_nforce-1.0-0261.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_nforce-1.0-0261.tar.gz to /var/tmp/portage/nforce-audio-1.0.0261/work
>>> Source unpacked.
make nvaudio.o
make[1]: Entering directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/nvaudio'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DREMAP_NEW -c -o nvhw.o nvhw.c
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/nvaudio'
make: *** [all] Error 2

!!! ERROR: media-sound/nforce-audio-1.0.0261 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)

any ideas?
hamish
 
Old 04-12-2004, 01:55 PM   #4
wiredj
LQ Newbie
 
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Unfortunately I haven't taken the plunge to 2.6 yet. I wanted to get an install working before using another kernel. I will probably try next weekend, however, since this has gone so smoothly so far. I've mainly put it off because I had heard that some drivers didn't recompile very well in the new kernel. Here at work, I do testing in a RAD language, but I solve some strange build errors quite a bit of the time. If they look like things that would be easy to fix (IE, changing search paths, using different includes), I may be able to figure it out next weekend.

Until then, I hope someone else chimes up

Good luck.
 
Old 04-12-2004, 01:56 PM   #5
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
thanks wiredj.

hamish
 
Old 11-06-2004, 03:59 PM   #6
glovers
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
temporary fix

Guys-

I have the same problem-

The (temporary) solution is to download the newer linux nforce driver from nvidia.com and use the installer script for that. Those drivers install fine. I ONLY installed the audio driver.

NOTE- you should have snd_intel8x0 built into your kernel

once this is done

modprobe nvsound

and I added a file to /etc/modules.d called nforce-audio with the line

alias char-major-195 nvsound

and then ran modules-update. modules-update takes the contents of the /etc/modules.d directory and builds a modules.conf file for you. If you're not running gentoo just add line to modules.conf

Remember to re-run nvidia installer on kernel rebuilds.

Once portage catches up all we should need to do is remove the modules.d file.

G
 
Old 11-06-2004, 05:05 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i never got on with the nvaudio module. personally i get great results from using the ***GPL*** snd_i8x0 driver in alsa
 
  


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
nVidia nForce2 Ultra 400 chipset audio not working. UnixPhreak1911 Linux - Hardware 2 10-27-2004 02:06 AM
SuSE 9.1 on nForce2 chipset - no sound [42]Raydon Linux - Hardware 1 09-05-2004 08:57 PM
Anybody have any luck with nForce2 chipset? velska Fedora - Installation 2 06-20-2004 08:59 AM
nforce2 chipset modules unknown osat3ch Mandriva 6 01-15-2004 10:47 PM
Nforce2 chipset on an Asus A7N8X hobootis Linux - Hardware 20 09-28-2003 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:15 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