mbox series

[0/1] Input: xpad - add disable_xboxone module parameter

Message ID 20250517105045.70998-1-apparle@gmail.com
Headers show
Series Input: xpad - add disable_xboxone module parameter | expand

Message

Apoorv Parle May 17, 2025, 10:50 a.m. UTC
Hi,

This patch adds a `disable_xboxone` module parameter to the xpad driver,
allowing users to prevent xpad from binding to Xbox One and Series X|S
devices (XTYPE_XBOXONE). This is especially useful for users who wish to
use the out-of-tree `xone` driver (https://github.com/dlundqvist/xone) .

Currently, there is no in-tree driver that supports Xbox wireless dongles;
the only option is the out-of-tree `xone` project which implements the GIP
protocol. The `xone` project itself, or similar functionality  cannot be
easily upstreamed due to the unclear legality of redistributing the
required Microsoft firmware. This patch lets users avoid device conflicts
and run both drivers side by side, without having to patch or fork xpad
(eg: https://github.com/medusalix/xpad-noone) for each kernel update.

Tested on kernel version 6.14.0 with both legacy Xbox 360 controllers
and a Microsoft Xbox Wireless Adapter Dongle + Xbox Controller Model 1914

Thanks for your consideration.

Best,
Apoorv Parle

Apoorv Parle (1):
  Input: xpad - add disable_xboxone module parameter

 drivers/input/joystick/xpad.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)