JP2003337784A - Control system and usb device - Google Patents

Control system and usb device

Info

Publication number
JP2003337784A
JP2003337784A JP2002146122A JP2002146122A JP2003337784A JP 2003337784 A JP2003337784 A JP 2003337784A JP 2002146122 A JP2002146122 A JP 2002146122A JP 2002146122 A JP2002146122 A JP 2002146122A JP 2003337784 A JP2003337784 A JP 2003337784A
Authority
JP
Japan
Prior art keywords
host device
usb
usb device
error code
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002146122A
Other languages
Japanese (ja)
Inventor
Takatomo Kawai
孝知 川合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2002146122A priority Critical patent/JP2003337784A/en
Publication of JP2003337784A publication Critical patent/JP2003337784A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To actively notify a host device of a control request from a USB device. <P>SOLUTION: The USB device 10 has user interface means 1 and 2 for accepting a given external operation, and transmitting/receiving means 4 for transmitting an event generated by the given operation to the host device 20 as an error code of a USB command, receiving a request signal output from the host device 20 when the host device 20 detects the transmitted error code, and in response to the reception, transmitting information on the given operation to the host device 20. The host device 20 has transmitting/receiving means for receiving the error code transmitted from the USB device 10, upon detecting it, transmitting the request signal to the USB device 10, and receiving the information on the given operation transmitted from the USB device 10 having received the request signal, and recognizes the operation of the USB device 10 from the received information on the given operation. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ホスト装置と当該
ホスト装置と接続してデータファイルを記憶するUSB
デバイスとを備える制御システム及びUSBデバイスに
関し、特に、USBデバイスがホスト装置に対し能動的
に制御要求を通知することを可能にする技術に係わる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a host device and a USB for connecting to the host device and storing a data file.
The present invention relates to a control system including a device and a USB device, and more particularly to a technology that enables the USB device to actively notify a host device of a control request.

【0002】[0002]

【従来の技術】コンピュータとその周辺機器とを接続す
るシリアルインタフェイスの一つであるUSB(Univer
sal Serial Bus)は、コンピュータの電源を切らなくて
もケーブルの抜き差しが可能(ホットプラグ)、周辺機
器の接続に伴うコンピュータ側の設定が不要(プラグ&
プレイ)等、多くの利点を有することから、現在までに
広く普及している。なお、USBのトポロジーでは、バ
ス転送を制御する1台のマスタ機器(ホスト装置)がシ
ステム内に存在し、それ以外の装置はスレーブ機器(デ
バイス)となる。そして、通常、ホスト装置の役割はコ
ンピュータが担うことになる。そこで以下では、コンピ
ュータ及びUSBを介してコンピュータに接続される周
辺機器をそれぞれホスト装置及びデバイスと表現する。
2. Description of the Related Art USB (Univer) is one of serial interfaces for connecting a computer and its peripheral devices.
sal Serial Bus) allows you to connect and disconnect the cable without turning off the computer (hot plug), and does not require setting on the computer side when connecting peripheral devices (plug &
Since it has many advantages such as play), it has been widely spread to the present. In the USB topology, one master device (host device) that controls bus transfer exists in the system, and the other devices are slave devices (devices). Then, the computer normally plays the role of the host device. Therefore, hereinafter, the computer and the peripheral devices connected to the computer via the USB are referred to as a host device and a device, respectively.

【0003】USB仕様を策定しているUSB−IF
(USB Implementers Forum)では、USBデバイスの仕
様の規格化と共に、アプリケーション毎の共通特性を規
定した仕様(以下、クラス仕様と表記する)の規格化も
行っている。そして、クラス仕様を規格化することによ
り、USBデバイスのベンダー側がクラス仕様の要件を
満足するようにUSBデバイスを設計しさえすれば、O
S(Operating System)ベンダーやサードパーティは、
その機器用のクライアントドライバを提供することが可
能なようになっている。
USB-IF for which the USB specification is established
(USB Implementers Forum) standardizes USB device specifications as well as specifications that specify common characteristics for each application (hereinafter referred to as class specifications). By standardizing the class specifications, the USB device vendor can design the USB device so as to satisfy the requirements of the class specifications.
S (Operating System) vendors and third parties
It is possible to provide a client driver for the device.

