August 19-21 - Co-Located Events
August 21-23 - Conference
Hilton San Diego Bayfront - San Diego, CA
More information for Open Source Summit + Embedded Linux Conference North America 2019
Back To Schedule
Friday, August 23 • 11:30am - 12:05pm
Modern USB Gadget with Custom USB Functions & its Integration with systemd - Andrzej Pietrasiewicz, Collabora*

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
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.

avatar for Andrzej Pietrasiewicz

Andrzej Pietrasiewicz

Consultant Senior Software Engineer, Collabora
Andrzej Pietrasiewicz graduated from Warsaw University of Technology, Faculty of Electronics and Information Technology, Warsaw, Poland in 2002. From then on he had been developing systems in C++ for over 5 years. Then for 3 years, he had been involved in various smaller projects... Read More →

Friday August 23, 2019 11:30am - 12:05pm PDT
Indigo A
  Embedded Linux Conference
  • Session Slides Included Yes
  • Session Recorded Yes