From owner-freebsd-acpi@freebsd.org Thu Jul 7 09:34:33 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01A1EB74998 for ; Thu, 7 Jul 2016 09:34:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 299A41DCB; Thu, 7 Jul 2016 09:34:31 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA00341; Thu, 07 Jul 2016 12:34:29 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1bL5hV-000D09-BF; Thu, 07 Jul 2016 12:34:29 +0300 Subject: Re: no fan and temperature info To: John Baldwin , freebsd-acpi@FreeBSD.org, SERGEY References: <5416462.zg49n8S1BL@ralph.baldwin.cx> From: Andriy Gapon Message-ID: <52f7a414-1bef-7430-52e1-732138141be1@FreeBSD.org> Date: Thu, 7 Jul 2016 12:33:33 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <5416462.zg49n8S1BL@ralph.baldwin.cx> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 09:34:33 -0000 On 24/06/2016 23:44, John Baldwin wrote: > On Thursday, December 17, 2015 01:42:20 AM SERGEY wrote: >> Hi >> Please help me. I can not view information about the temperature of the >> motherboard and fan speed. >> uname -a >> FreeBSD bsd 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:39 >> UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC >> amd64 >> >> Motherboard: Gigabyte GA-970A-UD3P rev.1 >> control chip: ITE IT8728F >> >> pciconf -lv | grep -A4 none >> none0@pci0:0:20:0: class=0x0c0500 card=0x43851002 chip=0x43851002 >> rev=0x42 hdr=0x00 >> vendor = 'Advanced Micro Devices [AMD] nee ATI' >> device = 'SBx00 SMBus Controller' >> class = serial bus >> subclass = SMBus >> >> mbmon -d -I -p it87 >> No ISA-IO HWM available!! >> InitMBInfo: No such file or directory > > You need an smb device driver for this controller. The intpm(4) driver > only handles devices with revisions < 0x40 (yours is 0x42). > That's correct. But even if intpm supported the chipset it's not guaranteed that the HWM chip is exposed via SMBus. I haven't used mbmon in a while, maybe there is a way to ask it to try using a different address for LPC (ISA) IO access method. The address could be discovered using superiotool (from ports) and the chip's documentation. However, I am not confident that mbmon knows enough about that specific chip (IT8728F). -- Andriy Gapon