Results for Abit NF7 on resent RELENG_6 2005/12/18, Ruslan Ermilov <ru_at_freebsd.org>: > 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. sys/modules/i2c/nfpm/ -> sys/modules/i2c/controllers/nfpm/ ;-) > > 2. Make sure sys/dev/smbus/smbus.c has patched. :-) on RELENG_6 for sys/conf/files: lines in patch: -pci/amdpm.c optional amdpm pci | nfpm pci +pci/amdpm.c optional amdpm pci must be simple -pci/amdpm.c optional nfpm pci > > 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. built with kernel ;-) > > 5. Check if nfpm0 and nfpm1 devices have been created. nfpm0: <nForce2/3/4 MCP SMBus Controller> port 0xe400-0xe41f irq 11 at device 1.1 on pci0 smbus0: <System Management Bus> on nfpm0 smb0: <SMBus generic I/O> on smbus0 nfpm1: <nForce2/3/4 MCP SMBus Controller> on nfpm0 smbus1: <System Management Bus> on nfpm1 smb1: <SMBus generic I/O> on smbus1 > > 6. Make sure /dev/smb[01] nodes exist. yes > > 7. Compile and run the smbtest utility, run it twice, first > with /dev/smb0 and then with /dev/smb1 as the only argument. > root_at_vov# ./smbtest /dev/smb0 found slave device 8 found slave device 78 found slave device 81 found slave device 82 root_at_vov# ./smbtest /dev/smb1 found slave device 8 > # ./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 > No need (see output of 'pciconf -lv') > 8. Run mbmon: > > mbmon -S -s0 -d > mbmon -S -s1 -d > root_at_vov# mbmon -S -s0 -d SMBus[NVidia nForce2] found, but No HWM available on it!! InitMBInfo: Device not configured root_at_vov# mbmon -S -s1 -d SMBus[NVidia nForce2] found, but No HWM available on it!! InitMBInfo: Device not configured > 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. root_at_vov# pciconf -lv agp0_at_pci0:0:0: class=0x060000 card=0x1c02147b chip=0x01e010de rev=0xc1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce2 AGP Controller' class = bridge subclass = HOST-PCI none0_at_pci0:0:1: class=0x050000 card=0x0c1710de chip=0x01eb10de rev=0xc1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce2 Memory Controller 1' class = memory subclass = RAM none1_at_pci0:0:2: class=0x050000 card=0x0c1710de chip=0x01ee10de rev=0xc1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce2 Memory Controller 4' class = memory subclass = RAM none2_at_pci0:0:3: class=0x050000 card=0x0c1710de chip=0x01ed10de rev=0xc1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce2 Memory Controller 3' class = memory subclass = RAM none3_at_pci0:0:4: class=0x050000 card=0x0c1710de chip=0x01ec10de rev=0xc1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce2 Memory Controller 2' class = memory subclass = RAM none4_at_pci0:0:5: class=0x050000 card=0x0c1710de chip=0x01ef10de rev=0xc1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce2 Memory Controller 5' class = memory subclass = RAM isab0_at_pci0:1:0: class=0x060100 card=0x1c02147b chip=0x006010de rev=0xa4 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP2 ISA Bridge' class = bridge subclass = PCI-ISA nfpm0_at_pci0:1:1: class=0x0c0500 card=0x1c02147b chip=0x006410de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP-T? SMBus Controller' class = serial bus subclass = SMBus ohci0_at_pci0:2:0: class=0x0c0310 card=0x1c02147b chip=0x006710de rev=0xa4 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP2 OpenHCI USB Controller' class = serial bus subclass = USB ohci1_at_pci0:2:1: class=0x0c0310 card=0x1c02147b chip=0x006710de rev=0xa4 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP2 OpenHCI USB Controller' class = serial bus subclass = USB ehci0_at_pci0:2:2: class=0x0c0320 card=0x1c02147b chip=0x006810de rev=0xa4 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP2 EHCI USB 2.0 Controller' class = serial bus subclass = USB nve0_at_pci0:4:0: class=0x020000 card=0x1c02147b chip=0x006610de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP-T Networking Adapter' class = network subclass = ethernet pcm0_at_pci0:6:0: class=0x040100 card=0x1c02147b chip=0x006a10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP-T Audio Codec Interface' class = multimedia subclass = audio pcib1_at_pci0:8:0: class=0x060400 card=0x00000000 chip=0x006c10de rev=0xa3 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'nForce MCP-T CPU to PCI Bridge' class = bridge subclass = PCI-PCI atapci0_at_pci0:9:0: class=0x01018a card=0x1c02147b chip=0x006510de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce MCP2 EIDE Controller' class = mass storage subclass = ATA pcib2_at_pci0:30:0: class=0x060400 card=0x00000000 chip=0x01e810de rev=0xc1 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'nForce2 AGP Host to PCI Bridge' class = bridge subclass = PCI-PCI drm0_at_pci2:0:0: class=0x030000 card=0x20021787 chip=0x59611002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Radeon 9200 Series (RV280)' class = display subclass = VGA > > > Cheers, > -- > Ruslan Ermilov > ru_at_FreeBSD.org > FreeBSD committer > > > ;-)Received on Sun Dec 18 2005 - 21:26:36 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC