Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

nforce-audio/net for x86/amd64 1.0-0283 ebuilds

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
12 posts • Page 1 of 1
Author
Message
Snooper
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Sun May 02, 2004 6:00 am
Location: San Antonio, TX

nforce-audio/net for x86/amd64 1.0-0283 ebuilds

  • Quote

Post by Snooper » Sat Sep 11, 2004 8:03 pm

I have ebuilds for the latest nforce-audio and nforce-net kernel modules supporting x86 and amd64.

There will be another coming for nforce-nvmixer once i have tested it more some...

to install copy:
nforce-audio-1.0.0283 to /usr/portage/media-sound
and type:
ebuild nforce-audio-1.0.0283.ebuild digest
then add:
media-sound/nforce-audio ~x86 or ~amd64 (depending on arch) to /etc/portage/package.keywords
then emerge nforce-audio

for nforce-net copy:
nforce-net-1.0.0283 to /usr/portage/net-misc
and type:
ebuild nforce-net-1.0.0283.ebuild digest
then add:
net-misc/nforce-net ~x86 or ~amd64 (depending on arch) to /etc/portage/package.keywords
then emerge nforce-net

i have tested this on an x86 arch running gentoo-dev-sources-2.6.8-r4...

get them here:
ftp://lila-project.ath.cx/upload/nforce

and give me any feedback like it worked or it crashed and burned or you should change this you know thanks for the input...[/url]
ftp://lila-project.ath.cx
Top
Snooper
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Sun May 02, 2004 6:00 am
Location: San Antonio, TX

  • Quote

Post by Snooper » Mon Sep 13, 2004 12:06 pm

Well i have noticed a few things that need to be added:

1. the nvidia bug report script
2. the /etc/modules.d/nvsound/nvnet files need to be updated with the correct info...

and i'll get to it soon...
ftp://lila-project.ath.cx
Top
Snooper
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Sun May 02, 2004 6:00 am
Location: San Antonio, TX

  • Quote

Post by Snooper » Tue Sep 14, 2004 12:58 pm

ok i'm thinking put the bug script in both nvnet, and nvsound that way if one or the other is installed you'll have the script, and then not bother with nvmixer because you need nvsound witch would have the script when you install nvmixer:-) i'll get those out today when i get home as i don't have a linux box here at work well one that i can use for this:-) and i'll get nvmixer out this weekend when i have more time to mess with it as i'm sorta strapped for time durring the work week...

any feed back on these how are they working and on what type of builds?

my system is running gentoo-dev-sources-2.6.8-r4, gcc-3.4.1-r2 and glibc-2.3.4 la di da...
ftp://lila-project.ath.cx
Top
Realmaker
l33t
l33t
User avatar
Posts: 683
Joined: Wed Sep 17, 2003 7:29 pm
Location: Bremen, Germany

  • Quote

Post by Realmaker » Tue Sep 14, 2004 1:25 pm

When i want to use the radeon drivers, i have to disable dri in the kernel. when i want to use this drivers, do i also have to disable something?
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Top
Snooper
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Sun May 02, 2004 6:00 am
Location: San Antonio, TX

  • Quote

Post by Snooper » Tue Sep 14, 2004 1:56 pm

just the snd-intel8x0 kernel module, and forcedeth kernel module.

in /etc/modules.d/alsa you would change the sound card modules from snd-intel8x0 to nvsound.

and black list those two in pci hot plugging or don't compile them into the kernel.

the kernel has support for this hardware there just generic where as the nvidia released drivers support the nics on nforce1/2/3 and the sound card you get the nvmixer and a modules that betters nows the hardware and can take more advantage over it's feature set.
ftp://lila-project.ath.cx
Top
Ravenium
n00b
n00b
Posts: 19
Joined: Mon Mar 22, 2004 4:53 pm

  • Quote

Post by Ravenium » Fri Sep 17, 2004 6:41 pm

The nforce-audio ebuild reports that it compiled successfully (albeit with multiple warnings), but then reports that it cannot statd nvaudio.ko and thus does not copy it into the modules tree. The network driver, however, compiles and is working fine.

Any suggestions? I noticed that I did have to emerge alsa-driver in addition to compiling it as a module in the kernel, but that's a story for another tutorial (basically, I've had my shuttle SN41G2 for about a year and a half, but never bothered to get sound working in linux).
Top
Snooper
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Sun May 02, 2004 6:00 am
Location: San Antonio, TX

  • Quote

Post by Snooper » Fri Sep 17, 2004 7:38 pm

your using a 2.6 kernel correct? and what version of gcc?

i'm using 2.6.8.1 and gcc-3.4.1 and was able to compile and install fine so let me know software versions so i can see if i can dupe them
ftp://lila-project.ath.cx
Top
benoitc
n00b
n00b
Posts: 43
Joined: Sat Aug 02, 2003 4:17 am
Location: Paris (France)
Contact:
Contact benoitc
Website

  • Quote

