From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by ozlabs.org (Postfix) with ESMTP id F3E066895F for ; Thu, 5 Jan 2006 04:59:40 +1100 (EST) Received: by wproxy.gmail.com with SMTP id i24so1636522wra for ; Wed, 04 Jan 2006 09:59:39 -0800 (PST) Message-ID: Date: Wed, 4 Jan 2006 18:59:35 +0100 From: Matthias Transier To: Wolfgang Denk In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <20060104154812.24858352B1E@atlas.denx.de> Cc: linuxppc-embedded@ozlabs.org Subject: Re: Segmentation fault with X.org and Coral-P drivers List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Wolfgang, it finally works :-). I had to make a small modification to the x.org source code. The file xc/programs/Xserver/hw/xfree86/i2c/xf86i2c.c contains the initialization of the i2c bus. In function xf86I2CBusInit, I added the two lines near the beginning: if (b->I2CStart =3D=3D NULL) b->I2CStart =3D I2CStart; which sets the start function to a default function. The problem was that mb86290_i2c.c does not provide a start function, whereas xf86I2CBusInit expects one under some circumstances. Best regards, Matthias