From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 1 12:35:02 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0310016A4CE for ; Fri, 1 Apr 2005 12:35:02 +0000 (GMT) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E18D43D31 for ; Fri, 1 Apr 2005 12:35:01 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1DHLMM-0001bD-00; Fri, 01 Apr 2005 14:34:46 +0200 Date: Fri, 1 Apr 2005 14:34:46 +0200 To: Neil Short Message-ID: <20050401123446.GN2298@poupinou.org> References: <20050401064719.30057.qmail@web30703.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050401064719.30057.qmail@web30703.mail.mud.yahoo.com> User-Agent: Mutt/1.5.6+20040907i From: Bruno Ducrot cc: freebsd-amd64@freebsd.org Subject: Re: Dumb R3000Z / zv5000 questions X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:35:02 -0000 On Thu, Mar 31, 2005 at 10:47:19PM -0800, Neil Short wrote: > 1) are there any instructions on how to use the powerd > (http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/powerd/) > or the powernow tools? It's not intuitive to me. for -current, just kldload cpufreq, or compile kernel with device cpufreq then you can configure powerd via /etc/rc.conf for RELENG_5, specific low level drivers are not yet been MFC, but the cpufreq infrastucture is. So you have to do something like that in the time beeing: On, say, $HOME/cpufreq, cvs co src/sys/dev/acpica/acpi_perf.c cvs co -P src/sys/dev/cpufreq cvs co -P src/sys/i386/cpufreq cvs co -P src/usr.sbin/powerd mkdir acpi_perf cp src/sys/dev/acpica/acpi_perf.c acpi_perf cp -r src/sys/i386/cpufreq . cp src/sys/dev/cpufreq/ichss.c cpufreq cp -r src/usr.sbin/powerd . Then modify or add some Makefile: I'm using the following: cat Makefile SUBDIR = acpi_perf cpufreq powerd .include cat acpi_perf/Makefile CFLAGS+= -I@/contrib/dev/acpica KMOD= acpi_perf WARNS?= 2 SRCS= acpi_perf.c SRCS+= acpi_if.h bus_if.h cpufreq_if.h device_if.h opt_acpi.h \ pci_if.h .include cat cpufreq/Makefile KMOD= cpufreq SRCS= est.c ichss.c p4tcc.c powernow.c SRCS+= bus_if.h cpufreq_if.h device_if.h .include I also have to modify a little the Makefile for powerd as such: # $FreeBSD: src/usr.sbin/powerd/Makefile,v 1.2 2005/02/26 22:50:25 njl # Exp $ PROG= powerd MAN= powerd.8 WARNS?= 6 BINDIR= /usr/sbin .include Then do a make followed by a make install. You can then, in order: kldload acpi_perf kldload cpufreq and launch powerd(8) with option '-v' for testing purpose. > 1a) Does it work with the XP-M (32 bit) processor? Yes > > 2) what is the recommended sound module for this > equipment? I know this was answered somewhere before > but I sure can't find it. Don't know. Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.