【0004】上記クラス仕様は、より具体的に言えば、
類似の属性或いはサービスを有するデバイスのグループ
を規定したものであり、例えば、マウスやキーボード等
はHIDクラス(Human Interface Devices Class)に
属し、フロッピー(登録商標)ディスクドライブ、メモ
リカードリーダー、ハードディスク等の外部記憶装置と
して動作可能なUSBデバイスはマスストレージクラス
(Mass Storage Class)に属する。
More specifically, the above class specifications are
It defines a group of devices having similar attributes or services. For example, a mouse and a keyboard belong to the HID class (Human Interface Devices Class), and a floppy (registered trademark) disk drive, a memory card reader, a hard disk, etc. A USB device that can operate as an external storage device belongs to the Mass Storage Class.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記マスス
トレージクラスに属するUSBデバイスは、コンピュー
タの筐体内にフロッピーディスクドライブが内蔵されて
いる場合と同じように、基本的には、ホスト装置からの
読み出し/書き込み要求を受けてから記憶媒体に対し操
作するという受動的な処理を実行するデバイスである。
従って、ホスト装置とUSBデバイスとの間の通信にお
いては、USBデバイスからホスト装置に対し能動的に
制御要求を通知する方法は定義されていない。このた
め、従来までのUSBデバイスは、デバイス側で発生し
た操作のイベントをホスト装置に伝達し、このイベント
に対応した動作をホスト装置に実行させることができな
い。
A USB device belonging to the above mass storage class basically reads from a host device, as in the case where a floppy disk drive is built in the housing of a computer. / A device that executes a passive process of operating a storage medium after receiving a write request.
Therefore, in the communication between the host device and the USB device, a method for actively notifying the host device of the control request from the USB device is not defined. Therefore, the conventional USB device cannot transmit the event of the operation generated on the device side to the host device and cause the host device to execute the operation corresponding to this event.

【0006】なお、例えば、マスストレージクラスを利
用しないでUSBデバイスのベンダー側で固有の方法を
定義することが可能ではあるが、このようにした場合に
は、USBデバイスのベンダー側は、OS標準のクライ
アントドライバを利用する代わりに、定義した固有の方
法に対応し、且つ、マスストレージクラスの機能をも包
含するようなクライアントドライバを独自に作製してユ
ーザに提供しなければならないために、非常に大きな経
費と労力を要する。
It should be noted that, for example, it is possible to define a unique method on the USB device vendor side without using the mass storage class. In such a case, however, the USB device vendor side will use the OS standard. Instead of using the client driver of the above, it is necessary to create a client driver that corresponds to the defined unique method and also includes the function of the mass storage class, and provide it to the user. Requires a great deal of expense and labor.

【0007】本発明は、このような課題を解決するため
になされたものであり、その目的は、多くの経費と労力
を要することなく、ホスト装置に対し能動的に制御要求
を通知することが可能な制御システム及びUSBデバイ
スを提供することにある。
The present invention has been made to solve such a problem, and an object thereof is to actively notify a control request to a host device without requiring much expense and labor. It is to provide a possible control system and a USB device.

【0008】[0008]

【課題を解決するための手段】本発明に係る制御システ
ムの特徴は、ホスト装置(20)と当該ホスト装置(20)
と接続してデータファイルを記憶するUSBデバイス
(10)とを備える制御システムであって、前記USBデ
バイス(10)は、外部からの所定の操作を受け付けるユ
ーザインタフェース手段(1,2)と、前記所定の操作に
よって発生するイベントをUSBコマンドのエラーコー
ドとして前記ホスト装置(20)に送信し、前記送信され
た前記エラーコードを前記ホスト装置(20)が検知する
ことによって前記ホスト装置(20)から出される要求信
号を受信して、これに応じて、前記所定の操作に関する
情報を前記ホスト装置(20)に送信する送受信手段
(4)とを有し、前記ホスト装置(20)は、前記USB
デバイス(10)から送信される前記エラーコードを受信
し、これを検知することによって前記USBデバイス
(10)に前記要求信号を送信して、前記要求信号を受信
した前記USBデバイス(10)から送信される前記所定
の操作に関する情報を受信する送受信手段を有し、受信
した前記所定の操作に関する情報によって前記USBデ
バイス(10)の動作を認識することを特徴とする。
The control system according to the present invention is characterized by a host device (20) and the host device (20).
A control system comprising a USB device (10) connected to and storing a data file, wherein the USB device (10) includes user interface means (1, 2) for receiving a predetermined operation from the outside, and the USB device (10). An event generated by a predetermined operation is transmitted to the host device (20) as a USB command error code, and the host device (20) detects the transmitted error code so that the host device (20) detects the error code. The host device (20) further comprises a transmitting / receiving unit (4) for receiving a request signal issued and transmitting information relating to the predetermined operation to the host device (20) in response to the request signal.
The error code transmitted from the device (10) is received, the request signal is transmitted to the USB device (10) by detecting the error code, and the USB device (10) receives the request signal. It is characterized by having a transmitting / receiving means for receiving the information on the predetermined operation, and recognizing the operation of the USB device (10) by the received information on the predetermined operation.

