Re: SMBus is there, now what? (fan speed problem)

2007-11-23 Thread Harald Schmalzbauer
Am Freitag, 23. November 2007 16:29:45 schrieb Olivier Drouin:
   I read http://mojo.ru/us/GSoC2007.FreeBSD.cnst-sensors.proposal.html
   and it looks like this is what I need though I'm not sure.
   It's not clear if this patch will allow me to *control* the fan
 speed.
   Right now it's full speed all the time and if I can slow them down I
 would be happy.

   Can this patch be applied to 6.2?

I can't remember mbmon commands, sorry. Too long ago...
I guess the patch will only work with 7.0 and 8-current 
(http://p4web.freebsd.org/@md=dcd=//depot/projects/soc2007/cnst-sensors/c=R96@//depot/projects/soc2007/cnst-sensors/?ac=83)

   I think this board is 2 years old, it should have been supported by
 now, at least the fan speed should follow the
   temperature of the system
   Again it's an Intel server board se7230nh1-e (entry level server
 hardware).

I know that intel had their own monitors, I couldn't find a way to make it 
usable some years ago. If I remember correctly I had to satisfy with 
hw.acpi.thermal.tz0.temperature

Best regards,

-Harry


signature.asc
Description: This is a digitally signed message part.


Re: SMBus is there, now what? (fan speed problem)

2007-11-23 Thread Harald Schmalzbauer
Am Donnerstag, 22. November 2007 15:58:18 schrieb Olivier Drouin:
[...]
 * Hardware Information *

 

 Unknown Vendor: ID = 7F7F

[...]

 What should I try next ?

Afair healthd never really supported anything else than very old Winbond 
monitors.
You can try the  GSoC2007: cnst-sensors.2007-08-20 patch which imports the 
OpenBSD sensors framework and has great support for the most commonly two 
modern chipsets used (it(4), lm(4)).
It's a quiet big modification though. See [EMAIL PROTECTED] archives for the 
announcement from Constantine A. Murenin on 2007/08/14.
If you have an ASUS chances are good that mbmon helps. I had more luck with it 
instead of healthd.

Best regards,

-Harry


signature.asc
Description: This is a digitally signed message part.


RE: SMBus is there, now what? (fan speed problem)

2007-11-23 Thread Olivier Drouin
Hi,
It's hard to know which command should work on which hardware. 
Here is the output of mbmon, and as expected:

[EMAIL PROTECTED] ~]# mbmon 
No Hardware Monitor found!!
InitMBInfo: Unknown error

I read http://mojo.ru/us/GSoC2007.FreeBSD.cnst-sensors.proposal.html
and it looks like this is what I need though I'm not sure. 
It's not clear if this patch will allow me to *control* the fan
speed. 
Right now it's full speed all the time and if I can slow them down I
would be happy.

Can this patch be applied to 6.2? 
I think this board is 2 years old, it should have been supported by
now, at least the fan speed should follow the
temperature of the system
Again it's an Intel server board se7230nh1-e (entry level server
hardware).

Oli.

-Original Message-
From: Harald Schmalzbauer [mailto:[EMAIL PROTECTED] 
Sent: 23 novembre 2007 10:06
To: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Subject: Re: SMBus is there, now what? (fan speed problem)

Am Donnerstag, 22. November 2007 15:58:18 schrieb Olivier Drouin:
[...]
 * Hardware Information *

 

 Unknown Vendor: ID = 7F7F

[...]

 What should I try next ?

Afair healthd never really supported anything else than very old Winbond
monitors.
You can try the  GSoC2007: cnst-sensors.2007-08-20 patch which imports the
OpenBSD sensors framework and has great support for the most commonly two
modern chipsets used (it(4), lm(4)).
It's a quiet big modification though. See [EMAIL PROTECTED] archives for
the announcement from Constantine A. Murenin on 2007/08/14.
If you have an ASUS chances are good that mbmon helps. I had more luck with
it instead of healthd.

Best regards,

-Harry

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.4/1147 - Release Date: 2007-11-23
09:19
 
  

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.4/1147 - Release Date: 2007-11-23
09:19
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMBus is there, now what? (fan speed problem)

2007-11-22 Thread Olivier Drouin
Hello Guys

 

I tried this thread without much success on the freebsd-acpi mail list: 

http://lists.freebsd.org/pipermail/freebsd-acpi/2007-November/004229.html

Anyway, I don’t think the problem is related to Acpi now.

 

I read this:

HYPERLINK
http://www.freebsd.org/releases/6.2R/hardware-i386.htmlhttp://www.freebsd.
org/releases/6.2R/hardware-i386.html

 

Here is the board/chassis I’m using: 

HYPERLINK
http://www.intel.com/design/servers/boards/se7230nh1-e/index.htmhttp://www
.intel.com/design/servers/boards/se7230nh1-e/index.htm

 

I rebuilt a kernel with the following new devices:

device intpm

device ichsmb

device smbus

device intpm

device iic

device iicbus

device iicbb

device intpm

device smb

 

I assume its way too many but I don’t even know which does what.

 Anyway with this setup I can see /dev/smb0.

Here is the output of some of the utilities:

 

[EMAIL PROTECTED] /usr/src]# healthd -d -S



