View Single Post
Old 03-27-07, 05:17 PM   #8
pablo1966
Registered User
 
Join Date: Mar 2007
Posts: 1
Default Re: HOWTO: NForce Audio on kernels 2.6.16 and Later

Here's how I got my Asrock K8NF6G-VSTA netcard working with Kubuntu 6.06 (may apply to other models of motherboard):

NIC : Realtek RTL8201CL
SOUND : Realtek ALC883 (7.1 ch/HD)
VGA : Nvidia GeForce 6100 nForce 405 vbios ver. 05.61.32.14.03

The network card issue appears to be a forcedeth driver version thing; updating the driver to v.0.60 apperently solves the problem.
The audio issue is solved (at least playback works) installing ALSA drivers stand-alone from http://www.alsa-project.org
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.13.tar.bz2
The video driver I'm using right now is oficial http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/NVIDIA-Linux-x86-1.0-9755-pkg1.run and worked out of the box.

Install kernel 2.6.15-28-386 and headers
Code:
sudo apt-get update
sudo apt-get install linux-image-2.6.15-28-386
sudo apt-get install linux-headers-2.6.15-28-386
Install build tools
Code:
sudo apt-get install build-essential
Now, following the instructions from this forum https://launchpad.net/ubuntu/+source....15/+bug/76346
Download this http://librarian.launchpad.net/56203...th_0.60.tar.bz

Quote:
I've been able to update to the latest forcedeth 0.60 in the following way I'm going to describe.
Before all:
-I'm using kernel 2.6.15-27-amd64-k8, so change version numbers accordingly to yours;
1)Download latest nvidia nforce package
2)For Dapper, I suggest you using forcedeth.c file contained under Fedora5 folder of the downloaded package
3)Install build-essential plus linux-headers-2.6.15-27-amd64-k8
4)Copy forcedeth.c into some folder, e.g. /home/willytp/forcedeth
5)Into this folder, make a file called "Makefile" containing the following line:
obj-m := forcedeth.o
6)Into this folder, execute the following command:
make -C /usr/src/linux-headers-2.6.15-27-amd64-k8/ SUBDIRS=$PWD modules
7)Copy the just created forcedeth.ko module into
/lib/modules/2.6.15-27-amd64-k8/kernel/drivers/net/
overwriting the old one
8)Execute this command: sudo depmod -a
9)Make a new initrd image: go into /boot/ folder, locate your initrd image, save it name, delete the file, and execute the following command:
mkinitramfs -o initrd.img-2.6.15-27-amd64-k8
10)Cross fingers and reboot
Hoping to help someone, I've attached a file here, containing the appropriate forcedeth.c, the Makefile, a little script to build and the binary file which will work *only* for 2.6.15-27-amd64-k8 kernel.
When compiling the ALSA modules don't forget to use driver hda-intel instead of intel8x0

Code:
./configure --with-cards=hda-intel --with-sequencer=yes; make; make install
--PABLO
pablo1966 is offline   Reply With Quote