Subject: viaenv0 on ASUS A7Pro
To: None <port-i386@netbsd.org>
From: Steve Bellovin <smb@research.att.com>
List: port-i386
Date: 11/14/2002 16:32:53
I'm trying to figure out how to use the VIA environmental sensors on a
1.6-STABLE machine. The kernel seems to see part of it, but not enough:
viapm0 at pci0 dev 4 function 4
viaenv0 at viapm0: disabled
Here's the full dmesg:
$ dmesg
NetBSD 1.6 (CHALLENGER) #0: Mon Oct 21 07:30:53 EDT 2002
smb@berkshire.research.att.com:/usr/src/sys/arch/i386/compile/CHALLENGER
cpu0: AMD Athlon Model 4 (Thunderbird) (686-class), 756.78 MHz
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
total memory = 255 MB
avail memory = 230 MB
using 3296 buffers containing 13184 KB of memory
BIOS32 rev. 0 found at 0xf0f50
PCI BIOS rev. 2.1 found at 0xf1150
PCI IRQ Routing Table rev. 1.0 found at 0xf1720, size 176 bytes (9 entries)
PCI Interrupt Router at 000:04:0 (VIA Technologies VT82C686A (Apollo KX133) PCI-
ISA Bridge)
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT8363 KT133 System Controller (rev. 0x02)
agp0 at pchb0: aperture at 0xe4000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8363 KT133 PCI to AGP Bridge (
rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Rage XL (AGP) (rev. 0x27)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 4 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x22)
pciide0 at pci0 dev 4 function 1: VIA Technologies VT82C686A (Apollo KX133) ATA6
6 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DTLA-307075>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 73308 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 150136560 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data
transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <LTN485, , KQ01> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd1 at atapibus0 drive 1: <Hewlett-Packard CD-Writer Plus 9500, YM5CJ58VA3, 1.0e
> type 5 cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data
transfers)
uhci0 at pci0 dev 4 function 2: VIA Technologies VT83C572 USB Controller (rev. 0
x10)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 4 function 3: VIA Technologies VT83C572 USB Controller (rev. 0
x10)
uhci1: interrupting at irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viapm0 at pci0 dev 4 function 4
viaenv0 at viapm0: disabled
Texas Instruments PCI1225 PCI-CardBus Bridge (CardBus bridge, revision 0x01) at
pci0 dev 11 function 0 not configured
Texas Instruments PCI1225 PCI-CardBus Bridge (CardBus bridge, revision 0x01) at
pci0 dev 11 function 1 not configured
fxp0 at pci0 dev 12 function 0: i82550 Ethernet, rev 12
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:02:b3:27:9a:2a
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
emuxki0 at pci0 dev 13 function 0: Creative Labs SBLive! EMU 10000 (audio multim
edia, revision 0x05)
emuxki0: interrupting at irq 5
emuxki0: TriTech unknown codec; no 3D stereo
audio0 at emuxki0: full duplex, mmap, independent
Creative Labs PCI Gameport Joystick (miscellaneous input, revision 0x05) at pci0
dev 13 function 1 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask e765 netmask ef65 ttymask ffe7
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.27 initialized. Default = pass all, Logging = enabled
--Steve Bellovin, http://www.research.att.com/~smb (me)
http://www.wilyhacker.com ("Firewalls" book)