* [PATCH] Input: xpad - add PXN V900 support
@ 2023-09-25 16:05 Matthias Berndt
0 siblings, 0 replies; 4+ messages in thread
From: Matthias Berndt @ 2023-09-25 16:05 UTC (permalink / raw)
To: linux-input, Ismael Ferreras Morezuelas
[-- Attachment #1: Type: text/plain, Size: 232 bytes --]
Hi Ismael, Hi linux-input,
I recently got my hands on a used PXN V900 steering wheel which didn't work
out of the box on Linux. I've attached a patch that makes it work for me,
please consider merging it.
All the best,
Matthias
[-- Attachment #2: 0001-Input-xpad-add-PXN-V900-support.patch --]
[-- Type: text/x-patch, Size: 1435 bytes --]
From 9b0af40bc3c064be1c7c5ba36d7fb4b8d6535fc7 Mon Sep 17 00:00:00 2001
From: Matthias Berndt <matthias_berndt@gmx.de>
Date: Mon, 25 Sep 2023 17:54:13 +0200
Subject: [PATCH] Input: xpad - add PXN V900 support
Add VID and PID to the xpad_device table to allow driver
to use the PXN V900 steering wheel, which is
XTYPE_XBOX360 compatible in xinput mode.
---
drivers/input/joystick/xpad.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index ede380551e55..478bf657efc2 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -272,6 +272,7 @@ static const struct xpad_device {
{ 0x1038, 0x1430, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
{ 0x1038, 0x1431, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
{ 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 },
+ { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 },
{ 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
{ 0x12ab, 0x0004, "Honey Bee Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
{ 0x12ab, 0x0301, "PDP AFTERGLOW AX.1", 0, XTYPE_XBOX360 },
@@ -503,6 +504,7 @@ static const struct usb_device_id xpad_table[] = {
XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */
XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */
XPAD_XBOXONE_VENDOR(0x3537), /* GameSir Controllers */
+ XPAD_XBOX360_VENDOR(0x11ff), /* PXN V900 */
{ }
};
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] Input: xpad - add PXN V900 support
@ 2023-09-25 16:09 Matthias Berndt
0 siblings, 0 replies; 4+ messages in thread
From: Matthias Berndt @ 2023-09-25 16:09 UTC (permalink / raw)
To: linux-input, Ismael Ferreras Morezuelas
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
Hi Ismael, Hi linux-input,
I recently got my hands on a used PXN V900 steering wheel which didn't work
out of the box on Linux. I've attached a patch that makes it work for me,
please consider merging it.
All the best,
Matthias
[-- Attachment #2: 0001-Input-xpad-add-PXN-V900-support.patch --]
[-- Type: text/x-patch, Size: 1468 bytes --]
From 9b0af40bc3c064be1c7c5ba36d7fb4b8d6535fc7 Mon Sep 17 00:00:00 2001
From: Matthias Berndt <matthias_berndt@gmx.de>
Date: Mon, 25 Sep 2023 17:54:13 +0200
Subject: [PATCH] Input: xpad - add PXN V900 support
Add VID and PID to the xpad_device table to allow driver
to use the PXN V900 steering wheel, which is
XTYPE_XBOX360 compatible in xinput mode.
---
drivers/input/joystick/xpad.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index ede380551e55..478bf657efc2 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -272,6 +272,7 @@ static const struct xpad_device {
{ 0x1038, 0x1430, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
{ 0x1038, 0x1431, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
{ 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 },
+ { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 },
{ 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
{ 0x12ab, 0x0004, "Honey Bee Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
{ 0x12ab, 0x0301, "PDP AFTERGLOW AX.1", 0, XTYPE_XBOX360 },
@@ -503,6 +504,7 @@ static const struct usb_device_id xpad_table[] = {
XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */
XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */
XPAD_XBOXONE_VENDOR(0x3537), /* GameSir Controllers */
+ XPAD_XBOX360_VENDOR(0x11ff), /* PXN V900 */
{ }
};
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] Input: xpad - add PXN V900 support
@ 2023-09-29 17:45 Matthias Berndt
2023-09-30 16:29 ` Dmitry Torokhov
0 siblings, 1 reply; 4+ messages in thread
From: Matthias Berndt @ 2023-09-29 17:45 UTC (permalink / raw)
To: Dmitry Torokhov, Vicki Pfau, Ismael Ferreras Morezuelas,
Lyude Paul, Matthias Benkmann, John Butler,
Pierre-Loup A. Griffais, Jonathan Frederick, linux-input,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 470 bytes --]
Hi everybody,
I recently sent this patch to the linux-input list where it was ignored, so
now I'm sending it again to every email address that get_maintainer.pl gives
me in the hope that it'll somehow get merged.
This is a trivial patch that enables support for the PXN V900 steering wheel
in the xpad driver. It's just a matter of adding the relevant USB vendorId/
productId to the list of supported IDs. I've tried it and it works.
All the best,
Matthias
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Input-xpad-add-PXN-V900-support.patch --]
[-- Type: text/x-patch; charset="x-UTF_8J"; name="0001-Input-xpad-add-PXN-V900-support.patch", Size: 1468 bytes --]
From 9b0af40bc3c064be1c7c5ba36d7fb4b8d6535fc7 Mon Sep 17 00:00:00 2001
From: Matthias Berndt <matthias_berndt@gmx.de>
Date: Mon, 25 Sep 2023 17:54:13 +0200
Subject: [PATCH] Input: xpad - add PXN V900 support
Add VID and PID to the xpad_device table to allow driver
to use the PXN V900 steering wheel, which is
XTYPE_XBOX360 compatible in xinput mode.
---
drivers/input/joystick/xpad.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index ede380551e55..478bf657efc2 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -272,6 +272,7 @@ static const struct xpad_device {
{ 0x1038, 0x1430, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
{ 0x1038, 0x1431, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
{ 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 },
+ { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 },
{ 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
{ 0x12ab, 0x0004, "Honey Bee Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
{ 0x12ab, 0x0301, "PDP AFTERGLOW AX.1", 0, XTYPE_XBOX360 },
@@ -503,6 +504,7 @@ static const struct usb_device_id xpad_table[] = {
XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */
XPAD_XBOX360_VENDOR(0x3537), /* GameSir Controllers */
XPAD_XBOXONE_VENDOR(0x3537), /* GameSir Controllers */
+ XPAD_XBOX360_VENDOR(0x11ff), /* PXN V900 */
{ }
};
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Input: xpad - add PXN V900 support
2023-09-29 17:45 [PATCH] Input: xpad - add PXN V900 support Matthias Berndt
@ 2023-09-30 16:29 ` Dmitry Torokhov
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2023-09-30 16:29 UTC (permalink / raw)
To: Matthias Berndt
Cc: Vicki Pfau, Ismael Ferreras Morezuelas, Lyude Paul,
Matthias Benkmann, John Butler, Pierre-Loup A. Griffais,
Jonathan Frederick, linux-input, linux-kernel
Hi Matthias,
On Fri, Sep 29, 2023 at 07:45:52PM +0200, Matthias Berndt wrote:
> Hi everybody,
>
> I recently sent this patch to the linux-input list where it was ignored, so
> now I'm sending it again to every email address that get_maintainer.pl gives
> me in the hope that it'll somehow get merged.
> This is a trivial patch that enables support for the PXN V900 steering wheel
> in the xpad driver. It's just a matter of adding the relevant USB vendorId/
> productId to the list of supported IDs. I've tried it and
I need your "Signed-off-by: ..." in order to merge this patch. Please
resend following guidelines in Documentation/process/submitting-patches.rst
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-30 16:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29 17:45 [PATCH] Input: xpad - add PXN V900 support Matthias Berndt
2023-09-30 16:29 ` Dmitry Torokhov
-- strict thread matches above, loose matches on Subject: below --
2023-09-25 16:09 Matthias Berndt
2023-09-25 16:05 Matthias Berndt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).