Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2002 00:01:15 +0200 (CEST)
From:      Dan Larsson <dl@tyfon.net>
To:        hackers@freebsd.org
Subject:   Enabling the SMBUS controller on an ASUS P4B motherboard
Message-ID:  <20020827233627.S76730-100000@hq1.tyfon.net>

next in thread | raw e-mail | index | archive | help
While trying to get hardware monitoring to work on my computer I
found the below procedure to enable the smbus device.

It didn't get me any closer to actually monitoring the hardware with
xbmon, lmmon or healthd. But the device is there.

Can this probe/tweak be done during boot somehow? I'd gladly try out
patches :-) Please CC me as I'm not on the freebsd-hackers list.

% pcitweak -l >pci.before
% pcitweak -r 00:1f:0: -h 0xf2
0x0148
% pcitweak -w 00:1f:0: -h 0xf2 0x0040
% pcitweak -l >pci.after
% diff -u pci.before pci.after
--- pci.before  Tue Aug 27 23:30:46 2002
+++ pci.after   Tue Aug 27 23:30:52 2002
@@ -7,6 +7,7 @@
 PCI: 00:1f:0: chip 8086,2440 card 0000,0000 rev 12 class 06,01,00 hdr 80
 PCI: 00:1f:1: chip 8086,244b card 1043,8028 rev 12 class 01,01,80 hdr 00
 PCI: 00:1f:2: chip 8086,2442 card 1043,8028 rev 12 class 0c,03,00 hdr 00
+PCI: 00:1f:3: chip 8086,2443 card 1043,8028 rev 12 class 0c,05,00 hdr 00
 PCI: 00:1f:4: chip 8086,2444 card 1043,8028 rev 12 class 0c,03,00 hdr 00
 PCI: 00:1f:5: chip 8086,2445 card 1043,8072 rev 12 class 04,01,00 hdr 00
 PCI: 01:00:0: chip 10de,0110 card 1043,403d rev b2 class 03,00,00 hdr 00

I used the "prog/hotplug/README.p4b" document located in the
lm_sensors source distribution file for linux as a guide, it
is available here:

  ftp://ftp.netroedge.com/pub/lm-sensors/lm_sensors-2.6.4.tar.gz


Regards
+------
Dan Larsson  -+- Tyfon Svenska AB -+-  DL1999-RIPE
A9C8 7230 ECFB 5B06 5370  B571 1E88 9C76 ACDE 744C


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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