From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Kosina Subject: RE: [PATCHes] Implement Bluetooth Wacom tablet's mode change in the kernel Date: Fri, 29 Jan 2010 10:39:59 +0100 (CET) Message-ID: References: <1263833399.20565.2905.camel@localhost.localdomain> <1263886149.5591.166.camel@localhost.localdomain> <1263897015.20565.3988.camel@localhost.localdomain> <1264037759.1735.5008.camel@localhost.localdomain> <1264719198.29532.3149.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from cantor.suse.de ([195.135.220.2]:43650 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754979Ab0A2JkD (ORCPT ); Fri, 29 Jan 2010 04:40:03 -0500 In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: "Gunn, Brian" Cc: Bastien Nocera , Marcel Holtmann , Dmitry Torokhov , linux-input , BlueZ development , Ping On Thu, 28 Jan 2010, Gunn, Brian wrote: > > > > I sent a new version of the patch, which uses "HIDP_TRANS_SET_REPORT | > > > > HIDP_DATA_RTYPE_FEATURE" for the first byte. Would that work? > > > > > > Actually for my application it doesn't. I use HIDP_TRANS_DATA | > > HIDP_DATA_RTYPE_OUTPUT. > > > > > > Perhaps allowing the user the choice of what do to here is more flexible. > > > > Except that it would mean different code for USB and Bluetooth > > versions... > > So do we need a method of setting which device reports we're sending before writing them? Having separate methods for feature and output reports should be sufficient and general enough, right? -- Jiri Kosina SUSE Labs, Novell Inc.