All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices
@ 2016-01-23 10:35 Michal Malý
  2016-01-23 10:35 ` [PATCH 1/2] Add usb_skelswitch skeleton module to do basic initialization of devices that at first appear as a generic USB device Michal Malý
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Michal Malý @ 2016-01-23 10:35 UTC (permalink / raw)
  To: gregkh, linux-usb, linux-kernel
  Cc: dmitry.torokhov, jikos, elias.vds, edwin, simon, Michal Malý

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.

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>

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

-- 
2.7.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-25 21:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-23 10:35 [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices Michal Malý
2016-01-23 10:35 ` [PATCH 1/2] Add usb_skelswitch skeleton module to do basic initialization of devices that at first appear as a generic USB device Michal Malý
2016-01-23 10:35 ` [PATCH 2/2] Use usb_skelswitch module to switch Logitech G920 Racing Wheel to HID mode Michal Malý
2016-01-23 12:46 ` [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices Bjørn Mork
2016-01-23 15:56   ` Michal Malý
2016-01-23 16:39     ` Greg KH
2016-01-24 22:05       ` Oliver Neukum
2016-01-24 22:48         ` Greg KH
2016-01-25 11:27           ` Oliver Neukum
2016-01-25 14:17     ` Jiri Kosina
2016-01-25 21:02       ` Michal Malý

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.