February 10, 2020

235 words 2 mins read

Modern USB Gadget with Custom USB Functions & its Integration with systemd

Modern USB Gadget with Custom USB Functions & its Integration with systemd

Creating USB gadgets from Linux-powered devices has never been easier. Custom USB functions, such as MTP or PTP, are not a problem, either. And finally it is possible to integrate all this with system …

Talk Title Modern USB Gadget with Custom USB Functions & its Integration with systemd
Speakers Andrzej Pietrasiewicz (Consultant Senior Software Engineer, Collabora)
Conference Open Source Summit + ELC North America
Conf Tag
Location San Diego, CA, USA
Date Aug 19-23, 2019
URL Talk Page
Slides Talk Slides
Video

Creating USB gadgets from Linux-powered devices has never been easier. Custom USB functions, such as MTP or PTP, are not a problem, either. And finally it is possible to integrate all this with systemd!The traditional approach to gadgets creation used to be writing kernel modules. Andrzej will cover composing the gadgets at runtime with configfs and available opensource tools, no more module writing. He will present recent additions to systemd which allow smooth integration of gadget creation, e.g. at device boot time - a frequent use case, all the necessary systemd units will be presented and explained, including possible templatization options. Rolling one’s own USB functions (such as MTP) implemented in userspace using FunctionFS, composing them into a USB gadget and their integration with systemd will be covered and relevant systemd units explained. To demonstrate all the topics Andrzej will create an MTP gadget using opensource components and present it in action.

comments powered by Disqus