From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 11:54:09 2004 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0813C16A4CE for ; Tue, 15 Jun 2004 11:54:09 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8871443D49 for ; Tue, 15 Jun 2004 11:54:07 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5FBrdNf095380; Tue, 15 Jun 2004 13:53:40 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.12.10/8.12.10) with ESMTP id i5FBrfv9021000; Tue, 15 Jun 2004 13:53:41 +0200 (CEST) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.12.10/8.12.10/Submit) id i5FBrfGs020999; Tue, 15 Jun 2004 13:53:41 +0200 (CEST) (envelope-from ftigeot) Date: Tue, 15 Jun 2004 13:53:41 +0200 From: Francois Tigeot To: Martin Nilsson Message-ID: <20040615115341.GA20812@aoi.wolfpond.org> References: <40CEBC17.9050602@mullet.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40CEBC17.9050602@mullet.se> User-Agent: Mutt/1.4.2.1i cc: thinbsd@cogidis.com cc: freebsd-small@freebsd.org Subject: Re: ThinBSD with other videodriver X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 11:54:09 -0000 Hi, On Tue, Jun 15, 2004 at 11:06:31AM +0200, Martin Nilsson wrote: > > I installed thinbsd on to a flash card yesterday only to find that I had > a trident Cyberblade video in my tiny diskless client. > > What is the best way to change the driver? Are only the via driver > compiled and included in mfsroot.gz ? > I found a reference to the via driver in one configure script in the > Xorg port, can i just change this to trident and build a new Xserver? Yes, you should do this. This line overrides the XF86CardDrivers line in xc/config/cf/xorg.cf in the X11 sources; the complete list of drivers can be found there. You will also have to replace "via" by "trident" in xorg.conf. > There should be some convenient way to change the video driver and > Xconfig file (for instance, I have a swedish keyboard, not a french!). > Maybe it would be better to have a more complete Xserver available and > then just pick the parts that are needed and put them into mfsroot. The server should be fairly complete, but in my quest to reduce X footprint to a minimum I removed all video drivers but one. You should try to add 'trident' to the XF86CardDrivers line, recompile the port and replace /usr/X11R6 in the ramdisk by the new files in /var/tmp/Xorg-thinbsd For the keyboard part, this is purely a matter of configuration. Edit /etc/X11/xorg.conf in the ramdisk and replace "fr" in the line containing "XkbLayout" by "se". > Also if booting by PXE are there some way to specify differenet mfsroot > files depending on the device booting, I have many different kinds of > thin clients available. There isn't. This is on my TODO list, but I haven't found a good way to do it yet. > Thanks for a good start, I already like ThinBSD much better than PXEs linux! You're welcome :) We originally started ThinBSD because we didn't find the existing projects satisfactory... I will try to recompile Xorg-thinbsd with both via and trident drivers; if the new X server is not too big, I will update the binary snapshots. -- Francois Tigeot