Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932155AbcCHOWc (ORCPT ); Tue, 8 Mar 2016 09:22:32 -0500 Received: from mga02.intel.com ([134.134.136.20]:52420 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbcCHOW1 (ORCPT ); Tue, 8 Mar 2016 09:22:27 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,556,1449561600"; d="asc'?scan'208";a="904966920" From: Felipe Balbi To: Krzysztof Opasiak , Felipe Ferreri Tonello , linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Michal Nazarewicz , Clemens Ladisch Subject: Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes In-Reply-To: <56DEDE81.6000007@samsung.com> References: <1456947640-20673-1-git-send-email-eu@felipetonello.com> <1456947640-20673-4-git-send-email-eu@felipetonello.com> <87wppi67c5.fsf@ti.com> <270D9ECD-1810-48BC-BBE9-9C9DD5E44D4F@felipetonello.com> <87egbmkah0.fsf@intel.com> <56DD4C84.1090506@felipetonello.com> <87ziuaimf8.fsf@intel.com> <56DD6241.2000308@felipetonello.com> <87h9ghife2.fsf@intel.com> <56DED984.3090702@felipetonello.com> <56DEDE81.6000007@samsung.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.0.90.3 (x86_64-pc-linux-gnu) Date: Tue, 08 Mar 2016 16:20:35 +0200 Message-ID: <87lh5tgifg.fsf@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1745 Lines: 55 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Krzysztof Opasiak writes: > [ text/plain ] > > > On 03/08/2016 02:54 PM, Felipe Ferreri Tonello wrote: > (...) > >>> >>>> sort of preset library of configfs-based gadget drivers, we still need >>>> these modules. >>> >>> there is already a library called libusbg. >>=20 >> By preset library I meant scripts or little programs that implement the >> legacy drivers we have. >>=20 > > libusbgx implements an idea of gadget schemes[1]. That's simple > configuration files using libconfig syntax. I don't see any problems to > use it to create legacy gadget equivalents. Then you could simply load > it using usbg_import_gadget() in C code or gt[2] load from shell. cool, bmAttributes and bMaxPower are already there. Nice. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJW3t+0AAoJEIaOsuA1yqREj5MP/2KkbQfT1nWmipSC2TPGDTpF bTd/wb0ipUK1q2hvGZcDjGs+nlydgkzYtYcYXuSwLbJMmoUZVQYaWk9ak6zpg4OY AijnCGlH3l+LNrnHYq5R+fBgvdXVE5xwHSqwyqyVN+5Bv/eSfI0kPwrM3FdCLP88 qQOBx+Gx3boFXqIPaGEuz3hHiGzr5IWzJO2mE4GFbcowGXu2Y/Y0enXFIzcdfFMH lZOvF8blMWRrexXmr7deJSlaERrXmMP6eWSE9hF6anUbiunlr8sdUb40Y5bPIGZb +6JuaKehXCUXGJESEJ+adC/QvOgSo91gRvT9OqZuC5Mgm39jQ9rj6JmPlzqiQN33 DzRfx6gR1W67KFCjuHe+FlgOXi/rNu0MFT9gIpGQ22opicFoU7UXGFgoHyySR4sW SqpkaZYi84djPWIc0x2wALKg58pZgy62Bj7YsfqQHOre1C5fQMy/jYo3MvFuRJN0 ZlYidaPfKINILa/V0XLkEib4lC+XaB2iy148xqsztkgVmeskmXvr7zRjupCAiF7D nLlwGTyjnX2K5HkV0jyyOAXLbN08C398ceSJhpU0llNAd0ijAbRu186F5ZOpcbGZ RBk2et+Bf6CFSpcAXJGbgTxXPrZr4nZfLI2aXmxmgDVcVqqdtOEdSBTJbY8OUDB1 p7JyfQWTMEN845ThgOdq =32ER -----END PGP SIGNATURE----- --=-=-=--