From owner-freebsd-embedded@FreeBSD.ORG Fri Dec 5 15:30:09 2008 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 228D3106564A for ; Fri, 5 Dec 2008 15:30:09 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id D9E0F8FC08 for ; Fri, 5 Dec 2008 15:30:08 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id mB5F8k1G017532 for ; Fri, 5 Dec 2008 08:08:47 -0700 Message-ID: <493943FC.8080001@semihalf.com> Date: Fri, 05 Dec 2008 16:08:44 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: embedded@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Cc: Subject: i2c(8) diagnostic tool for review X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 15:30:09 -0000 This nice little program is helpful with inspecting an I2C bus, when bringing up a new system, or just for diagnostic purposes: http://people.freebsd.org/~raj/patches/misc/i2c.diff Note the patch extends the /dev/iicX interface with a ioctl for the 'repeated start' method. More detailed description of the tool is in the manual page: http://people.freebsd.org/~raj/patches/misc/i2c-man.txt Any comments welcome. Rafal