This patch (initially submitted by Valentin Zagura) adds the Logitech
Formula Force EX to the list of devices handled by hid-lgff.
Also updated the text of the Kconfig entry.
Signed-off-by: Johann Deneux <
johann.deneux@gmail.com>
--- linux-2.6.20.orig/drivers/usb/input/Kconfig 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20/drivers/usb/input/Kconfig 2007-02-15 12:27:42.000000000 +0100
@@ -56,17 +56,21 @@ config HID_PID
Say Y here if you have a PID-compliant device and wish to enable force
feedback for it. Microsoft Sidewinder Force Feedback 2 is one of such
devices.
config LOGITECH_FF
- bool "Logitech WingMan *3D support"
+ bool "Logitech devices support"
depends on HID_FF
select INPUT_FF_MEMLESS if USB_HID
help
Say Y here if you have one of these devices:
- Logitech WingMan Cordless RumblePad
+ - Logitech WingMan Cordless RumblePad 2
- Logitech WingMan Force 3D
+ - Logitech Formula Force EX
+ - Logitech MOMO Force wheel
+
and if you want to enable force feedback for them.
Note: if you say N here, this device will still be supported, but without
force feedback.
config THRUSTMASTER_FF
--- linux-2.6.20.orig/drivers/usb/input/hid-ff.c 2007-02-04 19:44:54.000000000 +0100
+++ linux-2.6.20/drivers/usb/input/hid-ff.c 2007-02-15 12:16:53.000000000
+0100
@@ -53,10 +53,11 @@ struct hid_ff_initializer {
*/
static struct hid_ff_initializer inits[] = {
#ifdef CONFIG_LOGITECH_FF
{ 0x46d, 0xc211, hid_lgff_init }, /* Logitech Cordless rumble pad */
{ 0x46d, 0xc283, hid_lgff_init }, /* Logitech Wingman Force 3d */
+ { 0x46d, 0xc294, hid_lgff_init }, /* Logitech Formula Force EX */
{ 0x46d, 0xc295, hid_lgff_init }, /* Logitech MOMO force wheel */
{ 0x46d, 0xc219, hid_lgff_init }, /* Logitech Cordless rumble pad 2 */
#endif
#ifdef CONFIG_THRUSTMASTER_FF
{ 0x44f, 0xb304, hid_tmff_init },