O'Reilly logo

Bootstrap Yourself with Linux-USB Stack: Design, Develop, Debug, and Validate Embedded USB by Rajaram Regupathy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Class Driver

In This Chapter

  • Bootstrap Essentials: Class Drivers

  • Class Driver: Design

  • Simple Composite Class Driver: Loopback

Universal serial bus (USB) devices are often referred to along with the functionality they support, such as USB audio device or USB storage device. The USB device’s functionality is implemented in the class driver layer. These classes are defined by the USB working group and are available in http://www.usb.org/developers/devclass_docs#approved. Sometimes a device can support more than one functional driver and is referred to as a composite device.

Linux supports simple functional drivers that provide a single functionality, such as mass storage devices. Lately, the Linux gadget framework has introduced a composite ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required