From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753360AbcAWMuN (ORCPT ); Sat, 23 Jan 2016 07:50:13 -0500 Received: from canardo.mork.no ([148.122.252.1]:58736 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753032AbcAWMtr convert rfc822-to-8bit (ORCPT ); Sat, 23 Jan 2016 07:49:47 -0500 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: Michal =?utf-8?Q?Mal=C3=BD?= Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com, jikos@kernel.org, elias.vds@gmail.com, edwin@velds.nl, simon@mungewell.org Subject: Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices Organization: m References: <1453545311-5721-1-git-send-email-madcatxster@devoid-pointer.net> Date: Sat, 23 Jan 2016 13:46:32 +0100 In-Reply-To: <1453545311-5721-1-git-send-email-madcatxster@devoid-pointer.net> ("Michal =?utf-8?Q?Mal=C3=BD=22's?= message of "Sat, 23 Jan 2016 11:35:09 +0100") Message-ID: <87zivwbh07.fsf@nemi.mork.no> User-Agent: Gnus/5.130013 (Ma Gnus v0.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michal Malý 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