Skip to content
forked from libusbf/libusbf

Library for creating userspace USB functions using FunctionFS

License

GPL-2.0, LGPL-2.1 licenses found

Licenses found

GPL-2.0
COPYING
LGPL-2.1
COPYING.LGPL
Notifications You must be signed in to change notification settings

pszewczyk/libusbf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libusbf
-------

libusbf is a C library simplifying implementation of USB functions in
userspace by encapsulating FunctionFS API. This is a device-side
equivalent of what on host-side is libusb. It shouldn't be confused with
libusbg library designed for USB gadget composition.

For now this is proof-of-concept simple library with unstable API,
but it allows to use most of FunctionFS functionality. It automates
USB descriptors generation process and binds synchronous comunication.

The aim is to create full featured simple in use library with synchronous
and asynchronous communication API, fully covering FunctionFS functionality.

libusbf needs Linux kernel in version 3.16+. If you can't meet this
requirement, it should be quite simple to backport latest FunctionFS
patches to older kernels.

About

Library for creating userspace USB functions using FunctionFS

Resources

License

GPL-2.0, LGPL-2.1 licenses found

Licenses found

GPL-2.0
COPYING
LGPL-2.1
COPYING.LGPL

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.4%
  • M4 3.0%
  • Makefile 1.6%