From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: i2c Issues Date: Mon, 10 Jan 2011 15:33:39 +0100 Message-ID: <20110110153339.4e2f8ee9@endymion.delvare> References: <002101cba35c$fba6ea50$f2f4bef0$@com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <002101cba35c$fba6ea50$f2f4bef0$@com> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: murali-p1q9eIIu2y1Wk0Htik3J/w@public.gmane.org Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-i2c@vger.kernel.org On Fri, 24 Dec 2010 20:23:23 +0900, Murali K. Vemuri wrote: > Hi there, > I am working on OMAP 3530 , Linux Kernel version 2.6.32. > On OMAP I connected Audio Codec WM8993 as I2C (bus3) slave, with slav= e > address 0x1A. >=20 > I am able to initialize the I2C Bus correctly, and I successfully bou= nd the > device to the driver. By adding a few debug messages, I get like this= =2E >=20 > i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 > kHz=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A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=A0=A0=20 >=20 > This is what I exactly intend to happen. After this step, I get the > i2c_probe triggered into the device, and at that time, HW read fails, > constantly. > I checked the physical address that is being read from. This address = is > correct as well.=20 >=20 > Any pointers to how I can resolve this? Check with i2cdetect and then i2cdump if you can talk to the device in question from user-space (using the i2c-dev driver). If you can't, it's a hardware issue. If you can, it's a driver issue. --=20 Jean Delvare