Didier Moens | 13 Sep 17:06

Force Feedback for Thrustmaster RGT Pro Clutch Pedal Edition racing wheel

Dear all,

I'm trying to get force feedback activated on this quite wonderful 
racing wheel 
(http://www.thrustmaster.com/product.aspx?ProductID=8&PlatformID=5).

Based on the thread started by Gerald Folcher of 16 Jul 2007 (force 
feedback for Thrustmaster FGT Wheel) and subsequent patches, I've added 
following USB id's :

(patches against 2.6.25, but I've already tested with 2.6.26.3)

diff -uNrp kernel-2.6.25.orig/drivers/hid/usbhid/hid-ff.c 
kernel-2.6.25.new/drivers/hid/usbhid/hid-ff.c
--- kernel-2.6.25.orig/drivers/hid/usbhid/hid-ff.c      2008-04-17 
04:49:44.000000000 +0200
+++ kernel-2.6.25.new/drivers/hid/usbhid/hid-ff.c       2008-09-09 
16:56:34.000000000 +0200
@@ -62,11 +62,13 @@ static struct hid_ff_initializer inits[]
 #ifdef CONFIG_PANTHERLORD_FF
        { 0x810, 0x0001, hid_plff_init }, /* "Twin USB Joystick" */
        { 0xe8f, 0x0003, hid_plff_init }, /* "GreenAsia Inc.    USB 
Joystick     " */
+       { 0xe8f, 0x0012, hid_plff_init }, /* "GreenAsia Inc.    USB 
Joystick     " */
 #endif
 #ifdef CONFIG_THRUSTMASTER_FF
        { 0x44f, 0xb300, hid_tmff_init },
        { 0x44f, 0xb304, hid_tmff_init },
        { 0x44f, 0xb651, hid_tmff_init }, /* FGT Rumble Force Wheel */
(Continue reading)

Jiri Kosina | 20 Sep 04:44
Favicon

Re: Force Feedback for Thrustmaster RGT Pro Clutch Pedal Edition racing wheel

On Sat, 13 Sep 2008, Didier Moens wrote:

> Sep 10 08:46:40 moewelstat1 kernel: input: Thrustmaster Thrustmaster force
> feedback wheel as /class/input/input13
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0022
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0050
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0022
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0060
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0063
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0022
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0070
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0022
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0079
> Sep 10 08:46:40 moewelstat1 kernel: drivers/hid/usbhid/hid-tmff.c: ignoring
> unknown output usage 000f0097

Hi,

apparently, Thrustmaster has changed the report descriptor of the device a 
little bit. Probably also the protocol for this device is a little bit 
different. I have added Zinx to CC, as he wrote the original driver.
(Continue reading)

Didier Moens | 24 Sep 13:32

Re: Force Feedback for Thrustmaster RGT Pro Clutch Pedal Edition racing wheel

Dear,

On 20/09/08 04:44, Jiri Kosina wrote:
> For start, running hd in debugging mode (CONFIG_HID_DEBUG and modprobing 
> 'hid' module with 'debug=2' parameter) and capturing output of a working 
> session in windows might be good steps.
>   

Thank you all (Jiri, Anssi, Jean-Philippe) for your highly valued input 
in getting this steering wheel supported.
By Jiri's request, I've retested the device with hid_debug=2 (recompiled 
kernel 2.6.26.5-27.fc8, as hid is not modularized in Fedora 8 : patch 
see below).

For brevity's sake and to not clog up the mailing list, all logs and 
generated output are available at http://www.dmbr.UGent.be/~didier/tmff/ 
; directory contents :

linux-2.6-dmn-ff2.patch : patch to enable wheel & debug messages
dmesg.out : relevant dmesg ;
messages.out : relevant messages ;
evtest.out : output for ff-utils evtest.
tmcpl/ : 3 screenshots of the Windows ThrustMaster Control Panel.

Additionally, I've run some USB snooping sessions in a native Windows 
session, with both SniffUSB, results in the sniffusb/ directory, and 
Snoopy Pro (http://sourceforge.net/projects/usbsnoop), in snoopypro/. 
Both are GPL-ed applications, and Snoopy Pro runs in Wine (nice for 
interpreting the binary logs).

(Continue reading)

Jiri Kosina | 17 Oct 11:18
Favicon

Re: Force Feedback for Thrustmaster RGT Pro Clutch Pedal Edition racing wheel

On Wed, 24 Sep 2008, Didier Moens wrote:

> > For start, running hd in debugging mode (CONFIG_HID_DEBUG and 
> > modprobing 'hid' module with 'debug=2' parameter) and capturing output 
> > of a working session in windows might be good steps.
> Thank you all (Jiri, Anssi, Jean-Philippe) for your highly valued input 
> in getting this steering wheel supported. By Jiri's request, I've 
> retested the device with hid_debug=2 (recompiled kernel 2.6.26.5-27.fc8, 
> as hid is not modularized in Fedora 8 : patch see below).
> For brevity's sake and to not clog up the mailing list, all logs and generated
> output are available at http://www.dmbr.UGent.be/~didier/tmff/ ; directory
> contents :

Hi Didier,

sorry for not getting back to you sooner. The URL doesn't seem to be alive 
any more. Could you please send the output data as mail attachment, if 
they are not too huge?

Thanks,

--

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Favicon

Re: Force Feedback for Thrustmaster RGT Pro Clutch Pedal Edition racing wheel

Hi, Didier, and all.

> I'm trying to get force feedback activated on this quite wonderful 
> racing wheel 
> ...
> (patches against 2.6.25, but I've already tested with 2.6.26.3)
> ...
> Unfortunately, this yields no improvement : no force feedback is sent to 
> the wheel (tested with ff-utils).
> ...

Not sure this will fix your issues, but ...

ff-utils original code has 2 flaws :
- it is NOT 64-bit compatible
- it was coded for 2.4.x kernels, and when you compile it, it does not use
   the includes of your specific kernel, but those shipped with the sources
   (see sub-folder "linux")

So I recommend you apply the patch that fixes this issues :
look on SourceForge libff patches page ...

https://sourceforge.net/tracker/?func=detail&atid=440671&aid=2098907&group_id=44724

Then, be sure to test FF with "ffcfstress" (only for Constant Force),
not only with "fftest" ;
the first one works very well with my Logitech G25,
whereas I not sure the second one does ... (the rendered Constant Force effect 
is so week, that it's not that clear ...).

(Continue reading)

Anssi Hannula | 20 Sep 22:49

Re: Force Feedback for Thrustmaster RGT Pro Clutch Pedal Edition racing wheel

Annick et Jean-Philippe wrote:
> Hi, Didier, and all.

Hi!

>> I'm trying to get force feedback activated on this quite wonderful
>> racing wheel ...
>> (patches against 2.6.25, but I've already tested with 2.6.26.3)
>> ...
>> Unfortunately, this yields no improvement : no force feedback is sent
>> to the wheel (tested with ff-utils).
>> ...
> 
> Not sure this will fix your issues, but ...
> 
> ff-utils original code has 2 flaws :
> - it is NOT 64-bit compatible
> - it was coded for 2.4.x kernels, and when you compile it, it does not use
>   the includes of your specific kernel, but those shipped with the sources
>   (see sub-folder "linux")

Works fine for me here on 64-bit, and uses standard headers. Maybe you
are using an old version?

The latest version is in linuxconsole SVN:
http://linuxconsole.svn.sourceforge.net/viewvc/linuxconsole/trunk/utils/
Downloadable with SVN command (on one line):
svn co
https://linuxconsole.svn.sourceforge.net/svnroot/linuxconsole/trunk/utils
input-utils
(Continue reading)


Gmane