【0009】また、本発明に係るUSBデバイスの特徴
は、ホスト装置(20)と接続してデータファイルを記憶
するUSBデバイス(10)であって、外部からの所定の
操作を受け付けるユーザインタフェース手段(1,2)
と、前記所定の操作によって発生するイベントをUSB
コマンドのエラーコードとして前記ホスト装置(20)に
送信し、前記送信された前記エラーコードを前記ホスト
装置(20)が検知することによって前記ホスト装置(2
0)から出される要求信号を受信して、これに応じて、
前記所定の操作に関する情報を前記ホスト装置(20)に
送信する送受信手段(4)とを有することを特徴とす
る。
The USB device according to the present invention is also characterized in that the USB device (10) is connected to the host device (20) and stores a data file, and has a user interface means for receiving a predetermined operation from the outside ( 1,2)
And the event generated by the above-mentioned predetermined operation
A command error code is transmitted to the host device (20), and the host device (20) detects the transmitted error code to cause the host device (2
0) from the request signal, and in response,
A transmission / reception means (4) for transmitting information on the predetermined operation to the host device (20).

【0010】このような構成によれば、USBデバイス
(10)からホスト装置(20)に対し能動的に制御要求を
通知することが可能となる。
According to such a configuration, it becomes possible to actively notify the host device (20) of the control request from the USB device (10).

【0011】[0011]

【発明の実施の形態】以下、図1,2を参照して、本発
明の実施の形態となるUSBデバイスの構成及びその動
作について詳しく説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the configuration and operation of a USB device according to an embodiment of the present invention will be described in detail with reference to FIGS.

【0012】[USBデバイスの構成]この実施の形態
によるUSBデバイス10は、図1に示すように、ホス
ト装置20と接続されることで外部記憶装置として動作
し、ディスプレイ1,タッチパネル2,メモリカードコ
ントローラ3,USBデバイスコントローラ4,CPU
(Central Processing Unit)5を備える。
[Structure of USB Device] As shown in FIG. 1, the USB device 10 according to this embodiment operates as an external storage device by being connected to a host device 20, and has a display 1, a touch panel 2, a memory card. Controller 3, USB device controller 4, CPU
(Central Processing Unit) 5 is provided.

【0013】ディスプレイ1は、液晶ディスプレイ等の
表示出力装置により構成され、メモリカード6に書き込
むデータファイル名等の各種情報を出力する。また、タ
ッチパネル2は、ユーザが指定したディスプレイ1上の
位置を検出可能な一般的なタッチパネル構造を有し、ユ
ーザがデバイスに各種制御情報を出力するためのユーザ
インタフェースの役割を担う。
The display 1 is composed of a display output device such as a liquid crystal display, and outputs various information such as a data file name to be written in the memory card 6. Further, the touch panel 2 has a general touch panel structure capable of detecting a position on the display 1 designated by the user, and plays a role of a user interface for the user to output various control information to the device.

【0014】メモリカードコントローラ3は、CPU5
からの指示に従って、メモリカード6へのデータの書き
込み/読み出し処理を制御する。USBデバイスコント
ローラ4は、USBデバイスとしてのハードウェア機能
を司るエンティティであり、USBコネクタ7を介して
ホスト装置20と接続する。また、USBデバイスコン
トローラ4は、CPU5が実行するソフトウェアプログ
ラムと協調してUSBバスインタフェイスを提供する。
The memory card controller 3 has a CPU 5
According to the instruction from, the process of writing / reading data to / from the memory card 6 is controlled. The USB device controller 4 is an entity that controls hardware functions as a USB device, and is connected to the host device 20 via the USB connector 7. The USB device controller 4 also provides a USB bus interface in cooperation with a software program executed by the CPU 5.

