<HTML><HEAD><TITLE>Draft Inside Macintosh Reference</TITLE></HEAD> <BODY bgcolor="#ffffff"> <H1>Accessing USB devices from User Space</H1> <h3>Introduction</h3> <hr> <p>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 <i>Accessing Hardware From Applications</i> (available at <a href="http://developer.apple.com/techpubs/macosx/Kernel/kernel.html" target="_blank">http://developer.apple.com/techpubs/macosx/Kernel/kernel.html</a>.) 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.</p> <p>This document also assumes that you have read the document <i>Working with USB Device Interfaces</i> (available at <a href="http://developer.apple.com/techpubs/macosx/Darwin/IOKit/DeviceInterfaces/USBBook/index.html" target="_blank">http://developer.apple.com/techpubs/macosx/Darwin/IOKit/DeviceInterfaces/USBBook/index.html</a>). Please review that document before trying to use this reference.</p> <p>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.<br> </p> <hr> <p>© 2001 Apple Computer, Inc.</p> </BODY> </HTML>