From: Matt Porter <matt.porter@linaro.org>
To: Jan Engelhardt <jengelh@inai.de>
Cc: Linux USB List <linux-usb@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Introducing libgadget 0.0.1
Date: Wed, 11 Sep 2013 08:23:16 -0400 [thread overview]
Message-ID: <523060B4.5080109@linaro.org> (raw)
In-Reply-To: <alpine.LSU.2.11.1309110940430.29134@nerf07.vanv.qr>
On 09/11/2013 03:42 AM, Jan Engelhardt wrote:
> 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 :}
Yes, looked a bit at this before and both were seemingly defunct.
However, to avoid confusion, the 0.0.2 release is becoming libusbg.
>
>> $ 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'
>> [...]
>
Also being addressed in 0.0.2. One of my test platforms is now using a
systemd-based rootfs so it became readily apparent. Hopefully I'll have
that release tagged in a few days.
Thanks for taking a look!
-Matt
prev parent reply other threads:[~2013-09-11 12:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 17:25 Introducing libgadget 0.0.1 Matt Porter
2013-09-11 7:42 ` Jan Engelhardt
2013-09-11 12:23 ` Matt Porter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=523060B4.5080109@linaro.org \
--to=matt.porter@linaro.org \
--cc=jengelh@inai.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox