To Learn More or Register: LinuxCon North America | CloudOpen North America
Back To Schedule
Wednesday, August 20 • 12:15pm - 1:05pm
Make your Own USB Gadget - Andrzej Pietrasiewicz, Samsung

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

A USB gadget can be connected to a host to extend it with additional functions. Creating a gadget means deciding what configurations there are and which functions each configuration provides. So far the choice has been made at kernel compile time, now it can be made with configfs instead at runtime. Composing a gadget of existing functions does not involve USB maintainers any more, basic shell scripting is enough, which opens new interesting possibilities for developers. This presentation is for Linux-based USB gadgets' vendors, Linux distributors and kernel/software developers. It is about how to create gadgets with configfs, including support for "OS descriptors" expected by a popular operating system, examples are given, and about how configfs is integrated into the gadget framework. Status update since last year is given and userspace's response to the new interface is described.

Survey this Session   

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 →

Wednesday August 20, 2014 12:15pm - 1:05pm CDT
Sheraton Ballroom I

Attendees (0)