Date: Fri, 30 Jun 2006 12:02:25 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Jiri Mikulas <konfer@mikulas.com> Cc: freebsd-questions@freebsd.org, srp@tworoads.net Subject: Re: mbmon on Dell Precision 670 Message-ID: <44zmfuvdgu.fsf@be-well.ilk.org> In-Reply-To: <44A504BA.6030605@mikulas.com> (Jiri Mikulas's message of "Fri, 30 Jun 2006 13:02:18 %2B0200") References: <44A504BA.6030605@mikulas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jiri Mikulas <konfer@mikulas.com> writes: > Hello > I'm trying to get temperature info about CPUs on Dell Precision 670 > motherboard. > I have kernel (FreeBSD 6.1-STABLE #0: Fri Jun 30 07:12:09 CEST 2006) > with SMB > device smb > device smbus > device intpm > device ichsmb > > device iicbus # Bus support, required for > ic/iic/iicsmb below. > device iicbb > device ic > device iic > device iicsmb # smb over i2c bridge > > the SMB device is > tnt-new:~# dmesg | grep smb > ichsmb0: <Intel 82801EB (ICH5) SMBus controller> port 0xece0-0xecff irq > 17 at device 31.3 on pci0 > ichsmb0: [GIANT-LOCKED] > smbus0: <System Management Bus> on ichsmb0 > smb0: <SMBus generic I/O> on smbus0 > > ichsmb0@pci0:31:3: class=0x0c0500 card=0x01681028 chip=0x24d38086 > rev=0x02 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' > class = serial bus > subclass = SMBus > > but if I run mbmon (with SMB support, compiled from ports) I got this > error at the end > > tnt-new:~# mbmon > ioctl(smb0:writebyte): Device not configured > Exit 255 > > tnt-new:~# mbmon -D > Probe Request: none >>>> Testing Reg's at SMBus <<< > SMBus slave 0x2E(0x17) found... > SMBus slave 0x44(0x22) found... > SMBus slave 0x52(0x29) found... > SMBus slave 0x56(0x2B) found... > SMBus slave 0x64(0x32) found... > SMBus slave 0x6E(0x37) found... > SMBus slave 0xAE(0x57) found... > SMBus slave 0xC4(0x62) found... > SMBus slave 0xD6(0x6B) found... > SMBus slave 0xE4(0x72) found... > SMBus slave 0xEE(0x77) found... > Set SMBus slave address: 0xEE > Probing Winbond/Asus/LM78/79 chip: > CR40:0x06, CR41:0x06, CR42:0x06, CR43:0x06 > CR44:0x06, CR45:0x06, CR46:0x06, CR47:0x06 > CR48:0x06, CR49:0x06, CR4A:0x06, CR4B:0x06 > CR4C:0x06, CR4D:0x06, CR4E:0x06, CR4F:0x06 > CR56:0x06, CR58:0x06, CR59:0x06, CR5D:0x06 > CR3E:0x06, CR13:0x06, CR17:0x06, CRA1:0xFF > CR20:0x06, CR22:0x06, CR23:0x06, CR24:0x06 > CR27:0x06, CR29:0x06, CR2A:0x06, CR2B:0x06 > Set SMBus slave address: 0x52 > Probing Winbond/Asus/LM78/79 chip: > CR40:0xCE, CR41:0x00, CR42:0x00, CR43:0x00 > CR44:0x00, CR45:0x00, CR46:0x00, CR47:0x00 > CR48:0x02, CR49:0x4D, CR4A:0x33, CR4B:0x20 > CR4C:0x39, CR4D:0x33, CR4E:0x80, CR4F:0x32 > CR56:0x2D, CR58:0x43, CR59:0x43, CR5D:0x05 > CR3E:0x12, CR13:0x01, CR17:0x50, CRA1:0xFF > CR20:0x35, CR22:0x15, CR23:0x27, CR24:0x3C > CR27:0x00, CR29:0x37, CR2A:0x69, CR2B:0x80 > Set SMBus slave address: 0x56 > Probing Winbond/Asus/LM78/79 chip: > CR40:0xAD, CR41:0x00, CR42:0x00, CR43:0x00 > CR44:0x00, CR45:0x00, CR46:0x00, CR47:0x00 > CR48:0x01, CR49:0x48, CR4A:0x59, CR4B:0x4D > CR4C:0x50, CR4D:0x35, CR4E:0x31, CR4F:0x32 > CR56:0x45, CR58:0x20, CR59:0x20, CR5D:0x05 > CR3E:0x12, CR13:0x01, CR17:0x50, CRA1:0x03 > CR20:0x35, CR22:0x15, CR23:0x27, CR24:0x3C > CR27:0x00, CR29:0x37, CR2A:0x69, CR2B:0x80 > ioctl(smb0:writebyte): Device not configured > Exit 255 > > Dou you anybody know what should be wrong ? > I found this article http://www.tworoads.net/~srp/hn/monitor420.html > but I don't know how to get value from SMBus slave addresses :(. In that case, trial and error. There might be some documentation for your motherboard that would at least specify what is on the SM Bus, if not their actual addresses. I was just looking at the ICH specs because I was trying to hack in support for an ICH6 SMBus, but they don't even give conventions for placing the slave devices. Good luck.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44zmfuvdgu.fsf>