From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: Gerald Folcher <geraldf2@free.fr>
Cc: linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: Force Feedback: Thrustmaster FGT Wheel quick-and-dirty in hid-lgff.c or hid-tmff.c
Date: Mon, 16 Jul 2007 12:05:47 -0400 [thread overview]
Message-ID: <d120d5000707160905l214a6ec3yaefc73be5644e1b1@mail.gmail.com> (raw)
In-Reply-To: <469B7721.9070705@free.fr>
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
Hi Gerard,
On 7/16/07, Gerald Folcher <geraldf2@free.fr> wrote:
>
> I guess that a proper patch for the Thrustmaster wheel(s) would probably
> have better his place in hid-tmff.c (In fact I first gone that route but
> I had to change more code introducing more ugliness... the diff output
> from the hid-lgff.c version was much better for my "presentation" purpose).
>
I wonder if the attached is all that is needed for your wheel to work...
--
Dmitry
[-- Attachment #2: hid-add-thrustmaster-fgt-wheel.patch --]
[-- Type: application/octet-stream, Size: 768 bytes --]
Input: HID - add support for Thrustmaster FGT Rumble Force wheel
Add Thrustmaster FGT Rumble force steering wheel to the list of
devices dupported by thrustmaster force-feedback module.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---
drivers/hid/usbhid/hid-ff.c | 1 +
1 file changed, 1 insertion(+)
Index: linux/drivers/hid/usbhid/hid-ff.c
===================================================================
--- linux.orig/drivers/hid/usbhid/hid-ff.c
+++ linux/drivers/hid/usbhid/hid-ff.c
@@ -67,6 +67,7 @@ static struct hid_ff_initializer inits[]
#ifdef CONFIG_THRUSTMASTER_FF
{ 0x44f, 0xb300, hid_tmff_init },
{ 0x44f, 0xb304, hid_tmff_init },
+ { 0x44f, 0xb654, hid_tmff_init },
#endif
#ifdef CONFIG_ZEROPLUS_FF
{ 0xc12, 0x0005, hid_zpff_init },
next prev parent reply other threads:[~2007-07-16 16:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 13:48 Force Feedback: Thrustmaster FGT Wheel quick-and-dirty in hid-lgff.c or hid-tmff.c Gerald Folcher
2007-07-16 16:05 ` Dmitry Torokhov [this message]
2007-07-16 17:14 ` Gerald Folcher
2007-07-16 17:21 ` Anssi Hannula
2007-07-16 18:37 ` Gerald Folcher
2007-07-16 21:00 ` Anssi Hannula
2007-07-16 20:50 ` Dmitry Torokhov
2007-07-16 21:03 ` Dmitry Torokhov
2007-07-16 21:21 ` Dmitry Torokhov
2007-07-17 9:14 ` Gerald Folcher
2007-07-17 13:50 ` Dmitry Torokhov
2007-07-30 13:13 ` Jiri Kosina
2007-08-22 2:30 ` Gerald Folcher
2007-08-22 8:16 ` Jiri Kosina
2007-08-22 10:30 ` Gerald Folcher
2007-07-17 13:14 ` Gerald Folcher
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=d120d5000707160905l214a6ec3yaefc73be5644e1b1@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=geraldf2@free.fr \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
/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).