From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH 2/2] eeepc-wmi: Add support for T101MT Home/Express Gate key Date: Mon, 28 Mar 2011 23:33:41 -0700 Message-ID: <20110329063341.GA26490@core.coreip.homeip.net> References: <1301337224-3293-1-git-send-email-seth.forshee@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1301337224-3293-1-git-send-email-seth.forshee-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: acpi4asus-user-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Seth Forshee Cc: Chris Bagwell , acpi4asus-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, platform-driver-x86-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Corentin Chary , Matthew Garrett List-Id: platform-driver-x86.vger.kernel.org On Mon, Mar 28, 2011 at 01:33:41PM -0500, Seth Forshee wrote: > On Mon, Mar 28, 2011 at 02:14:33PM +0000, Corentin Chary wrote: > > But since Dmitry and Chris seems to prefer the autorepeat approach > > with a single key code, if it works then it's ok, we just need to set > > REP_DELAY, report press and release events, and drop 0xea events. > > New patches follow. I didn't set REP_DELAY (or REP_PERIOD) because the > input core interprets this to mean that the driver will handle the > autorepeat itself. There's always EVIOCSREP to change the delay and > repeat period from userspace. Just an FYI: it is perfectly fine to set custom REP_DELAY and REP_PERIOD after registering an input device. Thanks. -- Dmitry ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar