Re: [PATCH] nForce2 SMBus support - nForce3/4 support added. Not tested yet

From: Jeremy Messenger <mezz7_at_cox.net>
Date: Thu, 08 Dec 2005 02:13:09 -0600
On Thu, 08 Dec 2005 00:14:22 -0600, Artemiev Igor <ai_at_bmc.brk.ru> wrote:

> On Wed, 7 Dec 2005 12:56:49 +0300
> Vladimir Timofeev <vovkasm_at_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
_at__at_ -30,7 +30,10 _at__at_
  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
_at__at_ -33,7 +33,7 _at__at_
      device   = 'nForce MCP2S PCI to ISA Bridge'
      class    = bridge
      subclass = PCI-ISA
-none5_at_pci0:1:1:	class=0x0c0500 card=0x57001462 chip=0x008410de rev=0xa1  
hdr=0x00
+amdpm0_at_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_at_cox.net  -  mezz_at_FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome_at_FreeBSD.org
Received on Thu Dec 08 2005 - 07:12:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC