Dumb R3000Z / zv5000 questions

Neil Short neshort at yahoo.com
Sat Apr 2 02:12:47 PST 2005


Thank you for the detailed explanation.

-N
--- Bruno Ducrot <ducrot at poupinou.org> wrote:
> 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 <bsd.subdir.mk>
> 
> 
> 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 <bsd.kmod.mk>
> 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 <bsd.kmod.mk>
> 
> 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 <bsd.prog.mk>
> 
> 
> 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.
> 

If history always begins this morning, the world holds
exciting surprises around every corner (241).
--Ann Coulter. Treason.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-amd64 mailing list