Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752474Ab3IKHmz (ORCPT ); Wed, 11 Sep 2013 03:42:55 -0400 Received: from ares07.inai.de ([5.9.24.206]:53603 "EHLO ares07.inai.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751052Ab3IKHmx (ORCPT ); Wed, 11 Sep 2013 03:42:53 -0400 Date: Wed, 11 Sep 2013 09:42:52 +0200 (CEST) From: Jan Engelhardt To: Matt Porter cc: Linux USB List , Linux Kernel Mailing List Subject: Re: Introducing libgadget 0.0.1 In-Reply-To: <20130904172532.GA10973@ohporter.com> Message-ID: References: <20130904172532.GA10973@ohporter.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 923 Lines: 29 On Wednesday 2013-09-04 19:25, Matt Porter wrote: >With the move to configfs for creation of arbitrary USB composite gadgets, >I found myself wanting a simple C library to configure and parse gadgets >in a system. It has no other dependencies other than libc itself. > >It can be found at: > > git://git.linaro.org/people/mporter/libgadget.git Hm but there is already a libgadget (and not just one) if you query a particular search engine entitled Google :} >$ mkdir /config >$ mount -t configfs none /config Do your tools support input of a different location? (systemd mounts configfs at /sys/kernel/config.) >$ gadget-acm-ecm >$ show-gadgets >ID 1d6b:0104 'g1' >[...] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/