From owner-freebsd-current@FreeBSD.ORG Thu Dec 8 08:12:28 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D081016A41F for ; Thu, 8 Dec 2005 08:12:28 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from centrmmtao04.cox.net (centrmmtao04.cox.net [70.168.83.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B5CF43D78 for ; Thu, 8 Dec 2005 08:12:28 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by centrmmtao04.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051208081046.IRGM8318.centrmmtao04.cox.net@mezz.mezzweb.com>; Thu, 8 Dec 2005 03:10:46 -0500 Date: Thu, 08 Dec 2005 02:13:09 -0600 To: "Artemiev Igor" References: <20051206093020.691e1483.ai@bmc.brk.ru> <20051207095818.0b307c89.ai@bmc.brk.ru> <20051208091422.4d1a3ee0.ai@bmc.brk.ru> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20051208091422.4d1a3ee0.ai@bmc.brk.ru> User-Agent: Opera M2/8.51 (Linux, build 1462) Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] nForce2 SMBus support - nForce3/4 support added. Not tested yet X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2005 08:12:29 -0000 On Thu, 08 Dec 2005 00:14:22 -0600, Artemiev Igor wrote: > On Wed, 7 Dec 2005 12:56:49 +0300 > Vladimir Timofeev wrote: > >> Thanks for ansver. I'll also try studing xmbmon sources ;-) >> I use xmbmon from latest ports - xmbmon-205_1 > > I assume, that mbmon can't recognize the chip. I tested another board > from Asus with nForce2 chipset, and it worked perfectly. Possibly, you > should set the chip type by -p, if that is the case. It's not a driver > problem. > > %mbmon -S -d > > Using SMBus access method[NVidia nForce2]!! > * Asus Chip ASB100(Bach) found. > > %mbmon -S > > Temp.= 41.0, 25.0, 30.0; Rot.= 5314, 0, 0 > Vcore = 1.68, 1.68; Volt. = 3.30, 4.92, 11.80, -10.79, -4.66 > > Temp.= 41.0, 25.0, 30.0; Rot.= 5314, 0, 0 > Vcore = 1.70, 1.70; Volt. = 3.26, 4.92, 11.80, -10.79, -4.66 > > Temp.= 41.0, 25.0, 30.0; Rot.= 5357, 0, 0 > Vcore = 1.68, 1.68; Volt. = 3.30, 4.92, 11.80, -10.79, -4.66 > > I've also added the support for nForce3/4, like with lm_sensors, > but haven't tested a new patch: > > http://bmc.brk.ru/~ai/patches/amdpm.nforce2_support.diff > > You may try it with an other chipsets, if you want. Thanks, I see you have added one of chipset (0x0084) that is what I have but mbmon couldn't pick up. Also, there is no /dev/smb*. FreeBSD 6.0-STABLE (Dec 6th) Motherboard: http://www.msicomputer.com/product/p_spec.asp?model=K7N2_Delta2_Platinum&class=mb dmesg: ========================================== --- dmesg-before Thu Dec 8 00:22:40 2005 +++ dmesg-after Thu Dec 8 01:21:08 2005 @@ -30,7 +30,10 @@ pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 -pci0: at device 1.1 (no driver attached) +amdpm0: port 0xc400-0xc41f,0x5000-0x501f irq 23 at device 1.1 on pci0 +smbus0: on amdpm0 +amdpmsub0: on amdpm0 +smbus1: on amdpmsub0 ohci0: mem 0xe4001000-0xe4001fff irq 20 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support ========================================== pciconf: ========================================== --- pciconf-before Thu Dec 8 00:23:53 2005 +++ pciconf-after Thu Dec 8 01:21:21 2005 @@ -33,7 +33,7 @@ device = 'nForce MCP2S PCI to ISA Bridge' class = bridge subclass = PCI-ISA -none5@pci0:1:1: class=0x0c0500 card=0x57001462 chip=0x008410de rev=0xa1 hdr=0x00 +amdpm0@pci0:1:1: class=0x0c0500 card=0x57001462 chip=0x008410de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP2S PCI System Management' class = serial bus ========================================== mbmon: ========================================== % mbmon -S -d No SMBus HWM available!! InitMBInfo: Unknown error: 0 ========================================== Without use -S in mbmon, mbmon always work fine with and without your patch. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org