【0015】CPU5は、一般的なプロセッサにより構
成され、所定のソフトウェアプログラムに従って、ディ
スプレイ1,タッチパネル2,メモリカードコントロー
ラ3,及びUSBデバイスコントローラ4の動作を制御
する。
The CPU 5 is composed of a general processor and controls the operations of the display 1, the touch panel 2, the memory card controller 3, and the USB device controller 4 according to a predetermined software program.

【0016】このように構成されたUSBデバイス10
は、ユーザから例えばデータファイルが選択された際に
「ファイルが選択された」というイベントの発生を通知
するために、ホスト装置20からの次のコマンドに対し
特殊なエラーコードで応答する。つまり、USBデバイ
ス10側で発生したイベントをUSBコマンドのエラー
コードとしてホストに伝達し、エラーコードに応じてホ
スト装置20にそのイベントのハンドリングを実行させ
ることができる。これにより、ホスト装置20側のクラ
イアントドライバはUSBデバイス10側で操作のイベ
ントを検知することができるようなり、USBデバイス
10から操作に関する情報を取得するなど、検知したイ
ベントに対応した処理が実行される。
The USB device 10 thus configured
Responds with a special error code to the next command from the host device 20 in order to notify the occurrence of the event "file selected" when the user selects a data file, for example. That is, the event generated on the USB device 10 side can be transmitted to the host as an error code of the USB command, and the host device 20 can be caused to handle the event according to the error code. As a result, the client driver on the host device 20 side can detect an operation event on the USB device 10 side, and a process corresponding to the detected event is executed, such as acquiring information about the operation from the USB device 10. It

【0017】[USBデバイスの動作]以下、図2に示
すフローチャートを参照して、USBデバイス10の動
作について詳しく説明する。
[Operation of USB Device] The operation of the USB device 10 will be described in detail below with reference to the flowchart shown in FIG.

【0018】図2に示すフローチャートは、ユーザがタ
ッチパネル2を介してディスプレイ1上に表示されたデ
ータファイル名を選択し、CPU5がユーザにより選択
されたデータファイル名を認識することで開始となり、
ステップS1の処理に進む。
The flowchart shown in FIG. 2 starts when the user selects the data file name displayed on the display 1 through the touch panel 2 and the CPU 5 recognizes the data file name selected by the user.
The process proceeds to step S1.

【0019】ステップS1の処理において、CPU5
は、ホスト装置20から送信されるUSBコマンドに対
して、エラーコードで応答するように、USBデバイス
コントローラ4を設定する。ホスト装置20から送信さ
れるUSBコマンドとしては、例えばUSBデバイス1
0のドライブにメモリカード6が入っているか否かを周
期的に問い合わせる際に発行される「TEST_UNIT_READY
コマンド」などのマスストレージコマンドや周期的なポ
ーリング等がある。応答する際のエラーコードとして
は、規格には定義されていない特殊なエラーコード、例
えば、未使用コード等を用いて応答する。これにより、
このステップS1の処理は完了し、ステップS1の処理
からステップS2の処理に進む。
In the processing of step S1, the CPU 5
Sets the USB device controller 4 so as to respond with an error code to the USB command transmitted from the host device 20. As the USB command transmitted from the host device 20, for example, the USB device 1
"TEST_UNIT_READY" issued when periodically inquiring whether the memory card 6 is in the drive 0
Mass storage commands such as "commands" and periodic polling. As an error code for responding, a special error code not defined in the standard, for example, an unused code or the like is used for responding. This allows
The process of step S1 is completed, and the process proceeds from step S1 to step S2.

【0020】ステップS2の処理において、ホスト装置
20は、USBデバイス10に対しマスストレージコマ
ンドを発行する。これにより、このステップS2の処理
は完了し、ステップS2の処理からステップS3の処理
に進む。
In the process of step S2, the host device 20 issues a mass storage command to the USB device 10. As a result, the process of step S2 is completed, and the process proceeds from step S2 to step S3.

【0021】ステップS3の処理において、USBデバ
イスコントローラ4は、ホスト装置20が発行したマス
ストレージコマンドに応じて、特殊なエラーコードをホ
スト装置20に送信することで、データファイルを選択
するイベントの発生を通知する。これにより、このステ
ップS3の処理は完了し、ステップS3の処理からステ
ップS4の処理に進む。
In the process of step S3, the USB device controller 4 transmits a special error code to the host device 20 in response to the mass storage command issued by the host device 20, thereby generating an event for selecting a data file. To notify. As a result, the process of step S3 is completed, and the process proceeds from step S3 to step S4.

