Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Dec 2005 02:13:09 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Artemiev Igor" <ai@bmc.brk.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [PATCH] nForce2 SMBus support - nForce3/4 support added. Not tested yet
Message-ID:  <op.s1gg37ii9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20051208091422.4d1a3ee0.ai@bmc.brk.ru>
References:  <20051206093020.691e1483.ai@bmc.brk.ru> <c26b523e0512061718m7a10eea0u@mail.gmail.com> <20051207095818.0b307c89.ai@bmc.brk.ru> <c26b523e0512070156t4c58a4bdj@mail.gmail.com> <20051208091422.4d1a3ee0.ai@bmc.brk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 08 Dec 2005 00:14:22 -0600, Artemiev Igor <ai@bmc.brk.ru> wrote:

> On Wed, 7 Dec 2005 12:56:49 +0300
> Vladimir Timofeev <vovkasm@gmail.com> 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: <memory, RAM> at device 0.5 (no driver attached)
  isab0: <PCI-ISA bridge> at device 1.0 on pci0
  isa0: <ISA bus> on isab0
-pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
+amdpm0: <nForce2/3/4 MCP SMBus Controller> port  
0xc400-0xc41f,0x5000-0x501f irq 23 at device 1.1 on pci0
+smbus0: <System Management Bus> on amdpm0
+amdpmsub0: <nForce2/3/4 MCP Slave SMBus Controller> on amdpm0
+smbus1: <System Management Bus> on amdpmsub0
  ohci0: <OHCI (generic) USB controller> 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



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