From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 20:34:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A50DE16A4A7 for ; Mon, 27 Nov 2006 20:34:05 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from mail.monkeybrains.net (mail1.monkeybrains.net [208.69.40.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A59494683C for ; Mon, 27 Nov 2006 19:57:28 +0000 (GMT) (envelope-from crapsh@monkeybrains.net) Received: from [192.168.0.7] (busymonkey.monkeybrains.net [66.92.187.117]) (authenticated bits=0) by mail.monkeybrains.net (8.13.7/8.13.7) with ESMTP id kARJvxJD041939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 27 Nov 2006 11:57:59 -0800 (PST) (envelope-from crapsh@monkeybrains.net) Message-ID: <456B4347.10508@monkeybrains.net> Date: Mon, 27 Nov 2006 11:57:59 -0800 From: Rudy Rucker User-Agent: Thunderbird 1.5.0.4 (X11/20060625) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061127120045.0EC9916A62E@hub.freebsd.org> In-Reply-To: <20061127120045.0EC9916A62E@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.6, clamav-milter version 0.88.6 on mail.monkeybrains.net X-Virus-Status: Clean Subject: FreeBSD + Asus V2-AH2 + SamSung SyncMaster 204bw X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 20:34:05 -0000 *** HOW-TO: FreeBSD + Asus V2-AH2 + SamSung SyncMaster 204bw *** Short answer: FreeBSD 6.2 i386 Phew, I spent a better part of the Thanksgiving weekend getting my new machine up and running. Hopefully, these notes will help out other people with Axux V2-AH2 barebones systems. Motherboard seems similar to the Asus: M2NPV-VM Graphics chip: Nvidia C51PV High Definition Audio chip: MCP51 Ethernet driver: nve I started with 6.1-amd64-release and found all kinds of problems: x ethernet was not working x nv driver in X windows would not do the native monitor resolution 1680x1050 x the nVidia X drivers don't work at all on amd64 x the audio would not work at all *** ETHERNET *** OK, so step one was putting in an old RealTek ethernet card so I could update the ethernet driver. Sure enough, 6.2-RC1 has the nve driver in it. *** VIDEO *** Next was the video driver. I tried updating X from 6.9 to 7.2 following these directions: http://wikitest.freebsd.org/ModularXorg Still, the 'nv' driver did not work as desired --- I couldn't get it to run 1680x1050 pixels on my SyncMaster monitor. I tried downloading the nVidia drivers: http://www.nvidia.com/object/freebsd_1.0-8776.html but they only work on i386. I had to start over and reinstall i386 and forgo amd64. :( As far as I can tell, there is no way to run Mixed Mode kernel objects. You can run i386 binaries on an amd64 system, however, you can't load a i386 ko into a running amd64 kernel. The nvidia site states: If you are using FreeBSD 6.x, you will need to make sure that the 'compat5x' package is installed. Well, I have found you need more than that! You need the 5x /lib stuff as well. You have to copy the FreeBSD 5.x libraries from somewhere to run the nvidia-xconfig script. Here is what I did: rsync -av host-running-5.5:/lib/ /lib55 cd /lib ln -s /lib55/libm.so.3 . ln -s /lib55/libc.so.5 . After running nvidia-xconfig, X windows launches with the proper resolution. *** AUDIO *** The last step was getting the audio to work. The snd_hda driver is needed. The easiest way to do this, is to download the binary snd_hda module. get "sndkld_releng6_i386_lowlatency.tar.gz" from here: http://people.freebsd.org/~ariff/lowlatency/ You need to unpack that tarball and copy sound.ko and snd_hda.ko into /boot/kernel. Then run: kld_load snd_hda Oh, if you already have the old sound.ko loaded, unload it first. Here is more info on the snd_hda driver: http://people.freebsd.org/~ariff/ http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-September/004864.html More references: Asus site http://www.asus.com/products4.aspx?l1=1&l2=1&l3=0&model=1159&modelmenu=1 This page (and any updates) http://www.monkeybrains.net/~rudy/example/asus_V2-AH2.html - Rudy monkeybrains.net