From owner-freebsd-stable@FreeBSD.ORG Thu Aug 9 09:27:22 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4628C16A420 for ; Thu, 9 Aug 2007 09:27:22 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from mail.beenic.net (mail.beenic.net [83.246.72.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0AB2513C442 for ; Thu, 9 Aug 2007 09:27:21 +0000 (UTC) (envelope-from wundram@beenic.net) Received: from [192.168.1.37] (a89-182-7-186.net-htp.de [89.182.7.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.beenic.net (Postfix) with ESMTP id CA009A44529 for ; Thu, 9 Aug 2007 11:24:54 +0200 (CEST) From: "Heiko Wundram (Beenic)" Organization: Beenic Networks GmbH To: freebsd-stable@freebsd.org Date: Thu, 9 Aug 2007 11:27:18 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708091127.18589.wundram@beenic.net> Subject: viapm - SMBus support for lmmon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 09:27:22 -0000 Hey all! I've just set up boxes with FreeBSD 6.2 (currently not running stable yet, but will in a day or so), and as the motherboard is a VIA-based something (with a VIA C3 CPU), I thought that viapm should be the appropriate driver to enable smbus for lmmon and the like. Anyway, the driver loads fine: --- viapropm0: SMBus I/O base at 0x6000 viapropm0: SMBus I/O base at 0x6000 viapropm0: port 0x6000-0x600f at device 7.4 on pci0 viapropm0: SMBus revision code 0x40 smbus0: on viapropm0 smb0: on smbus0 --- (this is loaded after boot has completed, because I didn't yet have it in loader.conf, but I don't presume this has any impact on the usability of the driver). /dev/smb0 is properly created, but when I then try to run lmmon, the output is the following: --- goettingen01# lmmon IOCTL: Device busy goettingen01# --- I've looked through Google, trying to find some info, but I don't really see much that would help me set this up, that's why I'm mailing this list. Anyway: --- goettingen01# kldstat Id Refs Address Size Name 1 27 0xc0400000 70794c kernel 2 1 0xc0b08000 77c4 ng_ubt.ko 3 6 0xc0b10000 c83c netgraph.ko 4 1 0xc0b1d000 59f20 acpi.ko 5 4 0xc1fdd000 2000 ng_bluetooth.ko 6 1 0xc1fdf000 c000 ng_hci.ko 7 1 0xc200c000 e000 ng_l2cap.ko 8 1 0xc201a000 17000 ng_btsocket.ko 9 1 0xc2039000 4000 ng_socket.ko 10 1 0xc20a7000 16000 linux.ko 11 1 0xc2103000 4000 if_tap.ko 12 1 0xc212f000 2000 rain_saver.ko 13 1 0xc231a000 5000 viapm.ko 14 2 0xc231f000 2000 smbus.ko 15 1 0xc2321000 3000 iicbb.ko 16 1 0xc2324000 3000 iicbus.ko 17 1 0xc2333000 3000 smb.ko goettingen01# --- Thanks for any hint! -- Heiko Wundram Product & Application Development