Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.