Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2005 10:39:53 +0100
From:      Andrea Venturoli <ml.diespammer@netfence.it>
To:        freebsd-questions@freebsd.org
Cc:        Andrea Riela <ml@nesys.it>
Subject:   Re: smbus and freebsd 5.3
Message-ID:  <422589E9.9080904@netfence.it>
In-Reply-To: <1119bbf101716352d459049feb0ca1d6@nesys.it>
References:  <d7494d7f4cb07d7c1a33dcb4cc7e8cdf@nesys.it> <d01gnp$c11$2@sea.gmane.org> <1119bbf101716352d459049feb0ca1d6@nesys.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrea Riela wrote:
> Thank you Volodymyr,
> 
> I've tryed with:
> 
> # System Management Bus
> device          smbus
> device          smb
> device          iicsmb
> device          bktr
> device          iicbus
> device          iicbb
> device          iic
> device          ic
> device          viapm
> 
> but nothing.
> mbmon says:
> 
> mbmon -d
> SMBus[VT8233/A/8235/8237(KT266/333/400/600/880)] found, but No HWM  
> available on it!!
> Using ISA-IO access method!!
> * Int.Tec.Exp. Chip IT8705F/IT8712F or SIS950 found.

As far as I can tell (from 
http://www.giga-byte.com/MotherBoard/Products/Products_GA-7VT880-L.htm), 
your MB uses VT8237 as south bridge.

Quoting from `man viapm`:

> This driver provides access to the VIA chipset Power Management Unit fam-
> ily.  They are VT82C586B, VT82C596A, VT82C596B, VT82C686A and VT8233.

So I guess you are out of luck.


As further investigation, you may want to look in 
/usr/src/sys/pci/viapm.c. You'll find:

> #define VIA_586B_PMU_ID         0x30401106
> #define VIA_596A_PMU_ID         0x30501106
> #define VIA_596B_PMU_ID         0x30511106
> #define VIA_686A_PMU_ID         0x30571106
> #define VIA_8233_PMU_ID         0x30741106
> #define VIA_8233A_PMU_ID        0x31471106

If you do "pciconf -l", you should get a list like the following:

> agp0@pci0:0:0:  class=0x060000 card=0x00000000 chip=0x03051106 rev=0x02 hdr=0x00
> pcib1@pci0:1:0: class=0x060400 card=0x00000080 chip=0x83051106 rev=0x00 hdr=0x01
> isab0@pci0:7:0: class=0x060100 card=0x00001106 chip=0x06861106 rev=0x40 hdr=0x00
> viapropm0@pci0:7:4:     class=0x068000 card=0x30571106 chip=0x30571106 rev=0x40 hdr=0x00
^^^^^^^^^^^^^^^^^^^^^
> ahd0@pci0:9:0:  class=0x010000 card=0x00429005 chip=0x80129005 rev=0x03 hdr=0x00
> ahd1@pci0:9:1:  class=0x010000 card=0x00429005 chip=0x80129005 rev=0x03 hdr=0x00
> fxp0@pci0:11:0: class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00
> none0@pci1:0:0: class=0x030000 card=0x00000000 chip=0x002c10de rev=0x15 hdr=0x00

As you can see, I have a chip=0x30571106, which corresponds to 
VIA_686A_PMU_ID, so my chipset is supported by viapm. If you see a 
different value, not listed in the above defines, the driver won't pick 
that chip up.

  bye
	av.



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