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

--OGLMwEELQbPC02lM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> # 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.
>=20
> # mbmon -S 8
>=20
> Temp.=3D  9.0,  0.0,  0.0; Rot.=3D  937,    0,    0
> Vcore =3D 2.74, 0.00; Volt. =3D 2.74, 3.31, 11.48,   0.00,  0.00
>=20
> Temp.=3D 25.0,  0.0,  0.0; Rot.=3D  833,    0,    0
> Vcore =3D 3.04, 0.00; Volt. =3D 3.04, 3.68, 12.76,   0.00,  0.00
>=20
> Temp.=3D 41.0,  0.0,  0.0; Rot.=3D  750,    0,    0
> Vcore =3D 3.34, 0.00; Volt. =3D 3.34, 4.05, 14.03,   0.00,  0.00
>=20
> Temp.=3D 57.0,  0.0,  0.0; Rot.=3D  681,    0,    0
> Vcore =3D 2.43, 0.00; Volt. =3D 2.43, 2.94, 10.20,   0.00,  0.00
>=20
> Temp.=3D  9.0,  0.0,  0.0; Rot.=3D  937,    0,    0
> Vcore =3D 2.74, 0.00; Volt. =3D 2.74, 3.31, 11.48,   0.00,  0.00
>=20
Not surprisingly that I get exactly the same nonsense on my nForce3:

amdpm0@pci0:1:1:        class=3D0x0c0500 card=3D0x80c51043 chip=3D0x00d410d=
e rev=3D0xa4 hdr=3D0x00
    vendor   =3D 'NVIDIA Corporation'
    device   =3D 'nForce MCP3? SMBus Controller'
    class    =3D serial bus
    subclass =3D SMBus

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

=2E/mbmon -S -c8 1

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

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

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

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

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

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

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

Temp.=3D 57.0,  0.0,  0.0; Rot.=3D  681,    0,    0
Vcore =3D 2.43, 0.00; Volt. =3D 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,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--OGLMwEELQbPC02lM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

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

--OGLMwEELQbPC02lM--



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