Skip to content

Add a skeleton module to perform a basic initialization on certain USB devices

Michal Malý lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add usb_skelswitch skeleton module to do basic initialization of devices that at first appear as a generic USB device.drivers/usb/Kconfig drivers/usb/common/Kconfig drivers/usb/common/Makefile +1 more+100 -00 replies
2/2Use usb_skelswitch module to switch Logitech G920 Racing Wheel to HID mode.drivers/usb/common/Kconfig drivers/usb/common/usb-skelswitch.c+62 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchElias Vanderstuyft
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

This mini series adds a simple skeleton module whose only purpose is to bring devices that at first appear as a generic USB device into another mode that can be handled by a more specific subsystem.

This patch was originally requested by Dmitry, reasoning that loading the entire xpad module just to switch a Logitech G920 wheel into HID mode is excessive and does not make much sense.

The module can be extended to handle any other USB device that might require such a switch.

Michal Malý (2):
Add usb_skelswitch skeleton module to do basic initialization of
devices that at first appear as a generic USB device.
Use usb_skelswitch module to switch Logitech G920 Racing Wheel to HID
mode.

 drivers/usb/Kconfig                 |   2 +
 drivers/usb/common/Kconfig          |  17 +++++
 drivers/usb/common/Makefile         |   2 +
 drivers/usb/common/usb-skelswitch.c | 141 ++++++++++++++++++++++++++++++++++++
 4 files changed, 162 insertions(+)
 create mode 100644 drivers/usb/common/Kconfig
 create mode 100644 drivers/usb/common/usb-skelswitch.c
Signature · 1 line
2.7.0