Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2004 12:31:15 +0200
From:      Bruno Ducrot <ducrot@poupinou.org>
To:        Jochen Gensch <incmc@gmx.de>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: [speedstep] testers wanted
Message-ID:  <20040920103115.GH16132@poupinou.org>
In-Reply-To: <414894AC.3060608@gmx.de>
References:  <414894AC.3060608@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 15, 2004 at 09:14:52PM +0200, Jochen Gensch wrote:
> > I just finished a speedstep driver for p3m and p4m but it's a little bit
> > ugly, and worst it would work only with ich chipsets.  Even worst, I
> > don't have the hardware so I can't test it.
> 
> I don't if I have the correct hardware, but I gave it a try since I have 
> IBM Thinkpad A30p here with a lot of ICH things inside. But I need some 
> more input on what data you need...

Looks OK.

> 
> Some things...
> 
> System 5.3-BETA4
> 
> SU NB /:dmesg | grep ICH
> uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 
> 0x1800-0x181f irq 9 at device 29.0 on pci0
> usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
> uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 
> 0x1820-0x183f irq 11 at device 29.1 on pci0
> usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
> uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 
> 0x1840-0x185f irq 9 at device 29.2 on pci0
> usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
> fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x8000-0x803f mem 
> 0xc0200000-0xc0200fff irq 10 at device 8.0 on pci2
> atapci0: <Intel ICH3 UDMA100 controller> port 
> 0x1860-0x186f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
> pcm0: <Intel ICH3 (82801CA)> port 0x18c0-0x18ff,0x1c00-0x1cff irq 5 at 
> device 31.5 on pci0
> ichist0: <Intel ICH3m LPC bridge> on motherboard
> 
> 
> SU NB /:sysctl -a | grep ich
> dev.ichist.0.%desc: Intel ICH3m LPC bridge
> dev.ichist.0.%driver: ichist
> dev.ichist.0.%parent: nexus0
> dev.ichist.0.speedstep: 0

Could you please do something like that:
sysctl dev.ichist.0.speedstep=1

This should put the processor in the lower frequency/voltage.  To verify
this is ok, could you please do something like this:

> openssl speed sha1
and see if there is a change.  You can of course set the frequency to
the higher speed by sysctl dev.ichist.0.speedstep=0

Thanks,

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040920103115.GH16132>