* [PATCH 2.6.33] hid-tmff: Add RGT ff clutch device id
@ 2010-03-13 16:29 Markus Rathgeb
2010-03-13 22:23 ` Jiri Kosina
0 siblings, 1 reply; 2+ messages in thread
From: Markus Rathgeb @ 2010-03-13 16:29 UTC (permalink / raw)
To: zinx; +Cc: linux-kernel
[-- Attachment #1: Type: Text/Plain, Size: 1739 bytes --]
From: Markus Rathgeb
This patch enables force feedback for the "RGT Force Feedback CLUTCH Racing Wheel".
It only modifies hid-core.c (hid_blacklist) and hid-tmff.c to add the new USB IDs.
Signed-off-by: Markus Rathgeb <rathgeb.markus@googlemail.com>
---
--- a/a/drivers/hid/hid-core.c
+++ b/b/drivers/hid/hid-core.c
@@ -1347,6 +1347,7 @@ static const struct hid_device_id hid_blacklist[] = {
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb323) },
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb324) },
{ 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_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) },
{ HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) },
diff --git a/a/drivers/hid/hid-tmff.c b/b/drivers/hid/hid-tmff.c
index 167ea74..c32f32c 100644
--- a/a/drivers/hid/hid-tmff.c
+++ b/b/drivers/hid/hid-tmff.c
@@ -251,6 +251,8 @@ static const struct hid_device_id tm_devices[] = {
.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, 0xb653), /* RGT Force Feedback CLUTCH Raging Wheel */
+ .driver_data = (unsigned long)ff_joystick },
{ HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654), /* FGT Force Feedback Wheel */
.driver_data = (unsigned long)ff_joystick },
{ }
--
Markus Rathgeb
Public Key Server: http://wwwkeys.us.pgp.net/ bzw. hkp://wwwkeys.us.pgp.net/
Public Key Server: http://stinkfoot.org:11371/ bzw. hkp://stinkfoot.org
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6.33] hid-tmff: Add RGT ff clutch device id
2010-03-13 16:29 [PATCH 2.6.33] hid-tmff: Add RGT ff clutch device id Markus Rathgeb
@ 2010-03-13 22:23 ` Jiri Kosina
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2010-03-13 22:23 UTC (permalink / raw)
To: Markus Rathgeb; +Cc: zinx, linux-kernel
On Sat, 13 Mar 2010, Markus Rathgeb wrote:
> From: Markus Rathgeb
>
> This patch enables force feedback for the "RGT Force Feedback CLUTCH Racing Wheel".
> It only modifies hid-core.c (hid_blacklist) and hid-tmff.c to add the new USB IDs.
>
> Signed-off-by: Markus Rathgeb <rathgeb.markus@googlemail.com>
I have applied the patch. But ...
> --- a/a/drivers/hid/hid-core.c
> +++ b/b/drivers/hid/hid-core.c
... please generate the patches next time in a way that they can be
applied using "patch -p1" to kernel tree (note the extraneous "a/a").
Thanks,
--
Jiri Kosina
SUSE Labs, Novell Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-13 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-13 16:29 [PATCH 2.6.33] hid-tmff: Add RGT ff clutch device id Markus Rathgeb
2010-03-13 22:23 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome