Date: Wed, 17 Oct 2012 23:38:57 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Derek Kulinski <takeda@takeda.tk> Cc: freebsd-stable@FreeBSD.org Subject: Re: Problem reading vitals from Gigabyte H77-DH3H Message-ID: <507F1761.1010202@FreeBSD.org> In-Reply-To: <1286515493.20121017131543@takeda.tk> References: <1286515493.20121017131543@takeda.tk>
next in thread | previous in thread | raw e-mail | index | archive | help
on 17/10/2012 23:15 Derek Kulinski said the following: > Hello everyone, > > I'm unable to read temperature Gigabyte H77-DH3H motherboard. Is that > motherboard supported or am I doing it incorrectly? > > When trying to access hw.acpi.thermal everything appears to be ok, but > it is not, the system always returns 27,8C and 29,8C which fooled me > initially - the values never change. I've found that on quite a few modern systems the ACPI platform advertises some useless thermal zones, which always return some hardcoded temperatures. E.g. I have Asus P8Z77-M PRO near me and it also reports two thermal zones. Looking at DSDT (acpidump -dt) I see that the temperatures are hardcoded. It seems that your motherboard has an ITE Super I/O with hardware monitoring function. I am not sure which model though... Your best bet would be it(4) driver, but it is not committed yet. If you are into some mild hacking (applying patches, building custom kernel), then I can point you to the patches. Although I can not give a firm guarantee that the driver supports your HWM chip, since I don't know the model. > Here is output: > [chinatsu]:/root# sysctl hw.acpi.thermal > hw.acpi.thermal.min_runtime: 0 > hw.acpi.thermal.polling_rate: 10 > hw.acpi.thermal.user_override: 0 > hw.acpi.thermal.tz0.temperature: 27,8C > hw.acpi.thermal.tz0.active: 2 > hw.acpi.thermal.tz0.passive_cooling: 0 > hw.acpi.thermal.tz0.thermal_flags: 0 > hw.acpi.thermal.tz0._PSV: -1 > hw.acpi.thermal.tz0._HOT: -1 > hw.acpi.thermal.tz0._CRT: 106,0C > hw.acpi.thermal.tz0._ACx: 85,0C 55,0C 0,0C 0,0C 0,0C -1 -1 -1 -1 -1 > hw.acpi.thermal.tz0._TC1: -1 > hw.acpi.thermal.tz0._TC2: -1 > hw.acpi.thermal.tz0._TSP: -1 > hw.acpi.thermal.tz1.temperature: 29,8C > hw.acpi.thermal.tz1.active: -1 > hw.acpi.thermal.tz1.passive_cooling: 1 > hw.acpi.thermal.tz1.thermal_flags: 0 > hw.acpi.thermal.tz1._PSV: 106,0C > hw.acpi.thermal.tz1._HOT: -1 > hw.acpi.thermal.tz1._CRT: 106,0C > hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 > hw.acpi.thermal.tz1._TC1: 1 > hw.acpi.thermal.tz1._TC2: 5 > hw.acpi.thermal.tz1._TSP: 10 > > Since above method fails, I decided to try motherboard monitors in > ports. It seems that almost all of them rely on /dev/smb device. > > After loading smb and ichsmb (seems like ichsmb is the only driver > that causes /dev/smb0) any access to /dev/smb0 returns "Device > not configured". For example: > > [chinatsu]:/root# lmmon > IOCTL: Device not configured > > Similarly mbmon fails: > [chinatsu]:/root# mbmon -V > No VIA686 HWM available!! > InitMBInfo: No error: 0 > Exit 1 > [chinatsu]:/root# mbmon -S > No SMBus HWM available!! > InitMBInfo: No error: 0 > Exit 1 > [chinatsu]:/root# mbmon -I > No ISA-IO HWM available!! > InitMBInfo: No error: 0 > Exit 1 > [chinatsu]:/root# mbmon -A > InitMBInfo: No error: 0 > This program needs "setuid root"!! > Exit 1 > > Here's output of pciconf: These tools from ports are very outdated and thus do not support new hardware. > [chinatsu]:/root# pciconf -lv > hostb0@pci0:0:0:0: class=0x060000 card=0x50001458 chip=0x01508086 rev=0x09 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Ivy Bridge DRAM Controller' > class = bridge > subclass = HOST-PCI > vgapci0@pci0:0:2:0: class=0x030000 card=0xd0001458 chip=0x01528086 rev=0x09 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Ivy Bridge Graphics Controller' > class = display > subclass = VGA > xhci0@pci0:0:20:0: class=0x0c0330 card=0x50071458 chip=0x1e318086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Panther Point USB xHCI Host Controller' > class = serial bus > subclass = USB > none0@pci0:0:22:0: class=0x078000 card=0x1c3a1458 chip=0x1e3a8086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Panther Point MEI Controller' > class = simple comms > ehci0@pci0:0:26:0: class=0x0c0320 card=0x50061458 chip=0x1e2d8086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Panther Point USB Enhanced Host Controller' > class = serial bus > subclass = USB > pcib1@pci0:0:28:0: class=0x060400 card=0x50011458 chip=0x1e108086 rev=0xc4 hdr=0x01 > vendor = 'Intel Corporation' > device = 'Panther Point PCI Express Root Port 1' > class = bridge > subclass = PCI-PCI > pcib2@pci0:0:28:2: class=0x060400 card=0x50011458 chip=0x1e148086 rev=0xc4 hdr=0x01 > vendor = 'Intel Corporation' > device = 'Panther Point PCI Express Root Port 3' > class = bridge > subclass = PCI-PCI > pcib3@pci0:0:28:3: class=0x060401 card=0x50011458 chip=0x244e8086 rev=0xc4 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801 PCI Bridge' > class = bridge > subclass = PCI-PCI > ehci1@pci0:0:29:0: class=0x0c0320 card=0x50061458 chip=0x1e268086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Panther Point USB Enhanced Host Controller' > class = serial bus > subclass = USB > isab0@pci0:0:31:0: class=0x060100 card=0x50011458 chip=0x1e4a8086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Panther Point LPC Controller' > class = bridge > subclass = PCI-ISA > ahci0@pci0:0:31:2: class=0x010601 card=0xb0051458 chip=0x1e028086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Panther Point 6 port SATA AHCI Controller' > class = mass storage > subclass = SATA > ichsmb0@pci0:0:31:3: class=0x0c0500 card=0x50011458 chip=0x1e228086 rev=0x04 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Panther Point SMBus Controller' > class = serial bus > subclass = SMBus > alc0@pci0:2:0:0: class=0x020000 card=0xe0001458 chip=0x10831969 rev=0xc0 hdr=0x00 > vendor = 'Atheros Communications' > device = 'AR8151 v2.0 Gigabit Ethernet' > class = network > subclass = ethernet > pcib4@pci0:3:0:0: class=0x060401 card=0x88921458 chip=0x244e8086 rev=0x41 hdr=0x01 > vendor = 'Intel Corporation' > device = '82801 PCI Bridge' > class = bridge > subclass = PCI-PCI > em0@pci0:4:1:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05 hdr=0x00 > vendor = 'Intel Corporation' > device = '82541PI Gigabit Ethernet Controller' > class = network > subclass = ethernet > > -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?507F1761.1010202>