smbus and freebsd 5.3

Andrea Venturoli ml.diespammer at netfence.it
Wed Mar 2 09:40:00 GMT 2005


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 at pci0:0:0:  class=0x060000 card=0x00000000 chip=0x03051106 rev=0x02 hdr=0x00
> pcib1 at pci0:1:0: class=0x060400 card=0x00000080 chip=0x83051106 rev=0x00 hdr=0x01
> isab0 at pci0:7:0: class=0x060100 card=0x00001106 chip=0x06861106 rev=0x40 hdr=0x00
> viapropm0 at pci0:7:4:     class=0x068000 card=0x30571106 chip=0x30571106 rev=0x40 hdr=0x00
^^^^^^^^^^^^^^^^^^^^^
> ahd0 at pci0:9:0:  class=0x010000 card=0x00429005 chip=0x80129005 rev=0x03 hdr=0x00
> ahd1 at pci0:9:1:  class=0x010000 card=0x00429005 chip=0x80129005 rev=0x03 hdr=0x00
> fxp0 at pci0:11:0: class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00
> none0 at 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.


More information about the freebsd-questions mailing list