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

From: BjÃrn Mork
Date: Sat Jan 23 2016 - 07:50:16 EST


Michal Malà <madcatxster@xxxxxxxxxxxxxxxxxx> writes:

> 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.

Can this switching be done in userspace? That's what we normally do, ref
usb_modeswitch.


BjÃrn