Date: Sun, 18 Dec 2005 19:30:28 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Jeremy Messenger <mezz7@cox.net>, Vladimir Timofeev <vovkasm@gmail.com> Cc: current@FreeBSD.org Subject: New nfpm.c driver available for testing Message-ID: <20051218173028.GV41326@ip.net.ua>
next in thread | raw e-mail | index | archive | help
--cjVziHhGDpplWqiR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, A new nfpm(4) driver is available for testing: http://people.freebsd.org/~ru/patches/nfpm.patch http://people.freebsd.org/~ru/patches/smbtest.c This driver supports nVidia nForce2/3/4 and AMD-8111 SMBus 2.0 controllers. 1. Make sure to create an empty sys/modules/i2c/nfpm/ directory before you apply the patch. 2. Make sure sys/dev/smbus/smbus.c has patched. :-) 3. Recompile and reinstall everything in /sys/modules/i2c/: cd /sys/modules/i2c && make obj && make && make install 4. Reboot and load nfpm.ko and smb.ko from loader(8). NB: On my machine, kldload/kldunload/kldload of nfpm.ko results in non-working driver, due to some yet to be solved I/O resource problem. 5. Check if nfpm0 and nfpm1 devices have been created. 6. Make sure /dev/smb[01] nodes exist. 7. Compile and run the smbtest utility, run it twice, first with /dev/smb0 and then with /dev/smb1 as the only argument. # ./smbtest /dev/smb0 found slave device 8 found slave device 80 found slave device 81 # ./smbtest /dev/smb1 found slave device 8 8. Patch sysutils/xmbmon sources and substitute the PCI ID of your SMBus 2.0 controller (see "pciconf -lv", "nfpm0"): cd /usr/ports/sysutils/xmbmon make patch vi <port_working_directory>/pci_pm.h <search for ID_NFORCE2> make install 8. Run mbmon: mbmon -S -s0 -d mbmon -S -s1 -d If any sensors are detected, e.g. on /dev/smb1 (-s1) try them: mbmon -S -s1 -c8 1 9. Send me the output of "pciconf -lv" and mbmon commands above. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --cjVziHhGDpplWqiR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDpZyzqRfpzJluFF4RAqGGAJwIuiNH0XWJVWq6D8zLwJJkfOAbdACdEqez khSlU74cqG/ZSVEHZjwubl4= =n25t -----END PGP SIGNATURE----- --cjVziHhGDpplWqiR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051218173028.GV41326>