From patchwork Mon Aug 17 20:48:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jiri Kosina X-Patchwork-Id: 42160 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7HKn3wk029456 for ; Mon, 17 Aug 2009 20:49:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752086AbZHQUsg (ORCPT ); Mon, 17 Aug 2009 16:48:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758012AbZHQUsg (ORCPT ); Mon, 17 Aug 2009 16:48:36 -0400 Received: from cantor.suse.de ([195.135.220.2]:37769 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752086AbZHQUsg (ORCPT ); Mon, 17 Aug 2009 16:48:36 -0400 Received: from relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id F11C89C1FE; Mon, 17 Aug 2009 22:48:36 +0200 (CEST) Date: Mon, 17 Aug 2009 22:48:36 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@wotan.suse.de To: cmd_ , Dmitry Torokhov Cc: linux-input@vger.kernel.org, johann.deneux@gmail.com Subject: Re: [PATCH] Input: iforce -- add support for ACT LABS forceRS In-Reply-To: <6cefefac0908171250v6276d5te7e866b5bc5c60b2@mail.gmail.com> Message-ID: References: <6cefefac0908171250v6276d5te7e866b5bc5c60b2@mail.gmail.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Mon, 17 Aug 2009, cmd_ wrote: > Patch does not work as-is for me. [ ... ] > This was a mistype from my 1st e-mail, sorry. Thanks, corrected one below. From: Jiri Kosina Subject: [PATCH] Input: iforce -- add support for ACT LABS forceRS Add support for ACT LABS forceRS. Reported-by: cmd_ Signed-off-by: Jiri Kosina diff --git a/drivers/input/joystick/iforce/iforce-main.c b/drivers/input/joystick/iforce/iforce-main.c index baabf83..f6c688c 100644 --- a/drivers/input/joystick/iforce/iforce-main.c +++ b/drivers/input/joystick/iforce/iforce-main.c @@ -74,6 +74,7 @@ static struct iforce_device iforce_device[] = { { 0x05ef, 0x8884, "AVB Mag Turbo Force", btn_avb_wheel, abs_wheel, ff_iforce }, { 0x05ef, 0x8888, "AVB Top Shot Force Feedback Racing Wheel", btn_avb_tw, abs_wheel, ff_iforce }, //? { 0x061c, 0xc0a4, "ACT LABS Force RS", btn_wheel, abs_wheel, ff_iforce }, //? + { 0x061c, 0xc084, "ACT LABS Force RS", btn_wheel, abs_wheel, ff_iforce }, { 0x06f8, 0x0001, "Guillemot Race Leader Force Feedback", btn_wheel, abs_wheel, ff_iforce }, //? { 0x06f8, 0x0004, "Guillemot Force Feedback Racing Wheel", btn_wheel, abs_wheel, ff_iforce }, //? { 0x06f8, 0x0004, "Gullemot Jet Leader 3D", btn_joystick, abs_joystick, ff_iforce }, //? diff --git a/drivers/input/joystick/iforce/iforce-usb.c b/drivers/input/joystick/iforce/iforce-usb.c index f83185a..9f289d8 100644 --- a/drivers/input/joystick/iforce/iforce-usb.c +++ b/drivers/input/joystick/iforce/iforce-usb.c @@ -223,6 +223,7 @@ static struct usb_device_id iforce_usb_ids [] = { { USB_DEVICE(0x05ef, 0x8884) }, /* AVB Mag Turbo Force */ { USB_DEVICE(0x05ef, 0x8888) }, /* AVB Top Shot FFB Racing Wheel */ { USB_DEVICE(0x061c, 0xc0a4) }, /* ACT LABS Force RS */ + { USB_DEVICE(0x061c, 0xc084) }, /* ACT LABS Force RS */ { USB_DEVICE(0x06f8, 0x0001) }, /* Guillemot Race Leader Force Feedback */ { USB_DEVICE(0x06f8, 0x0004) }, /* Guillemot Force Feedback Racing Wheel */ { USB_DEVICE(0x06f8, 0xa302) }, /* Guillemot Jet Leader 3D */