【0022】ステップS4の処理において、ホスト装置
20側のクライアントドライバは、USBデバイスコン
トローラ4から送信された特殊なエラーコードに応じ
て、USBデバイス10側からのイベント要求を検知
し、ステップS5の処理として、ユーザが選択したデー
タファイルの情報(以下、ファイル情報と表記する)の
取得要求をUSBデバイス10に送信する。これによ
り、ステップS4,S5の処理からステップS6の処理
に進む。
In the process of step S4, the client driver on the host device 20 side detects an event request from the USB device 10 side according to the special error code transmitted from the USB device controller 4, and the process of step S5. As a request, an acquisition request for the information of the data file selected by the user (hereinafter referred to as file information) is transmitted to the USB device 10. As a result, the process proceeds from step S4, S5 to step S6.

【0023】ステップS6の処理において、USBデバ
イスコントローラ4は、ファイル情報をホスト装置20
側のクライアントドライバに送信する。これにより、こ
のステップS6の処理は完了し、ステップS6の処理か
らステップS7の処理に進む。
In the processing of step S6, the USB device controller 4 sends the file information to the host device 20.
To the client driver on the local side. As a result, the process of step S6 is completed, and the process proceeds from step S6 to step S7.

【0024】ここで、ホスト装置20側のクライアント
ドライバは、マスストレージクラスと関連しない方法で
ファイル情報をUSBデバイス10から取得するものと
する。具体的な方法としては、例えば、ベンダー固有の
リクエストで行う方法や、メモリカード6上の特定のフ
ァイルに情報を書き込んでおき、ホスト装置20がその
情報を読み出して取得する方法等、種々の方法が考えら
れる。
Here, it is assumed that the client driver on the host device 20 side acquires the file information from the USB device 10 by a method not associated with the mass storage class. As a concrete method, for example, a method of making a request unique to a vendor, a method of writing information in a specific file on the memory card 6, and a method of reading and acquiring the information by the host device 20 are various methods. Can be considered.

【0025】ステップS7の処理において、ホスト装置
20側のクライアントドライバは、ファイル情報を参照
して、ユーザが選択したデータファイルをマスストレー
ジコマンドを用いてUSBデバイス10側のメモリカー
ド6に書き込む。これにより、このステップS7の処理
は完了し、一連のイベント処理は終了する。そして、こ
の一連の処理により、ユーザは選択したデータファイル
をUSBデバイス10上で確認、利用することができる
ようになる。
In step S7, the client driver on the host device 20 side refers to the file information and writes the data file selected by the user to the memory card 6 on the USB device 10 side using the mass storage command. As a result, the processing of step S7 is completed, and the series of event processing ends. Then, through this series of processing, the user can check and use the selected data file on the USB device 10.

【0026】以上説明したように、例えば、携帯情報端
末などのユーザインタフェースを有し単独で動作可能な
がら、パソコン等のホスト装置の外部記憶機器としても
動作可能なUSBデバイスにおいて、ユーザインタフェ
ースの操作により発生したイベントをUSBコマンドに
対する特殊なエラーコードで応答することにより、ホス
ト装置にイベントの発生を通知することができる。そし
て、ホスト装置は、USBデバイスから操作に関する情
報を取得し、検知したイベントに対応した処理を実行す
る。
As described above, for example, in a USB device that has a user interface such as a portable information terminal and can operate independently, but can also operate as an external storage device of a host device such as a personal computer, by operating the user interface. By responding the generated event with a special error code for the USB command, it is possible to notify the host device of the occurrence of the event. Then, the host device acquires information regarding the operation from the USB device, and executes the process corresponding to the detected event.

【0027】従って、例えば、マスストレージコマンド
のクライアントドライバを新たに設計する必要がなく、
ホスト装置に対し能動的に制御要求を通知することがで
きる。
Therefore, for example, it is not necessary to newly design a client driver for the mass storage command,
The control request can be actively notified to the host device.

