GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop.
Notes: - The JSON format used to serialising devices is not yet stable, and might change. New Features: - Add support for getting BOS descriptors (Richard Hughes) - Allow emulating devices by saving and replaying device events (Richard Hughes) - Cache the list of interfaces and descriptors (Richard Hughes) - Serialize the GUsbDevice to and from JSON format (Richard Hughes) Bugfixes: - Ignore usb.ids classes, subclasses and protocols (Richard Hughes) - Never dispatch idle events after the context has been destroyed (Richard Hughes) - Skip some functionality when emulating (Richard Hughes) Tarballs available here: http://people.freedesktop.org/~hughsient/releases/ Richard