Accessing USB devices from User Space

Introduction


This document describes the details of the programming interface for accessing USB devices and USB interfaces from code running in User Space. This document assumes that you have a basic understanding of the material contained in the document Accessing Hardware From Applications (available at http://developer.apple.com/documentation/DeviceDrivers/Conceptual/AccessingHardware/AH_About/chapter_1_section_1.html) For definitions of I/O Kit terms used in this document, such as matching dictionary, family, and driver, see the overview of I/O Kit terms and concepts in the "I/O Kit Hardware Access" chapter of Accessing Hardware From Applications.

This document also assumes that you have read the document Working with USB Device Interfaces (available at http://developer.apple.com/documentation/DeviceDrivers/Conceptual/USBBook/). Please review that document before trying to use this reference.

All of the information described in this document is contained in the header file IOUSBLib.h found at /System/Library/Frameworks/IOKit.framework/Headers/usb/IOUSBLib.h.


© 2001-2004 Apple Computer, Inc.