【0028】以上、本発明の実施の形態について詳細に
説明したが、本発明は、その精神または主要な特徴から
逸脱することなく、他の色々な形で実施することができ
る。そのため、前述の実施例はあらゆる点で単なる例示
に過ぎず、限定的に解釈してはならない。本発明の範囲
は、特許請求の範囲によって示すものであって、明細書
本文には何ら拘束されない。更に、特許請求の範囲の均
等範囲に属する変形や変更は、全て本発明の範囲内のも
のである。
Although the embodiments of the present invention have been described in detail above, the present invention can be implemented in various other forms without departing from the spirit or main characteristics thereof. Therefore, the above embodiments are merely examples in all respects, and should not be limitedly interpreted. The scope of the present invention is defined by the claims and is not bound by the text of the specification. Furthermore, all modifications and changes belonging to the equivalent scope of the claims are within the scope of the present invention.

【0029】[0029]

【発明の効果】本発明によれば、多くの経費と労力を要
することなく、極めて容易にUSBデバイスからホスト
装置に対し能動的に制御要求を通知することができる。
According to the present invention, the control request can be actively notified from the USB device to the host device very easily without requiring much expense and labor.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施形態となるUSBデバイスの構成
を示す模式図である。
FIG. 1 is a schematic diagram showing a configuration of a USB device according to an embodiment of the present invention.

【図2】図1に示すUSBデバイスとホスト装置間の処
理動作を示すフローチャートである。
FIG. 2 is a flowchart showing a processing operation between the USB device shown in FIG. 1 and a host device.

【符号の説明】[Explanation of symbols]

1…ディスプレイ、2…タッチパネル、3…メモリカー
ドコントローラ、4…USBデバイスコントローラ、5
…CPU、6…メモリカード、7…USBコネクタ、1
0…USBデバイス、20…ホスト装置
1 ... Display, 2 ... Touch panel, 3 ... Memory card controller, 4 ... USB device controller, 5
... CPU, 6 ... Memory card, 7 ... USB connector, 1
0 ... USB device, 20 ... Host device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置と当該ホスト装置と接続して
データファイルを記憶するUSBデバイスとを備える制
御システムであって、 前記USBデバイスは、外部からの所定の操作を受け付
けるユーザインタフェース手段と、前記所定の操作によ
って発生するイベントをUSBコマンドのエラーコード
として前記ホスト装置に送信し、前記送信された前記エ
ラーコードを前記ホスト装置が検知することによって前
記ホスト装置から出される要求信号を受信して、これに
応じて、前記所定の操作に関する情報を前記ホスト装置
に送信する送受信手段とを有し、 前記ホスト装置は、前記USBデバイスから送信される
前記エラーコードを受信し、これを検知することによっ
て前記USBデバイスに前記要求信号を送信して、前記
要求信号を受信した前記USBデバイスから送信される
前記所定の操作に関する情報を受信する送受信手段を有
し、受信した前記所定の操作に関する情報によって前記
USBデバイスの動作を認識することを特徴とする制御
システム。
1. A control system comprising: a host device; and a USB device connected to the host device to store a data file, wherein the USB device comprises user interface means for receiving a predetermined operation from the outside. An event generated by a predetermined operation is transmitted to the host device as an error code of a USB command, and a request signal issued from the host device when the host device detects the transmitted error code is received, In response to this, there is provided a transmitting / receiving unit for transmitting information regarding the predetermined operation to the host device, the host device receiving the error code transmitted from the USB device, and detecting the error code. Sending the request signal to the USB device and receiving the request signal Control system, wherein the has a receiving means for receiving information regarding the predetermined operation sent from the USB device, recognizing the operation of the USB device with information about the predetermined operation received.
【請求項2】 ホスト装置と接続してデータファイルを
記憶するUSBデバイスであって、 外部からの所定の操作を受け付けるユーザインタフェー
ス手段と、 前記所定の操作によって発生するイベントをUSBコマ
ンドのエラーコードとして前記ホスト装置に送信し、前
記送信された前記エラーコードを前記ホスト装置が検知
することによって前記ホスト装置から出される要求信号
を受信して、これに応じて、前記所定の操作に関する情
報を前記ホスト装置に送信する送受信手段とを有するこ
とを特徴とするUSBデバイス。
2. A USB device connected to a host device for storing a data file, comprising user interface means for receiving a predetermined external operation, and an event generated by the predetermined operation as an error code of a USB command. The host device receives a request signal sent from the host device when the host device detects the transmitted error code and the host device detects the transmitted error code, and accordingly, the host outputs information regarding the predetermined operation. A USB device having a transmitting / receiving unit for transmitting to a device.
JP2002146122A 2002-05-21 2002-05-21 Control system and usb device Pending JP2003337784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002146122A JP2003337784A (en) 2002-05-21 2002-05-21 Control system and usb device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002146122A JP2003337784A (en) 2002-05-21 2002-05-21 Control system and usb device

