From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [RFC][PATCH v2 0/5] omap1: Amstrad Delta: add support for external keyboard Date: Sun, 11 Apr 2010 20:16:36 -0700 Message-ID: <20100412031636.GC29292@core.coreip.homeip.net> References: <201003291619.25878.jkrzyszt@tis.icnet.pl> <201003292158.05120.jkrzyszt@tis.icnet.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-yx0-f171.google.com ([209.85.210.171]:36673 "EHLO mail-yx0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751363Ab0DLDQm (ORCPT ); Sun, 11 Apr 2010 23:16:42 -0400 Received: by yxe1 with SMTP id 1so2335435yxe.33 for ; Sun, 11 Apr 2010 20:16:42 -0700 (PDT) Content-Disposition: inline In-Reply-To: <201003292158.05120.jkrzyszt@tis.icnet.pl> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Janusz Krzysztofik Cc: e3-hacking@earth.li, linux-input@vger.kernel.org On Mon, Mar 29, 2010 at 09:58:02PM +0200, Janusz Krzysztofik wrote: > Monday 29 March 2010 16:19:23 Janusz Krzysztofik napisa=C5=82(a): > > This series of patches adds support for an external keyboard (calle= d > > mailboard) connected to the Amstrad Delta (E3) videophone. > > > > The series is based on a patch by Matt Callow, created against > > linux-omap-2.6.19[1], initially submitted to the e3-hacking mailing= list in > > April 2006[2]. > > > > Since the keyboard serial clock line is connected to a GPIO line, i= t > > generates interrupts every single bit received. In order to handle = this > > correctly, the code makes use of a FIQ hardware feature. Since all = GPIO > > generated interrupts would be converted to FIQ, the handler must in= clude > > support for all supported GPIO connected devices: the keyboard, a m= odem and > > a hook switch. > > > > My modifications to the original patch include: > > - split into several patches, > > - refresh against a recent linux version, > > - a lot of cleanups, mainly to get rid of checkpatch reported issue= s, > > - add support for handling interrupts generated by a GPIO line that= the > > meanwhile activated hook switch hangs off. > > v2 changes: > > - remove scan code to key code mapping from the serio driver, that = doesn't > > belong here and should be set up from userspace; >=20 >=20 > Hi, >=20 > For those of you who would like to do some testing: >=20 > You'll need a utility for installing a key table. Given no single hin= t from=20 > linux-input team, Sorry about that. > I ended up using input-kbd, that is part of input-utils=20 > package, at least on Gentoo and Debian. Other possibilities I know of= : > - V4L guys provided linux/Documentation/DocBook/v4l/keytable.c.xml ex= ample, > - http://0pointer.de/lennart/projects/keyfuzz/ >=20 HAL used to be responsible for loading custom keymaps on modern distros but I believe now that task is moved into udev (see extras/keymap). --=20 Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html