hi,

Geoff Steckel ([EMAIL PROTECTED]) wrote:

> I've mangled the lm78 driver into a Fintek F71805 sensor driver.
> If anyone else has a board using this chip I'd appreciate a test of it.

i've built a kernel using your drivers. sensor output and dmesg (attached
below) look okay (the third temp-sensor isn't connected in my case).

i've looked at your files, and the one existing driver for another fintek
sensor that's in 4.0, which uses iic in stead of isa. the sensor-part looks
pretty easy to rewrite (mostly different offsets and more sensors), but i'm
quite mystified by the initialization part. can anybody shed a light ? i'm
quite willing to experiment, but i'm not a kernel-level quality programmer...



OpenBSD 4.0 (GENERIC) #0: Tue Dec  5 22:21:45 CET 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Esther processor 1500MHz ("CentaurHauls" 686-class) 1.72 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
real mem  = 468152320 (457180K)
avail mem = 418967552 (409148K)
using 4256 buffers containing 23511040 bytes (22960K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(d9) BIOS, date 09/15/06, BIOS32 rev. 0 @ 0xfa960, 
SMBIOS rev. 2.3 @ 0xf0000 (33 entries)
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xcce4
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfcc20/192 (10 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 10 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11 15
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8237 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xfc00 0xd0000/0x5000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA CN700 Host" rev 0x00
pchb1 at pci0 dev 0 function 1 "VIA CN700 Host" rev 0x00
pchb2 at pci0 dev 0 function 2 "VIA CN700 Host" rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA PT890 Host" rev 0x00
pchb4 at pci0 dev 0 function 4 "VIA CN700 Host" rev 0x00
pchb5 at pci0 dev 0 function 7 "VIA CN700 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA S3 Unichrome PRO IGP" rev 0x01: aperture at 
0xf4000000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
re0 at pci0 dev 9 function 0 "Realtek 8169SC" rev 0x10: irq 11, address 
00:30:18:b0:26:ef
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
re1 at pci0 dev 11 function 0 "Realtek 8169SC" rev 0x10: irq 10, address 
00:30:18:b0:26:f0
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using irq 15 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST3320620AS>
wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide0 channel 1 drive 0: <ST3320620AS>
wd1: 16-sector PIO, LBA48, 305245MB, 625142448 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
viapm0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00
iic0 at viapm0
"unknown" at iic0 addr 0x18 not configured
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
fins1 at isa0 port 0x4e/2
npx0 at isa0 port 0xf0/16: using exception 16
biomask f3fd netmask fffd ttymask ffff
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
wd1: no disk label
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



hw.sensors.0=fins1, +3.3V, 3.34 V DC
hw.sensors.1=fins1, Vtt, 1.08 V DC
hw.sensors.2=fins1, Vram, 1.50 V DC
hw.sensors.3=fins1, Vchips, 1.63 V DC
hw.sensors.4=fins1, +5V, 5.00 V DC
hw.sensors.5=fins1, +12V, 12.06 V DC
hw.sensors.6=fins1, Vcc 1.5V, 1.10 V DC
hw.sensors.7=fins1, VCore, 1.08 V DC
hw.sensors.8=fins1, Vsb, 5.05 V DC
hw.sensors.11=fins1, Temp1, 30.00 degC
hw.sensors.12=fins1, Temp2, 22.00 degC
hw.sensors.13=fins1, Temp3, 107.00 degC
hw.sensors.14=fins1, Fan1, 5791 RPM
hw.sensors.15=fins1, Fan2, 4424 RPM
hw.sensors.16=fins1, Fan3, 3496 RPM

-- 
CUL8R, Peter.

Reply via email to