Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2005 00:21:36 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, John Baldwin <jhb@freebsd.org>, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/pci amdpm.c
Message-ID:  <20051216222136.GK41326@ip.net.ua>
In-Reply-To: <op.s1wcvae39aq2h7@mezz.mezzweb.com>
References:  <200512161503.jBGF3GZb075045@repoman.freebsd.org> <200512161039.57740.jhb@freebsd.org> <20051216160946.GF41326@ip.net.ua> <op.s1waswjj9aq2h7@mezz.mezzweb.com> <20051216214540.GI41326@ip.net.ua> <op.s1wcvae39aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, Dec 16, 2005 at 04:03:00PM -0600, Jeremy Messenger wrote:
> >Yes.  Please change ID_NFORCE2 define in pci_pm.h (in xmbmon sources)
> >from 0x006410DE to 0x008410DE, this will "add support for your SMBus
> >controller to xmbmon".  I doubt it will ever work, but just to be
> >absolutely sure, try again mbmon commands I asked and show me the
> >output.
> 
> # mbmon -A -d
> Summary of Detection:
>  * SMB monitor(s)[ioctl:NVidia nForce2]:
>   ** Genesys Logic GL518SM_rev80 found at slave address: 0x58.
>  * ISA monitor(s):
>   ** Winbond Chip W83627HF/THF/THF-A found.
>   ** Int.Tec.Exp. Chip IT8705F/IT8712F or SIS950 found.
> 
> # mbmon -S 8
> 
> Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
> Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00
> 
> Temp.= 25.0,  0.0,  0.0; Rot.=  833,    0,    0
> Vcore = 3.04, 0.00; Volt. = 3.04, 3.68, 12.76,   0.00,  0.00
> 
> Temp.= 41.0,  0.0,  0.0; Rot.=  750,    0,    0
> Vcore = 3.34, 0.00; Volt. = 3.34, 4.05, 14.03,   0.00,  0.00
> 
> Temp.= 57.0,  0.0,  0.0; Rot.=  681,    0,    0
> Vcore = 2.43, 0.00; Volt. = 2.43, 2.94, 10.20,   0.00,  0.00
> 
> Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
> Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00
> 
Not surprisingly that I get exactly the same nonsense on my nForce3:

amdpm0@pci0:1:1:        class=0x0c0500 card=0x80c51043 chip=0x00d410de rev=0xa4 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP3? SMBus Controller'
    class    = serial bus
    subclass = SMBus

./mbmon -S -d
Using SMBus-ioctl access method[NVidia nForce2]!!
* Genesys Logic GL518SM_rev80 found.

./mbmon -S -c8 1

Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00

Temp.= 25.0,  0.0,  0.0; Rot.=  833,    0,    0
Vcore = 3.04, 0.00; Volt. = 3.04, 3.68, 12.76,   0.00,  0.00

Temp.= 41.0,  0.0,  0.0; Rot.=  750,    0,    0
Vcore = 3.34, 0.00; Volt. = 3.34, 4.05, 14.03,   0.00,  0.00

Temp.= 57.0,  0.0,  0.0; Rot.=  681,    0,    0
Vcore = 2.43, 0.00; Volt. = 2.43, 2.94, 10.20,   0.00,  0.00

Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00

Temp.= 25.0,  0.0,  0.0; Rot.=  833,    0,    0
Vcore = 3.04, 0.00; Volt. = 3.04, 3.68, 12.76,   0.00,  0.00

Temp.= 41.0,  0.0,  0.0; Rot.=  750,    0,    0
Vcore = 3.34, 0.00; Volt. = 3.34, 4.05, 14.03,   0.00,  0.00

Temp.= 57.0,  0.0,  0.0; Rot.=  681,    0,    0
Vcore = 2.43, 0.00; Volt. = 2.43, 2.94, 10.20,   0.00,  0.00

Exactly the same non-sense, with cycle count of four.

OK, I'm going to add a true AMD-8111 SMBus 2.0 support which
should also cover nForce-2/3/4 chipsets.  For now, John, I
believe you're safe to revert your commit (I'll make it a
separate driver, nf2pm.c perhaps).


Cheers,
-- 
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDoz3wqRfpzJluFF4RAvfLAJ4i5st5Uxz+/FlKY6BdFI7QTFh2awCfUgJo
eOLx5hwz5OutgyWY1fjZpX4=
=kRVu
-----END PGP SIGNATURE-----

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