From owner-freebsd-hackers@FreeBSD.ORG Wed May 14 05:13:01 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3295530E for ; Wed, 14 May 2014 05:13:01 +0000 (UTC) Received: from mail.machdep.com (mail.machdep.com [195.91.211.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBB7628F8 for ; Wed, 14 May 2014 05:13:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=machdep.com) by mail.machdep.com with smtp (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WkRT3-000MTW-1o; Wed, 14 May 2014 09:11:01 +0400 Received: by machdep.com (nbSMTP-1.00) for uid 1001 br@machdep.com; Wed, 14 May 2014 09:11:01 +0400 (MSK) Date: Wed, 14 May 2014 09:11:00 +0400 From: Ruslan Bukin To: Maxim Ignatenko Subject: Re: Keyboard drivers, polling vs. non-polling mode Message-ID: <20140514051100.GA86330@machdep.com> References: <20140513084008.GA71115@machdep.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2014 05:13:01 -0000 On Tue, May 13, 2014 at 11:17:58AM +0100, Maxim Ignatenko wrote: > I keep getting "fdb0: i2c transfer returned 6" and none of the printfs > I've added to iicbus_transfer_gen in sys/dev/iicbus/iiconf.c. You have problems with communication to EC. Forget about keyboard for a while and check i2c CS (chip select) and/or EC arbitration pins. Something is definitely goes different in HP implementation of Chromebook. Probably they used different GPIO pins. -Ruslan