Post by benoitc » Sat Sep 18, 2004 4:44 pm

Ravenium wrote:The nforce-audio ebuild reports that it compiled successfully (albeit with multiple warnings), but then reports that it cannot statd nvaudio.ko and thus does not copy it into the modules tree.

There is an error in the ebuild here is mine and it's works fine :

Code: Select all

inherit eutils kmod

X86_PKG_V="pkg1"
AMD64_PKG_V="pkg1"
NV_V="${PV/1.0./1.0-}"
X86_NV_PACKAGE="NFORCE-Linux-x86-${NV_V}"
AMD64_NV_PACKAGE="NFORCE-Linux-x86_64-${NV_V}"

DESCRIPTION="Linux kernel module for the NVIDIA's nForce SoundStorm audio chipset"
HOMEPAGE="http://www.nvidia.com/"
SRC_URI="x86? (ftp://download.nvidia.com/XFree86/nforce/${NV_V}/${X86_NV_PACKAGE}-${X86_PKG_V}.run)
	amd64? (http://download.nvidia.com/XFree86/nforce/amd64/${NV_V}/${AMD64_NV_PACKAGE}-${AMD64_PKG_V}.run)"

if use x86; then
	PKG_V="${X86_PKG_V}"
	NV_PACKAGE="${X86_NV_PACKAGE}"
elif use amd64; then
	PKG_V="${AMD64_PKG_V}"
	NV_PACKAGE="${AMD64_NV_PACKAGE}"
fi

S=${WORKDIR}/${NV_PACKAGE}-${PKG_V}/nvsound

# The slot needs to be set to $KV to prevent unmerges of modules for other kernels.
LICENSE="NVIDIA"
SLOT="${KV}"
KEYWORDS="-* ~x86 ~amd64"
RESTRICT="nostrip"
IUSE=""

DEPEND="virtual/linux-sources"

KMOD_SOURCES="none"

src_unpack() {
	# Let the kmod eclass set the variables for us
	kmod_src_unpack

	cd ${WORKDIR}
	bash ${DISTDIR}/${NV_PACKAGE}-${PKG_V}.run --extract-only
}

src_compile() {
	# IGNORE_CC_MISMATCH disables a sanity check that's needed when gcc has been
	# updated but the running kernel is still compiled with an older gcc.  This is
	# needed for chrooted building, where the sanity check detects the gcc of the
	# kernel outside the chroot rather than within.
	if is_kernel 2 5 || is_kernel 2 6
	then
		unset ARCH
	fi
	cd ${S}/main
	make KERNSRC="/usr/src/linux" || die
}

src_install() {
	# The driver goes into the standard modules location
	insinto /lib/modules/${KV}/kernel/drivers/sound

	# Insert the module 
	doins main/nvsound.${KV_OBJ}

	# Docs
	dodoc ${S}/ReleaseNotes.html

	# Add the aliases
	insinto /etc/modules.d
	cat > ${D}/etc/modules.d/nvsound << EOF
# change spdif_status to 1 to enable digital out; this will cause audio
# playback to be clamped to 48KHz which can cause some programs to play
# back audio at the wrong speed.
options nvsound spdif_status="0"
EOF
}

pkg_postinst() {
	if [ "${ROOT}" = "/" ] ; then
		# Update module dependency
		[ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
	fi

	echo
	einfo "If you need to load the module automatically on boot up you need"
	einfo "to add "nvsound" to /etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}"
	echo
	einfo "You may also be interested in media-sound/nforce-nvmixer"
}
Top
Ravenium
n00b
n00b
Posts: 19
Joined: Mon Mar 22, 2004 4:53 pm

  • Quote

Post by Ravenium » Wed Sep 22, 2004 3:04 am

Well, that did the trick to compile it. However, unfortunately, my machine just hangs when it loads the nvsound module. Currently working on getting my busted-arse cdrom to take a boot cd so I can fix it. My kingdom for a floppy disk...

Kernel 2.6.8-r3, amd athlon 2600 xp.
Top
mintu
n00b
n00b
Posts: 21
Joined: Sat Sep 18, 2004 7:53 am

hi

  • Quote

Post by mintu » Wed Sep 22, 2004 4:18 am

i want to try this out... but the link for nforce is not working... where shud i get that from?
Top
dsd
Developer
Developer
Posts: 2162
Joined: Sun Mar 30, 2003 10:54 am
Location: nr London

  • Quote

Post by dsd » Sun Sep 26, 2004 2:50 pm

is there any reason why people still use nforce-net as opposed to forcedeth? nforce-net may be removed from portage soon, please see http://bugs.gentoo.org/show_bug.cgi?id=65330
http://dev.gentoo.org/~dsd
Top
BlueByte
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Thu Apr 08, 2004 12:27 pm

  • Quote

Post by BlueByte » Sun Oct 17, 2004 2:13 pm

THE LINK ISN'T WORKING!!! FIX IT! :/
Top
Post Reply
  • Print view

12 posts • Page 1 of 1

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic