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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-11-2004, 06:57 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19
Rep:
|
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
|
|
|
04-12-2004, 11:40 AM
|
#2
|
LQ Newbie
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
04-12-2004, 02:50 PM
|
#3
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
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
|
|
|
04-12-2004, 02:55 PM
|
#4
|
LQ Newbie
Registered: Apr 2004
Location: Austin, TX
Distribution: Gentoo
Posts: 19
Original Poster
Rep:
|
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.
|
|
|
04-12-2004, 02:56 PM
|
#5
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
thanks wiredj.
hamish
|
|
|
11-06-2004, 04:59 PM
|
#6
|
LQ Newbie
Registered: Nov 2004
Posts: 1
Rep:
|
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
|
|
|
11-06-2004, 06:05 PM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
i never got on with the nvaudio module. personally i get great results from using the ***GPL*** snd_i8x0 driver in alsa
|
|
|
All times are GMT -5. The time now is 08:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|