Publications (1)

Publication Number Publication Date
JP2003337784A true JP2003337784A (en) 2003-11-28

Family

ID=29705202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002146122A Pending JP2003337784A (en) 2002-05-21 2002-05-21 Control system and usb device

Country Status (1)

Country Link
JP (1) JP2003337784A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005096163A1 (en) * 2004-03-30 2005-10-13 Canon Kabushiki Kaisha Image processing apparatus and image processing system and its control method
JP2005310118A (en) * 2004-03-23 2005-11-04 Toshiba Corp Information terminal and data transfer method for information terminal
JP2005316951A (en) * 2004-03-30 2005-11-10 Seiko Epson Corp Information terminal, information processing system, and control method therefor
KR100679038B1 (en) 2005-07-15 2007-02-05 삼성전자주식회사 Method and system for association between wireless universal serial bus devices
JP2008510221A (en) * 2004-08-12 2008-04-03 トレック・2000・インターナショナル・リミテッド Method and system for automatic installation of functional unit drivers on a host
JP2009048660A (en) * 2004-05-10 2009-03-05 Sony Computer Entertainment Inc Portable terminal and usb device
JP2013513874A (en) * 2009-12-24 2013-04-22 ▲華▼▲為▼▲終▼端有限公司 Data card upgrade method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005310118A (en) * 2004-03-23 2005-11-04 Toshiba Corp Information terminal and data transfer method for information terminal
WO2005096163A1 (en) * 2004-03-30 2005-10-13 Canon Kabushiki Kaisha Image processing apparatus and image processing system and its control method
JP2005316951A (en) * 2004-03-30 2005-11-10 Seiko Epson Corp Information terminal, information processing system, and control method therefor
JP2009048660A (en) * 2004-05-10 2009-03-05 Sony Computer Entertainment Inc Portable terminal and usb device
US8250274B2 (en) 2004-05-10 2012-08-21 Sony Computer Enterainment Inc. Portable terminal and USB device
JP2008510221A (en) * 2004-08-12 2008-04-03 トレック・2000・インターナショナル・リミテッド Method and system for automatic installation of functional unit drivers on a host
KR100679038B1 (en) 2005-07-15 2007-02-05 삼성전자주식회사 Method and system for association between wireless universal serial bus devices
JP2013513874A (en) * 2009-12-24 2013-04-22 ▲華▼▲為▼▲終▼端有限公司 Data card upgrade method and device

Similar Documents

Publication Publication Date Title
CN103412769B (en) External card parameter configuration, equipment and system
US7921244B2 (en) Data sharing and transfer systems and methods
US7975101B2 (en) Storage medium storing drive configuration setting program
KR100781926B1 (en) Computer system and control method of the same
US20130031277A1 (en) Method for identifying version type of windows operating system on a host by a usb device
JP2000324568A (en) Method and system remotely controlling equipment by using personal digital assistant
JP2001256170A (en) Peripheral device and printer
JP2002300229A (en) Device and method for controlling usb communication and usb communication system
JP5204579B2 (en) Device, information processing system, and information processing method
TW386215B (en) Emulation system and information processor
US7124235B2 (en) USB apparatus with switchable host/hub functions and control method thereof
CN214670566U (en) Computer wake-up circuit and computer
JP2003337784A (en) Control system and usb device
US8291164B2 (en) Adapter apparatus coupled to a memory card and data transmission system including the adapter apparatus
CN112380152A (en) NVMe-oF heterogeneous storage access controller and access method
JP2003196613A (en) Device and method for controlling memory card
US7424580B2 (en) Data transfer control device, electronic instrument, program and method of fabricating electronic instrument
CN213069764U (en) Touch control equipment
TWI769640B (en) Universal peripheral extender architecture, system, and non-transitory computer-readable medium
US7890678B2 (en) Portable computer having auxiliary IO apparatus and system setup method thereof
JP4897331B2 (en) Communication control device, communication control program, and communication driver registration method
JP2021022309A (en) Information input device, method, and program
JP2001067157A5 (en) Computers and their peripheral systems, computer peripherals, computers and their control methods, and computer-readable storage media
US20060015661A1 (en) Visual display for USB storage key
JP2002044184A (en) Communication system for portable unit