From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932594AbVHJXNn (ORCPT ); Wed, 10 Aug 2005 19:13:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932596AbVHJXNn (ORCPT ); Wed, 10 Aug 2005 19:13:43 -0400 Received: from n1.cetrtapot.si ([212.30.80.17]:23793 "EHLO n1.cetrtapot.si") by vger.kernel.org with ESMTP id S932595AbVHJXNm (ORCPT ); Wed, 10 Aug 2005 19:13:42 -0400 Message-ID: <42FA89FE.9050101@cetrtapot.si> Date: Thu, 11 Aug 2005 01:13:02 +0200 From: Hinko Kocevar User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jean Delvare Cc: LM Sensors , LKML Subject: Re: I2C block reads with i2c-viapro: testers wanted References: <20050809231328.0726537b.khali@linux-fr.org> <42FA6406.4030901@cetrtapot.si> <20050810230633.0cb8737b.khali@linux-fr.org> In-Reply-To: <20050810230633.0cb8737b.khali@linux-fr.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jean Delvare wrote: > > Could you try running "i2cdump 0 0x50" and "i2cdump 0 0x50 i" (with the > patch still applied), and compare both the outputs and the time each > command takes? You should see similar outputs, but the second command > should be magnitudes faster. This would confirm that the I2C block mode > works as intended on your VT8233 chip. Hmm, not really. Here it takes 6 seconds for the first test nad about 5 seconds for the second test (I just read the WARNING - need to substract 5s from the results...). noa xtrm # time i2cdump 0 0x50 No size specified (using byte-data access) WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x50, mode byte You have five seconds to reconsider and press CTRL-C! 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 80 08 07 0d 09 02 40 00 04 75 75 00 82 10 00 01 ??????@.?uu.??.? 10: 0e 04 0c 01 02 20 00 a0 75 00 00 50 3c 50 2d 20 ????? .?u..P