From owner-freebsd-hackers Thu Dec 6 11:17:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id A643837B417 for ; Thu, 6 Dec 2001 11:17:15 -0800 (PST) Received: from isi.edu (ntrdveqkwd5hpwnx@hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id fB6JHEN00661 for ; Thu, 6 Dec 2001 11:17:14 -0800 (PST) Message-ID: <3C0FC43A.1080304@isi.edu> Date: Thu, 06 Dec 2001 11:17:14 -0800 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011203 X-Accept-Language: en, de MIME-Version: 1.0 To: hackers@freebsd.org Subject: Problem with two smbus devices Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, we have a couple of 4.4-RELEASE machines that have both Intel 82801AA (ICH) SMBus controllers and BrookTree 878 TV cards. Both of these attach to smbus devices, the BrookTree to smbus0 and the Intel to smbus1. The problem is that all system status utilities I tried (wmhm, wmlmmon, etc.) access smbus0, which is the TV card, causing a kernel hang. Is there any way to force the Intel controller to attach to smbus0 instead? (I could patch the source of the utilities, but they need to be able to run on "standard" machines as well.) Here's the relevant dmesg output: bktr0: mem 0xf6001000-0xf6001fff irq 13 at device 9.0 on pci2 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only smbus0: on bti2c0 smb0: on smbus0 bktr0: Hauppauge Model 61381 D423 bktr0: Detected a MSP3430G-A4 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, remote control. ichsmb0: port 0xdcd0-0xdcdf irq 13 at device 31.3 on pci0 smbus1: on ichsmb0 smb1: on smbus1 Thanks, Lars -- Lars Eggert Information Sciences Institute http://www.isi.edu/larse/ University of Southern California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message