* Hardware Information *



Unknown Vendor: ID = 7F7F



 

Temp.=  0.0, -127.0, -127.0; Rot.=  927,0, 2896

 Vcore = 0.00, 0.00; Volt. = 0.00, 0.00,  0.00,   0.00,  0.00

 

[EMAIL PROTECTED] /usr/src]# lmmon

IOCTL: Device not configured

 

[EMAIL PROTECTED] /usr/src]# lmmon -i

 

Motherboard Temp   Voltages

 

 255C / 491F / 528KVcore1:   +3.984V

   Vcore2:   +3.984V

Fan Speeds + 3.3V:   +3.984V

   + 5.0V:   +6.654V

1:0 rpm+12.0V:  +15.938V

2:0 rpm-12.0V:  -15.938V

3:0 rpm- 5.0V:   -6.654V

 

 

[EMAIL PROTECTED] /usr/src]# dmesg

...

acpi0: INTEL 04DT044 on motherboard

acpi0: Power Button (fixed)

Timecounter ACPI-safe frequency 3579545 Hz quality 1000

acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0

cpu0: ACPI CPU on acpi0

acpi_perf0: ACPI CPU Frequency Control on cpu0

acpi_perf0: failed in PERF_STATUS attach

device_attach: acpi_perf0 attach returned 6

acpi_perf0: ACPI CPU Frequency Control on cpu0

acpi_perf0: failed in PERF_STATUS attach

device_attach: acpi_perf0 attach returned 6

acpi_button0: Sleep Button on acpi0

...

ichsmb0: SMBus controller port 0x3000-0x301f irq 19 at device 31.3 on pci0

ichsmb0: [GIANT-LOCKED]

smbus0: System Management Bus on ichsmb0

smb0: SMBus generic I/O on smbus0

atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0

atkbd0: AT Keyboard irq 1 on atkbdc0

kbd0 at atkbd0

...

 

 

 

# pciconf –lv

...

[EMAIL PROTECTED]:31:3:  class=0x0c0500 card=0x346a8086 chip=0x27da8086
rev=0x01 hdr=0x00

vendor   = 'Intel Corporation'

device   = '82801G (ICH7 Family) SMBus Controller'

class= serial bus

subclass = SMBus

...

 

 

 

[EMAIL PROTECTED] /usr/src]# chm

ioctl: Device not configured



IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

IOCTL: Device not configured

Motherboard Temperature: 191 ° C

CPU_0 Temperature: 191 ° C

CPU_1 Temperature: 191 ° C

IOCTL: Device not configured

VCore:   2.98438 V

IOCTL: Device not configured

Vit: 2.98438 V

IOCTL: Device not configured

Vio: 2.98438 V

IOCTL: Device not configured

+5V: 4.98391 V

IOCTL: Device not configured

+12V:11.9375 V

IOCTL: Device not configured

-12V:-11.9375 V

IOCTL: Device not configured

-5V: -4.98391 V

IOCTL: Device not configured

Fan 1: 883 rpm

IOCTL: Device not configured

Fan 2: 1767 rpm

IOCTL: Device not configured

Fan 3: 3534 rpm



 

 

 

[EMAIL PROTECTED] /usr/src]# chm -I

Using ISA Method.



Motherboard Temperature: 255 ° C

CPU_0 Temperature: 0 ° C

CPU_1 Temperature: 0 ° C

VCore:   3.98438 V

Vit: 3.98438 V

Vio: 3.98438 V

+5V: 6.65391 V

+12V:15.9375 V

-12V:-15.9375 V

-5V: -6.65391 V

Fan 1: Not Available

Fan 2: Not Available

Fan 3: Not Available

 

 

What should I try next ?

 

Oli


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.4/1145 - Release Date: 2007-11-22
11:49
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]