From: "Michal Malý" <madcatxster@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: jkosina@suse.cz
Subject: [PATCH] Product ID for Logitech Driving Force Pro wheel
Date: Thu, 10 Mar 2011 21:53:43 +0100 [thread overview]
Message-ID: <201103102153.44137.madcatxster@gmail.com> (raw)
[-- Attachment #1: Type: Text/Plain, Size: 158 bytes --]
This trivial fix adds correct product ID for Logitech Driving Force Pro wheel
when it operates in native mode. This is needed to get force feedback working.
[-- Attachment #2: dfp_id_0.patch --]
[-- Type: text/x-patch, Size: 738 bytes --]
--- linux.orig/drivers/hid/hid-core.c 2011-03-08 06:09:37.000000000 +0100
+++ linux/drivers/hid/hid-core.c 2011-03-09 20:09:36.926973002 +0100
@@ -1368,6 +1368,7 @@
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_FLIGHT_SYSTEM_G940) },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOMO_WHEEL) },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOMO_WHEEL2) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DFP_WHEEL) },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G25_WHEEL) },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WII_WHEEL) },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD2) },
[-- Attachment #3: dfp_id_1.patch --]
[-- Type: text/x-patch, Size: 581 bytes --]
--- linux.orig/drivers/hid/hid-lg.c 2011-03-08 06:09:37.000000000 +0100
+++ linux/drivers/hid/hid-lg.c 2011-03-09 20:09:36.927973002 +0100
@@ -375,6 +375,8 @@
.driver_data = LG_FF },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_MOMO_WHEEL2),
.driver_data = LG_FF },
+ { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DFP_WHEEL),
+ .driver_data = LG_FF },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_G25_WHEEL),
.driver_data = LG_FF },
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WII_WHEEL),
[-- Attachment #4: dfp_id_2.patch --]
[-- Type: text/x-patch, Size: 503 bytes --]
--- linux.orig/drivers/hid/hid-ids.h 2011-03-08 06:09:37.000000000 +0100
+++ linux/drivers/hid/hid-ids.h 2011-03-09 20:09:36.923973002 +0100
@@ -383,6 +383,7 @@
#define USB_DEVICE_ID_LOGITECH_WHEEL 0xc294
#define USB_DEVICE_ID_LOGITECH_WINGMAN_FFG 0xc293
#define USB_DEVICE_ID_LOGITECH_MOMO_WHEEL 0xc295
+#define USB_DEVICE_ID_LOGITECH_DFP_WHEEL 0xc298
#define USB_DEVICE_ID_LOGITECH_G25_WHEEL 0xc299
#define USB_DEVICE_ID_LOGITECH_WII_WHEEL 0xc29c
#define USB_DEVICE_ID_LOGITECH_ELITE_KBD 0xc30a
next reply other threads:[~2011-03-10 20:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 20:53 Michal Malý [this message]
2011-03-14 12:12 ` [PATCH] Product ID for Logitech Driving Force Pro wheel Jiri Kosina
2011-03-16 23:46 ` Jiri Kosina
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=201103102153.44137.madcatxster@gmail.com \
--to=madcatxster@gmail.com \
--cc=jkosina@suse.cz \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.