Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
USB System Architecture (USB 2.0).pdf
Скачиваний:
173
Добавлен:
03.05.2015
Размер:
7.03 Mб
Скачать

USB System Architecture

Table 19-13: Device States

Attached

Powered

Default

Address

Configured

Suspend

State

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Yes

Yes

Yes

Yes

Yes

Yes

Device is, at minimum,

 

 

 

 

 

 

attached to USB, has been

 

 

 

 

 

 

reset, and is powered at the

 

 

 

 

 

 

minimum suspend level. It

 

 

 

 

 

 

may also have a unique

 

 

 

 

 

 

address and be configured

 

 

 

 

 

 

for use. However, since the

 

 

 

 

 

 

device is suspended, the

 

 

 

 

 

 

host may not use the

 

 

 

 

 

 

device’s function.

 

 

 

 

 

 

 

Client Software Configuration

An important aspect of device configuration is determining which device class a particular device belongs to. A device’s class definition provides information used by host and client software to determine how a device is to be controlled and accessed. Host software uses the device class definition to identify the corresponding USB class device driver. The class driver, knowing the definition related to its class-specific descriptors, can then further evaluate the device to determine specific characteristics of the device.

Device classes are defined in individual specifications. At the time of this writing the following class specifications had been devised, while others were still being defined.

HID Device Class — Human Interface Devices

Communication Device Class

Monitor Device Class

Mass Storage Device Class

Audio Device Class

Chapter 21 provides an overview of each of these device classes.

374

20 Hub

Configuration

The Previous Chapter

The previous chapter discussed the configuration of USB devices that are attached to any USB port. The process is virtually the same for devices of any speed. Device descriptors and other characteristics and features that relate to configuring the device were also detailed and discussed.

This Chapter

Hub devices are configured like any other device attached to a USB port. Hub configuration differs in that it involves reporting whether or not other devices are attached to the downstream ports. This chapter reviews the hub configuration process with the focus on the issues related to extending the bus through the hub’s downstream facing ports.

The Next Chapter

The next chapter introduces the concept of device classes and discusses their role within the USB. This chapter also introduces all the approved class types (at the time of this writing) and provides a more detailed summary of the audio, mass storage, monitor, and communications classes. These classes are discussed to provide the reader with a sense of the information defined for each class and the USB mechanisms that they use. A detailed discussion of device classes requires in-depth knowledge in the associated field such as telephony and audio, and is outside the scope of this book.

375

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]