[PATCH 1/2] HID: add support for force feedback in 'Thrustmaster F430 Force Feedback' steering wheel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch add supports for force feedback Thrustmaster "F430 Force
Feedback" steering wheel.
I just added the right usb device id to the existing hid-tmff driver
by Zinx Verituse and to the exceptions list in hid-core.c
After the patches, the device correctly supports constant forces.
For example, the wheel will move correctly accordingly to the mouse
position when using ffmvforce from ffutils; ffset is able to set
autocenter strenght and ff gain.

I tested the patches over a 2.6.35 kernel, but the changes are so
minimal that they should work flawlessy on newer ones.

--- hid-tmff.c-2.6.35	2010-11-16 13:54:29.563224822 +0100
+++ hid-tmff.c	2010-11-16 13:46:42.549871515 +0100
@@ -251,8 +252,12 @@
 		.driver_data = (unsigned long)ff_rumble },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb651),	/* FGT Rumble
Force Wheel */
 		.driver_data = (unsigned long)ff_rumble },
 	{ 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 */
+		.driver_data = (unsigned long)ff_joystick },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, tm_devices);
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux