diff options
Diffstat (limited to 'zh_CN.GB2312/books/arch-handbook/usb/chapter.xml')
-rw-r--r-- | zh_CN.GB2312/books/arch-handbook/usb/chapter.xml | 57 |
1 files changed, 21 insertions, 36 deletions
diff --git a/zh_CN.GB2312/books/arch-handbook/usb/chapter.xml b/zh_CN.GB2312/books/arch-handbook/usb/chapter.xml index eaa9e5a813..7e3582ac89 100644 --- a/zh_CN.GB2312/books/arch-handbook/usb/chapter.xml +++ b/zh_CN.GB2312/books/arch-handbook/usb/chapter.xml @@ -6,34 +6,22 @@ Original Revision: 1.9 $FreeBSD$ --> - -<chapter id="usb"> - <chapterinfo> +<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="usb"> + <info><title>USB设备</title> <authorgroup> - <author> - <firstname>Nick</firstname> - <surname>Hibma</surname> - <contrib>&cnproj.written.by;</contrib> - </author> + <author><personname><firstname>Nick</firstname><surname>Hibma</surname></personname><contrib>&cnproj.written.by;</contrib></author> </authorgroup> <authorgroup> - <author> - <firstname>Murray</firstname> - <surname>Stokely</surname> - <contrib>&cnproj.modified.for.handbook.by;</contrib> - </author> + <author><personname><firstname>Murray</firstname><surname>Stokely</surname></personname><contrib>&cnproj.modified.for.handbook.by;</contrib></author> </authorgroup> <authorgroup> - <author> - &author.cn.spellar; - <contrib>&cnproj.translated.by;</contrib> - </author> + <author><personname/><contrib>&cnproj.translated.by;</contrib></author> </authorgroup> - </chapterinfo> + </info> - <title>USB设备</title> + - <sect1 id="usb-intro"> + <sect1 xml:id="usb-intro"> <title>简介</title> <indexterm><primary>Universal Serial Bus (USB, 通用串行总线)</primary></indexterm> @@ -102,7 +90,7 @@ </sect2> </sect1> - <sect1 id="usb-hc"> + <sect1 xml:id="usb-hc"> <title>主控器</title> <indexterm><primary>USB(通用串行总线)</primary><secondary>host controllers(主控制器)</secondary></indexterm> @@ -114,8 +102,8 @@ 因此每条USB总线只能有一个host。每个包的传输都有一个状态阶段, 数据接收者可以在其中返回ACK(应答接收),NAK(重试),STALL(错误 条件)或什么也没有(混乱数据阶段,设备不可用或已断开)。USB规范 - <ulink url="http://www.usb.org/developers/docs.html">USB - specification</ulink>的第8.5节更详细地解释了包的细节。USB总线 + <link xlink:href="http://www.usb.org/developers/docs.html">USB + specification</link>的第8.5节更详细地解释了包的细节。USB总线 上可以出现四中不同类型的传输:控制(control), 大块(bulk), 中断 (interrupt)和同步(isochronous)。传输的类型和他们的特性在下面 描述(`管道'子节中)。</para> @@ -133,10 +121,9 @@ hub设备类。它必须提供一个默认管道使得设备请求可以发送给它。它返回 标准和hub类特定的一组描述符。它也应当提供一个中断管道用来报告其 端口发生的变化。当前可用的主控器规范有两个: - <ulink url="http://developer.intel.com/design/USB/UHCI11D.htm"> - 通用主控器接口</ulink>(UHCI;英特尔)和<ulink - url="http://www.compaq.com/productinfo/development/openhci.html"> - 开放主控器接口</ulink>(OHCI;康柏,微软,国家半导体)。 + <link xlink:href="http://developer.intel.com/design/USB/UHCI11D.htm"> + 通用主控器接口</link>(UHCI;英特尔)和<link xlink:href="http://www.compaq.com/productinfo/development/openhci.html"> + 开放主控器接口</link>(OHCI;康柏,微软,国家半导体)。 UHCI规范的设计通过要求主控器驱动程序为每帧的传输提供完整的调度, 从而减少了硬件复杂性。OHCI类型的控制器自身提供一个更抽象的接口来 完成很多工作,从而更加独立。</para> @@ -174,9 +161,8 @@ 当中断服务例程被调用时,它将定位所有已完成的传输并调用它们的回调。 </para> - <para>更详尽的描述请看 <ulink - url="http://developer.intel.com/design/USB/UHCI11D.htm">UHCI - specification。</ulink></para> + <para>更详尽的描述请看 <link xlink:href="http://developer.intel.com/design/USB/UHCI11D.htm">UHCI + specification。</link></para> </sect2> @@ -204,9 +190,8 @@ 周期性地调用,来处理完成的队列,为每个传输调用回调,并重新调度 中断和同步端点。</para> - <para>更详尽的描述请看 <ulink - url="http://www.compaq.com/productinfo/development/openhci.html"> - OHCI specification</ulink>。服务层,即中间层,提供了以可控的方式 + <para>更详尽的描述请看 <link xlink:href="http://www.compaq.com/productinfo/development/openhci.html"> + OHCI specification</link>。服务层,即中间层,提供了以可控的方式 对设备进行访问,并维护着由不同驱动程序和服务层所使用的资源。 此层处理下面几方面:</para> @@ -220,7 +205,7 @@ </sect2> </sect1> - <sect1 id="usb-dev"> + <sect1 xml:id="usb-dev"> <title>USB设备信息</title> <sect2> @@ -335,7 +320,7 @@ </sect2> </sect1> - <sect1 id="usb-devprobe"> + <sect1 xml:id="usb-devprobe"> <title>设备的探测和连接</title> <indexterm><primary>USB(通用串行总线)</primary><secondary>probe(探测)</secondary></indexterm> @@ -386,7 +371,7 @@ </sect2> </sect1> - <sect1 id="usb-protocol"> + <sect1 xml:id="usb-protocol"> <title>USB驱动程序的协议信息</title> <para>USB规范没有定义除默认管道外其他管道上使用的协议。这方面的信息 |