Date: Thu, 30 Nov 2000 00:54:23 -0500 From: Jonathan Chen <jon@spock.org> To: Terry Glanfield <Terry.Glanfield@program-products.co.uk> Cc: hardware@FreeBSD.ORG Subject: Re: ServerWorks SMbus Message-ID: <20001130005423.C50250@spock.org> In-Reply-To: <200011291716.RAA19113@program-products.co.uk>; from Terry.Glanfield@program-products.co.uk on Wed, Nov 29, 2000 at 05:16:16PM %2B0000 References: <200011291716.RAA19113@program-products.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 29, 2000 at 05:16:16PM +0000, Terry Glanfield wrote: > Has anyone done any work to support the SMbus on the ServerWorks > ServerSet III chipset? I poked around a bit trying to get /dev/smb0 working for reading system temperature and stuff, and couldn't get it to work for some reason. The board in question is a ServerSet II LE (SuperMicro 370DLE, dual proc) on -STABLE. I had the proper kernel options and compiled consolehm from ports. When consolehm is ran, ENODEV is returned after using ioctl()'s on /dev/smb0. Tracing through the kernel reveals pcf_wait_byte() in sys/i386/pcf.c was failing. Each PCF_GET_S1() would return 0xff. I have no clue how iic or smb works, perhaps someone with more clue can take a crack at this? The call stack is something like: pcf_wait_byte(...) [ in i386/isa/pcf.c ] pcfstart(...) [ in i386/isa/pcf.c ] iicsmb_readb(...) [ in dev/iicbus/iicsmb.c ] smbioctl(?, SMB_READB, ...) [ in dev/smbus/smb.c ] The relavent portions of dmesg is below: FreeBSD 4.2-RELEASE #0: Tue Nov 21 03:10:05 GMT 2000 [...] pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard [...] isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0 [...] pcf0: <PCF8584 I2C bus controller> at port 0x320-0x321 irq 5 on isa0 iicbus0: <Philips I2C bus> on pcf0 addr 0xaa iicsmb0: <I2C to SMB bridge> on iicbus0 smbus0: <System Management Bus> on iicsmb0 smb0: <SMBus general purpose I/O> on smbus0 iic0: <I2C general purpose I/O> on iicbus0 BTW, nothing else should be on the same ioport/irq as pcf or iicbus. -- (o_ 1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o) \\\_\ Jonathan Chen jon@spock.org /_/// <____) No electrons were harmed during production of this message (____> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001130005423.C50250>