linux-2.6.11/Documentation/usb/amd5536uoc.txt の和訳(ドラフト) H.Suzuki 2006/06/26 -------------------------------------------------------------------------- Howto for Linux device driver for the AMD5536 USB Options Controller (UOC) AMD5536 USB オプションコントローラ (UOC) 用 linux デバイスドライバの HOWTO -------------------------------------------------------------------------- Author: Karsten Boge 著者: Karsten Boge (1)Introduction (1) 序論 =============== The AMD5536 UOC is part of x86 southbridge AMD5536. The USB port is shared between the USB Host Controller and the USB Device Controller as defined in BIOS setup. The on-chip UOC controller is used to switch the usb port between host, UDC and neutral. The amd5536uoc driver is needed to get the USB Device Controller operating. AMD5536 UOC は、x86 サウスブリッジ AMD5536 の一部です。 USB ポートは、USB ホストコントローラと、 USB デバイスコントローラ (BIOS 設定で定義された) 間で共有されます。 オンチップの UOC コントローラは、USB ポートホスト間、UDC と ニュートラルの切替えに使います。ですから、USB デバイスコントローラ を機能させるのに amd5536uoc が必要です。 (2) Patches (2) パッチ =========== udc.patch: This containes the UDC driver as together with the UOC driver これは、UOC ドライバと統合された UDC ドライバを含んでいます。 (3) Driver source code installation (3) ドライバソースコードのインストール =================================== - New files for UOC: - UOC のための新しいファイル: drivers/usb/gadget/amd5536uoc.h drivers/usb/gadget/amd5536uoc.c (4) BIOS setup (4) BIOS 設定 ================== PCI Configuration UDC: Enabled OTG: Enabled Port 4 assignment: Device PCI 設定 UDC: 有効 OTG: 有効 ポート 4 割り当て: デバイス (4) Config options (4) 設定オプション ================== Support for USB Gadgets USB Periheral Controller (?choice?) (X) AMD5536UDC The role of the UOC port can be defined within the BIOS setup exclusively. UOC ポートの役目は、BIOS 設定内で明示的に 決められます。 Selecting the amd5536udc driver results in building the amd5536uoc driver too. If "Support for USB Gadgets" is configured to be statically linked both modules will be linked into the kernel image otherwise an additional module called amd5536uoc will be built amd5536udc ドライバを選択した結果、amd5536uoc ドライバも構築されます。 "Support for USB Gadgets" が静的リンク(組込み)で構成されるなら、 両方のモジュールは、カーネルイメージ内にリンクされるでしょう。 そうでないなら、amd5536uoc という名前の追加モジュールが構築されます。 (5) Compile and install (5) 構築とインストール ======================= If global USB support is configured to be used as kernel module (usbcore.o) (recomended): 汎用 USB サポートが、カーネルもジュール (usbcore.o) として使うように設定 (推奨) されたなら: make modules SUBDIRS=drivers/usb/gadget make modules_install If it's linked into the kernel image an new kernel image must be compiled and created before. カーネルイメージ内にリンク(組込まれる) なら、その前に、 新しいカーネルは構築、生成されていなければなりません。 (6) Usage (6) 使いかた ========= modprobe amd5536uoc This will load the module and other modules which provide interfaces used by the UOC driver (usbcore, amd5536udc). これは、モジュールと、インタフェースを提供するために UOC ドライバで使われる他のモジュール(usbcore, amd5536udc) を組込みます。 The amd5536uoc driver is needed to power up the uoc logic which controls the pullup resistors connected to either the D+ or D- USB pins. The function of this pullup resistors is to signal the host that a device is connected, and at which speed the device operates. amd5536uoc ドライバは、D+ や D- USB ピンどちらかに接続された プルアップ抵抗を制御する uoc ロジックのパワーアップに必要です。 このプルアップ抵抗の機能は、デバイスが接続されたシグナルをホストに送る、 および、どんな速度でデバイスが動作しているかを知らせます。 Make sure the USB port is assigned to device within the BIOS setup otherwise the modules will not be loaded. BIOS セットアップで、確実に、USB ポートをデバイスに割り当てます。 そうでなければ、モジュールは組込まれません。