lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 11 Sep 2013 08:23:16 -0400
From:	Matt Porter <matt.porter@...aro.org>
To:	Jan Engelhardt <jengelh@...i.de>
CC:	Linux USB List <linux-usb@...r.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Introducing libgadget 0.0.1

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