Content deleted Content added
m Reverted edits by Jesse Viviano (talk) to last version by 118.244.255.6 |
UHCI, EHCI, and xHCI do polling in hardware after setup assuming no interrupts need to be handled and there are no other transactions that need software to intervene, but OHCI does polling in software. |
||
Line 24:
When USB was originally developed in 1995, it was targeted at desktop platforms to stem the proliferation of connectors that were appearing on PCs, e.g. [[PS/2 connector|PS/2]], [[serial port]], [[parallel port]], Game Port, etc., and host power consumption was not an important consideration at the time. Since then, mobile platforms have become the platform of choice, and their batteries have made power consumption a key consideration. The architectures of the legacy USB host controllers (OHCI, UHCI, and EHCI) were very similar in that the "schedule" for the transactions to be performed on the USB were built by software in host memory, and the host controller hardware would continuously read the schedules to determine what transactions needed to be driven on the USB, and when, even if no data was moved. Additionally, in the case of reads from the device, the device was polled each schedule interval, even if there was no data to read.
* The xHCI eliminates host memory based USB transaction schedules, enabling zero host memory activity when there is no USB data movement.
* The xHCI reduces the need for periodic device polling by allowing a USB 3.0 or later device to notify the host controller when it has data available to read, and moves the management of polling USB 2.0 and 1.1 devices that use interrupt transactions from the CPU-driven USB driver to the USB host controller. UHCI and EHCI host controllers would automatically handle polling for the CPU if there are no changes that need to be made and if no device has any interrupts to send<ref>ftp://ftp.netbsd.org/pub/NetBSD/misc/blymn/uhci11d.pdf</ref><ref>http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/ehci-specification-for-usb.pdf</ref>, but OHCI host controllers rely on software to poll the USB bus.<ref>ftp://ftp.compaq.com/pub/supportinformation/papers/hcir1_0a.pdf</ref> If any USB device using interrupt transactions does have data to send, then
* The xHCI does not require that implementations provide support for all advanced USB 2 and 3 power management features, including USB 2 LPM, USB 3 U1 and U2 states, HERD, LTM, Function Wake, etc.; but these features are required to realize all of the advantages of xHCI.
|