Skip to contentSkip to conversation

xpad - Added Acer NGR 200 Controller

PATCH Applied Nilton Perim Neto 4 participants 8 messages Jun 8, 2025 – Jul 8, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xpad - Added Acer NGR 200 Controller

This patch adds the NGR 200 Xbox 360 to the xpad device tree and also Acer's VendorID

---
 drivers/input/joystick/xpad.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/input/joystick/xpad.c +2 -0
index 7746530da030..100aaaa7a5cb 100644
@@ -177,6 +177,7 @@ static const struct xpad_device {
 	{ 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3030, "Chic Controller", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX },
+	{ 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0033, "Competition Pro Steering Wheel", 0, XTYPE_XBOX },
 	{ 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX },
@@ -521,6 +522,7 @@ static const struct usb_device_id xpad_table[] = {
 	XPAD_XBOX360_VENDOR(0x045e),		/* Microsoft Xbox 360 controllers */
 	XPAD_XBOXONE_VENDOR(0x045e),		/* Microsoft Xbox One controllers */
 	XPAD_XBOX360_VENDOR(0x046d),		/* Logitech Xbox 360-style controllers */
+	XPAD_XBOX360_VENDOR(0x0502),		/* Acer Inc. Xbox 360 style controllers */
 	XPAD_XBOX360_VENDOR(0x056e),		/* Elecom JC-U3613M */
 	XPAD_XBOX360_VENDOR(0x06a3),		/* Saitek P3600 */
 	XPAD_XBOX360_VENDOR(0x0738),		/* Mad Catz Xbox 360 controllers */
Signature · 1 line
2.49.0
#2 lore raw
In reply to Nilton Perim Neto

Hi,

Quoted 12 lines · Nilton Perim Neto

This patch adds the NGR 200 Xbox 360 to the xpad device tree and also Acer's VendorID

---
 drivers/input/joystick/xpad.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/input/joystick/xpad.c +0 -0
index 7746530da030..100aaaa7a5cb 100644

drivers/input/joystick/xpad.c static const struct xpad_device { · line 180

Quoted 4 lines
drivers/input/joystick/xpad.c +1 -0
@@ -177,6 +177,7 @@ static const struct xpad_device {
 	{ 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3030, "Chic Controller", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX },
+	{ 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX },

Shouldn't this be XTYPE_XBOX360?

drivers/input/joystick/xpad.c static const struct usb_device_id xpad_table[] = { · line 528

Quoted 11 lines
drivers/input/joystick/xpad.c +1 -0
 	{ 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0033, "Competition Pro Steering Wheel", 0, XTYPE_XBOX },
 	{ 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX },
@@ -521,6 +522,7 @@ static const struct usb_device_id xpad_table[] = {
 	XPAD_XBOX360_VENDOR(0x045e),		/* Microsoft Xbox 360 controllers */
 	XPAD_XBOXONE_VENDOR(0x045e),		/* Microsoft Xbox One controllers */
 	XPAD_XBOX360_VENDOR(0x046d),		/* Logitech Xbox 360-style controllers */
+	XPAD_XBOX360_VENDOR(0x0502),		/* Acer Inc. Xbox 360 style controllers */
 	XPAD_XBOX360_VENDOR(0x056e),		/* Elecom JC-U3613M */
 	XPAD_XBOX360_VENDOR(0x06a3),		/* Saitek P3600 */
 	XPAD_XBOX360_VENDOR(0x0738),		/* Mad Catz Xbox 360 controllers */

Vicki

#3 lore raw

PATCH 1/1 Changed Acer NGR200 to XTYPE_XBOX360 fixed the table because

You're correct Vicki
I wrote the wrong xtype in the device tree,
But now it is fine.

---
 drivers/input/joystick/xpad.c | 1 +
 1 file changed, 1 insertion(+)
drivers/input/joystick/xpad.c +1 -0
index 7746530da030..bad4c3608775 100644
@@ -177,6 +177,7 @@ static const struct xpad_device {
 	{ 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3030, "Chic Controller", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX },
+	{ 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX360 },
 	{ 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0033, "Competition Pro Steering Wheel", 0, XTYPE_XBOX },
 	{ 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX },
Signature · 1 line
2.50.0
#4 lore raw

Re: [PATCH] Changed Acer NGR200 to XTYPE_XBOX360 fixed the table because

Quoted 3 lines · Nilton Perim Neto

You're correct Vicki
I wrote the wrong xtype in the device tree,
But now it is fine.

Very odd changelog text :(

#5 lore raw

Re: [PATCH] Changed Acer NGR200 to XTYPE_XBOX360 fixed the table because

Quoted 7 lines · Greg KH
Quoted 3 lines · Nilton Perim Neto

You're correct Vicki
I wrote the wrong xtype in the device tree,
But now it is fine.

Very odd changelog text :(

Yes, I'm not really sure what's going on there. It appears to be a replacement for an already-in-tree patch (22c69d786ef8 ("Input: xpad - support Acer NGR 200 Controller")), and won't apply on top of it. It's also worth noting that that patch put the entry in the wrong place in the table to begin with, so drafting up a new patch on top of the tree that fixes the table entry and moves it into the right place is probably the best way to proceed here instead.

Vicki

#6 lore raw

Re: Re: [PATCH] Changed Acer NGR200 to XTYPE_XBOX360 fixed the table because

In reply to Vicki Pfau

Not sure how to procceed with it, I only want to fix my mistake, However I'm fairly new to doing git over the mail list (I just use github/lab) It was previously on the wrong place and the wrong xtype, so I changed it Now it is on the right place on the tree and the correct 360 XTYPE Just want to correct those issues

---
 drivers/input/joystick/xpad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/joystick/xpad.c +1 -1
index bad4c3608775..a7953bf5e289 100644
@@ -176,8 +176,8 @@ static const struct xpad_device {
 	{ 0x05fd, 0x1007, "Mad Catz Controller (unverified)", 0, XTYPE_XBOX },
 	{ 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3030, "Chic Controller", 0, XTYPE_XBOX },
-	{ 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX },
 	{ 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX360 },
+	{ 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0033, "Competition Pro Steering Wheel", 0, XTYPE_XBOX },
 	{ 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX },
Signature · 1 line
2.50.0
#7 lore raw

Re: Re: [PATCH] Changed Acer NGR200 to XTYPE_XBOX360 fixed the table because

Quoted 5 lines · Nilton Perim Neto

Not sure how to procceed with it, I only want to fix my mistake, However I'm fairly new to doing git over the mail list (I just use github/lab) It was previously on the wrong place and the wrong xtype, so I changed it Now it is on the right place on the tree and the correct 360 XTYPE Just want to correct those issues

Please take a look at the kernel documentation for how to submit a patch, it describes how to write this changelog in a format that will be correct.

thanks,

greg k-h