Date: Tue, 27 Apr 1999 11:33:54 -0400 From: "David E. Cross" <crossd@cs.rpi.edu> To: freebsd-hackers@freebsd.org Subject: iicbus and smbus Message-ID: <199904271533.LAA02141@cs.rpi.edu>
next in thread | raw e-mail | index | archive | help
I have compiled my kernel with the following 'config' options/devices/ controllers: controller smbus0 controller iicbus0 controller iicbb0 device ic0 at iicbus? device iic0 at iicbus? device iicsmb0 at iicbus? device smb0 at iicbus? Any attempts to open() /dev/smb0 result in "Invalid argument". This includes the detect.c from http://www.freebsd.org/~nsouch/. Below is my dmesg, I notice no messages about iicbus or smbus at all, but the open on the device is not "device not configured". My end goal is to use the lm.c linked from the above page to get mobo status information. ---------------dmesg---------------- Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.1-STABLE #0: Tue Apr 27 10:08:23 EDT 1999 root@phoenix.home:/usr/src/sys/compile/PHOENIX_HOME Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 350796609 Hz CPU: Pentium II/Xeon/Celeron (350.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>> real memory = 134217728 (131072K bytes) avail memory = 127590400 (124600K bytes) Preloaded elf kernel "kernel" at 0xc02cc000. Probing for devices on PCI bus 0: chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0 chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0 chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0 ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1 chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3 ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 10 on pci0.11.0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs xl0: <3Com 3c900-TPO Etherlink XL> rev 0x00 int a irq 10 on pci0.13.0 xl0: Ethernet address: 00:60:08:a9:db:e2 xl0: selecting 10baseT transceiver, half duplex Probing for devices on PCI bus 1: vga0: <VGA-compatible display device> rev 0x04 int a irq 10 on pci1.0.0 Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <4 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in fd1: 1.2MB 5.25in wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): <WDC AC26400B>, DMA, 32-bit, multi-block-16 wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): <WDC AC35100L>, DMA, 32-bit, multi-block-16 wd1: 4924MB (10085040 sectors), 10672 cyls, 15 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa wdc1: unit 0 (atapi): <FX400E/K03>, removable, intr, iordis acd0: drive speed 689KB/sec, 128KB cache acd0: supported read types: acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: CD-ROM 120mm data disc loaded, unlocked, lock protected wdc1: unit 1 (atapi): <WEARNES CDD-820/B1.0>, removable, dma, iordy acd1: drive speed 1377KB/sec, 256KB cache acd1: supported read types: acd1: Audio: play, 256 volume levels acd1: Mechanism: ejectable tray acd1: Medium: no/blank disc inside, unlocked, lock protected ppc0 at 0x378 irq 7 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppb0: IEEE1284 device found /NIBBLE Probing for PnP devices on ppbus0: ppbus0: <Hewlett-Packard HP LaserJet 4P> HP ENHANCED PCL5,PJL 1 3C5x9 board(s) on ISA found at 0x310 ep0 at 0x310-0x31f irq 11 on isa ep0: utp[*UTP*] address 00:a0:24:12:8d:10 npx0 on motherboard npx0: INT 16 interface vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa -- David Cross | email: crossd@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD 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?199904271533.LAA02141>