linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: simon@mungewell.org
To: linux-input@vger.kernel.org
Cc: Antonio Orefice <aorefice77@gmail.com>,
	Antonio Ospite <ospite@studenti.unina.it>
Subject: [RESEND] - HID: add support for force feedback in  'Thrustmaster F430 Force Feedback' steering wheel
Date: Tue, 23 Nov 2010 15:21:05 -0500	[thread overview]
Message-ID: <ece69dfce015de7cc10b9c0257af3627.squirrel@host171.canaca.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

Doesn't look like this was picked up by anybody... at least there was no
'ack'.

On behalf of Antonio, please find attached a git-ized version of the patch.

This just add the USB ID's. Builds OK against Linus' git tree, but I don't
have the wheel to test.

Cheers,
Simon Wood.
http://www.speed-dreams.org

[-- Attachment #2: 0001-This-patch-add-supports-for-force-feedback-Thrustmas.patch --]
[-- Type: application/octet-stream, Size: 1729 bytes --]

From 7492b6b93ccb990448b9eda3a1d8277819c81abd Mon Sep 17 00:00:00 2001
From: Simon Wood <simon@mungewell.org>
Date: Wed, 17 Nov 2010 18:37:05 -0700
Subject: [PATCH] This patch add supports for force feedback Thrustmaster "F430 Force
 Feedback" steering wheel.

Reported by: "Antonio Orefice" <aorefice77@gmail.com>
---
 drivers/hid/hid-core.c |    1 +
 drivers/hid/hid-tmff.c |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 515345b..88cb04e 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1386,6 +1386,7 @@ static const struct hid_device_id hid_blacklist[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb651) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb653) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65a) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED2, USB_DEVICE_ID_TOPSEED2_RF_COMBO) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) },
diff --git a/drivers/hid/hid-tmff.c b/drivers/hid/hid-tmff.c
index 15434c8..25be4e1 100644
--- a/drivers/hid/hid-tmff.c
+++ b/drivers/hid/hid-tmff.c
@@ -256,6 +256,8 @@ static const struct hid_device_id tm_devices[] = {
 		.driver_data = (unsigned long)ff_joystick },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654),	/* FGT Force Feedback Wheel */
 		.driver_data = (unsigned long)ff_joystick },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb65a),	/* F430 Force Feedback Wheel */
+		.driver_data = (unsigned long)ff_joystick },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, tm_devices);
-- 
1.7.0.4

             reply	other threads:[~2010-11-23 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 20:21 simon [this message]
2010-11-23 21:01 ` [RESEND] - HID: add support for force feedback in 'Thrustmaster F430 Force Feedback' steering wheel Antonio Ospite

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ece69dfce015de7cc10b9c0257af3627.squirrel@host171.canaca.com \
    --to=simon@mungewell.org \
    --cc=aorefice77@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=ospite@studenti.unina.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).