Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758778AbZDOIYN (ORCPT ); Wed, 15 Apr 2009 04:24:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758457AbZDOIXx (ORCPT ); Wed, 15 Apr 2009 04:23:53 -0400 Received: from cantor.suse.de ([195.135.220.2]:43514 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756131AbZDOIXv (ORCPT ); Wed, 15 Apr 2009 04:23:51 -0400 Date: Wed, 15 Apr 2009 10:23:49 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@wotan.suse.de To: Mark Lord Cc: Dmitry Torokhov , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: Input driver for Twinhan USB 6253:0100 remote control In-Reply-To: <49E4C9CF.5060504@rtr.ca> Message-ID: References: <20090408072935.GA27920@dtor-d630.eng.vmware.com> <200904131931.24009.dmitry.torokhov@gmail.com> <49E4B678.9030508@rtr.ca> <200904140945.14652.dmitry.torokhov@gmail.com> <49E4C9CF.5060504@rtr.ca> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 764 Lines: 21 On Tue, 14 Apr 2009, Mark Lord wrote: > > I think if you take drivers/hid/hid-belkin.c as a template the > > conversion will take you no time. > Okay, I can have a look at that one. Thanks. Yes, hid-belking is a good example of trivial driver that sits on a HID bus for you, as it utilizes the ->input_mapping() callback, which is probably the only callback from HID core you'd need. If you encounter any difficulties implementing your driver as a HID bus driver, please let me know. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/