JPH1091565A - Device driver starting method and computer system containing device wrong recognition avoiding function - Google Patents

Device driver starting method and computer system containing device wrong recognition avoiding function

Info

Publication number
JPH1091565A
JPH1091565A JP24150496A JP24150496A JPH1091565A JP H1091565 A JPH1091565 A JP H1091565A JP 24150496 A JP24150496 A JP 24150496A JP 24150496 A JP24150496 A JP 24150496A JP H1091565 A JPH1091565 A JP H1091565A
Authority
JP
Japan
Prior art keywords
driver
database
port
registered
connection
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
JP24150496A
Other languages
Japanese (ja)
Inventor
Kiminobu Takemura
公伸 竹村
Toshiro Kawabata
利郎 川端
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP24150496A priority Critical patent/JPH1091565A/en
Publication of JPH1091565A publication Critical patent/JPH1091565A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To secure the normal use of a device which is connected to a port that is wrong recognized even if a connection device is wrong recognized when a computer system is started. SOLUTION: When the computer system is started, an OS 1a recognizes a device 3 connected to a port 2, registers the device 3 and the port 2 into a data base 1b and starts every device driver 1c. The driver 1c checks whether or not a device corresponding to the driver 1c is registered in the data base 1b. If the device is registered, the driver 1c starts a normal operation. If it's decided by the wrong recognition that the relevant device is not registered in the data base 1b, the driver 1c gives the commands to all ports to which the device corresponding to the driver 1c is connected and then notifies the OS 1a of the relevant device and its connection ports when a normal response is received from the device 3. The OS 1a reconstructs the data base 1b based on the above notification and a normal operation is secured for the driver 1c.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デバイスドライバ
の起動方法およびデバイス誤接続回避機能を備えたコン
ピュータシステムに関し、さらに詳細には、システム起
動時において接続機器を誤認識した場合であっても、デ
バイスドライバによりその誤認識を訂正することがで
き、デバイスドライバの正常動作を可能とするデバイス
ドライバの起動方法およびデバイス誤接続回避機能を備
えたコンピュータシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for activating a device driver and a computer system having a function for avoiding erroneous connection of a device. The present invention relates to a device driver activation method and a computer system having a device incorrect connection avoidance function that can correct the misrecognition by a device driver and enable normal operation of the device driver.

【0002】[0002]

【従来の技術】コンピュータ・システムには、図6に示
すように、接続ポートPt1〜Ptmを介してキーボー
ド、マウス、フロッピーディスクドライブ、タッチパネ
ル、プリンタ等の各種機器121〜12mが接続され
る。また、コンピュータ11は上記各種機器のドライバ
Dr1〜Drmと、ハードウェアデータベース11bを
備えており、OS(オペレーティング・システム)11
aがシステムの立ち上げ時、上記接続機器(以下、必要
に応じてデバイスという)を認識し、上記ハードウェア
データベース11bに、上記接続機器を登録する。デバ
イスドライバDr1〜Drmが起動されると、各ドライ
バは、上記ハードウェアデータベース11bを検索し、
目的とするデバイスが検出されると、正常動作を開始す
る。
2. Description of the Related Art As shown in FIG. 6, various devices 121 to 12m such as a keyboard, a mouse, a floppy disk drive, a touch panel, and a printer are connected to a computer system through connection ports Pt1 to Ptm. The computer 11 includes drivers Dr1 to Drm for the various devices and a hardware database 11b.
When a starts up the system, the device recognizes the connected device (hereinafter, referred to as a device as necessary) and registers the connected device in the hardware database 11b. When the device drivers Dr1 to Drm are activated, each driver searches the hardware database 11b,
When a target device is detected, normal operation starts.

【0003】図7は上記動作の概略を説明するフローチ
ャートである。同図に示すように、OS11aはシステ
ムの起動時、各ポートPt1〜Ptmにデバイス接続確
認コマンドを発行することにより、接続されているデバ
イスを認識し(ステップS1)、応答のあったデバイス
をハードウェアデータベース11bに登録する(ステッ
プS2)。
FIG. 7 is a flowchart for explaining the outline of the above operation. As shown in the figure, when the system is started, the OS 11a issues a device connection confirmation command to each of the ports Pt1 to Ptm, thereby recognizing the connected device (step S1), and recognizing the device that has responded to the hardware. Register it in the wear database 11b (step S2).

【0004】ついで、各デバイスドライバDr1〜Dr
mが起動し(ステップS3)、各デバイスドライバDr
1〜Drmは上記ハードウェアデータベース11bから
目的のデバイスを検索する(ステップS4)。そして、
ハードウェアデータベース11bに目的とするデバイス
が登録されているとドライバDr1〜Drmが動作を開
始する(ステップS5)。図8は上記ハードウェアデー
タベース11bの登録内容の一例を示す図であり、同図
に示すように、ハードウェアデータベース11bには接
続機器名、接続ポート、ドライバ名が登録される。
Then, each of the device drivers Dr1 to Dr
m starts (step S3), and each device driver Dr
1 to Drm search for a target device from the hardware database 11b (step S4). And
When the target device is registered in the hardware database 11b, the drivers Dr1 to Drm start operating (step S5). FIG. 8 is a diagram showing an example of the registered contents of the hardware database 11b. As shown in FIG. 8, a connected device name, a connected port, and a driver name are registered in the hardware database 11b.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記した図
6、図7において、システムの起動時、OS11aが接
続された機器を誤認識し(図7のステップS6)、ハー
ドウェアデータベース11bに誤った機器が登録される
と、誤った機器が登録されたポートに接続されたデバイ
スのドライバは起動に失敗し(図7のステップS7)、
そのポートに接続されたデバイスはコンピュータから利
用が不可能となる。
In FIGS. 6 and 7, when the system is started, the device connected to the OS 11a is erroneously recognized (step S6 in FIG. 7), and the erroneous data is stored in the hardware database 11b. When the device is registered, the driver of the device connected to the port where the wrong device is registered fails to start (step S7 in FIG. 7),
The device connected to that port will not be available to the computer.

【0006】例えば、図6に示すようにポートPtmに
タッチパネル12mが接続されているにもかかわず、シ
ステムの起動時、OS11aが接続機器を誤認識し、ポ
ートPtmに他のデバイス(例えば、マウス)が接続さ
れているものと認識し、図8に示したハードウェアデー
タベース11bのポインティングデバイスポート2にマ
ウスが接続されていると登録とすると、上記タッチパネ
ルを使用することができなくなる。
For example, although the touch panel 12m is connected to the port Ptm as shown in FIG. 6, when the system starts up, the OS 11a erroneously recognizes the connected device, and another device (for example, a mouse) is connected to the port Ptm. ) Is recognized as being connected, and the registration is made that the mouse is connected to the pointing device port 2 of the hardware database 11b shown in FIG. 8, the touch panel cannot be used.

【0007】上記のような誤認識があると、各接続機器
のドライバは、目的とするデバイスが接続できるポート
を検索し、目的のデバイスが接続できるポートを介して
接続機器に初期化コマンドを発行する。そして、初期化
コマンドに対して正常な応答が得られれば、ハードウェ
アデータベース11bに上記正常な応答が得られた接続
機器と接続ポートが登録される。しかしながら、例え
ば、OSの誤認識により、タッチパネル12mが接続さ
れているポートPtmに、ハードウェアデータベース1
1b上では例えばマウスが接続されていることになって
いると、タッチパネル12mのドライバは、上記ポート
Ptmに対して初期化コマンドを発行せず、このため、
タッチパネルのドライバは目的の機器が見つからないと
して、その動作を停止する。また、仮にマウスのドライ
バが上記ポートPtmに対して初期化コマンドを発行し
たとしても正常応答が得られないので、結局、上記ポー
トPmに接続されたタッチパネルは使用不可能となる。
[0007] When the above-mentioned misrecognition occurs, the driver of each connected device searches for a port to which the target device can be connected, and issues an initialization command to the connected device via the port to which the target device can be connected. I do. Then, if a normal response to the initialization command is obtained, the connection device and the connection port that have obtained the normal response are registered in the hardware database 11b. However, for example, due to erroneous recognition of the OS, the hardware database 1 is stored in the port Ptm to which the touch panel 12m is connected.
1b, for example, when a mouse is connected, the driver of the touch panel 12m does not issue an initialization command to the port Ptm.
The driver of the touch panel determines that the target device cannot be found and stops its operation. Further, even if the mouse driver issues an initialization command to the port Ptm, a normal response cannot be obtained, so that the touch panel connected to the port Pm cannot be used.

【0008】上記したシステム立ち上げ時の接続機器の
誤認識は、ポートに汎用機器以外の専用機器が接続さ
れ、OS11aがデバイス接続確認コマンドを発行した
とき、ポートからOSが正しく認識できない応答が返さ
れた場合に生ずる。例えば、上記のケースは、デバイス
接続確認コマンドが発行されたとき、ポートPmに接続
されているタッチパネル12mが、たまたま、マウスと
誤認識されるような応答を返す場合である。以上のよう
に、従来のシステムにおいては、システムの立ち上げ時
に接続機器が誤認識されると、そのポートに接続された
機器はコンピュータから利用不可能となるといった問題
があった。
The above-mentioned misrecognition of a connected device at the time of system startup is caused by a response that a dedicated device other than a general-purpose device is connected to a port and the OS 11a issues a device connection confirmation command. It occurs when it is done. For example, in the above case, when the device connection confirmation command is issued, the touch panel 12m connected to the port Pm returns a response that happens to be erroneously recognized as a mouse. As described above, in the conventional system, if a connected device is erroneously recognized at the time of starting the system, there is a problem that the device connected to the port cannot be used from the computer.

【0009】本発明は上記した従来技術の問題点を解決
するためになされたものであって、その目的とするとこ
ろは、システムの立ち上げ時に接続機器の誤認識が発生
した場合、デバイスドライバにより上記誤認識を訂正す
ることにより、デバイスの誤認識を回避し、誤認識した
ポートに接続された機器をコンピュータが正常に利用で
きるようにすることである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and an object of the present invention is to provide a device driver which can be used when an erroneous recognition of a connected device occurs at system startup. By correcting the erroneous recognition, erroneous recognition of the device is avoided, and the computer connected to the erroneously recognized port can be used normally by the computer.

【0010】[0010]

【課題を解決するための手段】図1は本発明の原理説明
図である。同図において、1はコンピュータ、2は接続
ポート、3は各ポートに接続された接続機器である。コ
ンピュータ1のOS1aは、システムの立ち上げ時、上
記接続機器3を認識しハードウェアデータベース1bに
登録する。また、1cは上記接続機器のドライバであ
る。
FIG. 1 is a diagram illustrating the principle of the present invention. In the figure, 1 is a computer, 2 is a connection port, and 3 is a connection device connected to each port. When the system is started, the OS 1a of the computer 1 recognizes the connected device 3 and registers it in the hardware database 1b. Reference numeral 1c denotes a driver for the connection device.

【0011】図1において、本発明は次のようにして前
記課題を解決する。 (1)システム立ち上げ時、OS1aはポート2に接続
された機器3を認識して、接続された機器およびその接
続ポートをデータベース1bに登録し(図1の)、各
デバイスドライバ1cを起動する。 (2)起動したドライバ1cはデータベース1bを検索
し、上記データベースに該ドライバに対応する機器が登
録されているか否かを調べる(図1の)。そして、上
記データベース1bに該ドライバに対応する機器が登録
されているとき、上記ドライバ1cは正常動作を開始す
る。 (3)誤認識により、上記データベース1bに、上記ド
ライバに対応する機器が正しく登録されていないとき、
ドライバは、該ドライバに対応する機器が接続される全
てのポートに対してコマンドを発行し(図1の)、接
続機器3から正常な応答が得られたとき、正常な応答が
得られた機器およびその接続ポートをシステムに通知す
る(図1の)。 (4)OS1aが上記通知に基づき上記データベース1
bを再構築し(図1の)、これにより、上記データベ
ース1bに対応する機器が登録されていないドライバは
正常動作が可能となる。
Referring to FIG. 1, the present invention solves the above problem as follows. (1) At system startup, the OS 1a recognizes the device 3 connected to the port 2, registers the connected device and its connection port in the database 1b (of FIG. 1), and activates each device driver 1c. . (2) The activated driver 1c searches the database 1b and checks whether or not a device corresponding to the driver is registered in the database (FIG. 1). When the device corresponding to the driver is registered in the database 1b, the driver 1c starts normal operation. (3) When the device corresponding to the driver is not correctly registered in the database 1b due to erroneous recognition,
The driver issues a command to all ports to which a device corresponding to the driver is connected (see FIG. 1), and when a normal response is obtained from the connected device 3, the device that obtains a normal response. And the connection port to the system (FIG. 1). (4) The OS 1a transmits the database 1 based on the notification.
b is reconstructed (of FIG. 1), whereby the driver in which the device corresponding to the database 1b is not registered can operate normally.

【0012】本発明においては、上記のように、接続さ
れた機器を誤認識したとき、ドライバが、該ドライバに
対応する機器が接続される全てのポートに対してコマン
ドを発行し、接続機器3から正常な応答が得られたと
き、データベースを再構築しているので、接続機器の誤
認識が発生した場合であっても、上記誤認識を訂正し、
ドライバを正常動作させることができ、誤認識したポー
トに接続された機器を利用することが可能となる。
According to the present invention, as described above, when the connected device is erroneously recognized, the driver issues a command to all ports to which the device corresponding to the driver is connected, and When a normal response is obtained from, the database is rebuilt, so even if an erroneous recognition of the connected device occurs, correct the above erroneous recognition,
The driver can operate normally, and a device connected to a port that is erroneously recognized can be used.

【0013】[0013]

【発明の実施の形態】図2は本発明の実施例のシステム
の構成を示す図である。同図において、11はコンピュ
ータであり、コンピュータ11はOS11aの管理下で
動作する。11bはコンピュータの接続機器(デバイ
ス)を登録するハードウェアデータベースであり、シス
テムの立ち上げ時にOS11aにより前記図8に示した
ように接続機器、接続ポート、ドライバ名が登録される
(図2の)。
FIG. 2 is a diagram showing the configuration of a system according to an embodiment of the present invention. In FIG. 1, reference numeral 11 denotes a computer, and the computer 11 operates under the control of the OS 11a. Reference numeral 11b denotes a hardware database for registering connected devices (devices) of the computer. When the system starts up, the OS 11a registers the connected devices, connection ports, and driver names as shown in FIG. 8 (FIG. 2). .

【0014】Dr1〜Drnは各接続機器のドライバで
あり、本実施例のドライバDr1〜Drnは、後述する
ようにハードウェアデータベース11bから目的とする
デバイスが検出できないとき、そのドライバのデバイス
が接続できるポートを検索し、目的とするデバイスが接
続されているポートを見つけると、OS11aに対して
ハードウェアデータベース11bの再構築を依頼する
(図2の)。これに応じてOS11aはハードウェア
データベースを再構築する(図2の)。また、Pt1
〜Ptnは接続ポート、121〜12nはポートPt1
〜Ptnに接続された、マウス、キーボード、フロッピ
ードライブ等の接続機器(デバイス)である。
Drivers Dr1 to Drn are drivers for each connected device. When a target device cannot be detected from the hardware database 11b as will be described later, the drivers Dr1 to Drn of this embodiment can connect devices of the driver. When the port is searched and the port to which the target device is connected is found, the OS 11a is requested to rebuild the hardware database 11b (FIG. 2). In response, the OS 11a reconstructs the hardware database (of FIG. 2). Also, Pt1
To Ptn are connection ports, 121 to 12n are ports Pt1
To Ptn, such as a mouse, a keyboard, and a floppy drive.

【0015】図3は本実施例における処理を示すフロー
チャートであり、図2、図3により本実施例について説
明する。システムが立ち上がると、OSが起動し(図3
のステップS1)、OSはポートPt1〜Ptnに対し
てデバイス接続確認コマンドを発行する(ステップS
2)。そして、応答のあったデバイスをハードウェアデ
ータベース11bに登録する(ステップS3)。OSは
以上の処理を全てのポートに対して繰り返し、全てのポ
ートに対して接続確認を行うと(ステップS4)、各デ
バイスドライバDr1〜Drnが起動する(ステップS
5)。
FIG. 3 is a flowchart showing the processing in the present embodiment. The embodiment will be described with reference to FIGS. When the system starts up, the OS starts (Fig. 3
(Step S1), the OS issues a device connection confirmation command to the ports Pt1 to Ptn (Step S1).
2). Then, the responding device is registered in the hardware database 11b (step S3). The OS repeats the above processing for all the ports, and confirms the connection to all the ports (step S4), and starts the device drivers Dr1 to Drn (step S4).
5).

【0016】各デバイスドライバDr1〜Drnはハー
ドウェアデータベース11bから目的とするデバイスを
検索し(ステップS6)、デバイスが検出されると(ス
テップS7)、そのデバイスドライバは正常動作を開始
する(ステップS13)。一方、OSがデバイスの接続
を確認できず、ハードウェアデータベース11bに、デ
バイスドライバに対応するデバイスが正しく登録されな
かった場合、デバイスドライバは、OSに依頼してその
目的とするデバイスが接続できるポートを検索し(ステ
ップS8)、検索された全てのポートに対して初期化コ
マンドを発行する(ステップS9)。そして、正常な応
答があったかを判別し(ステップS10)、正常な応答
がなかった場合には、ステップS9に戻り上記処理を繰
り返す(ステップS11)。
Each of the device drivers Dr1 to Drn searches for a target device from the hardware database 11b (step S6). When a device is detected (step S7), the device driver starts normal operation (step S13). ). On the other hand, if the OS cannot confirm the connection of the device and the device corresponding to the device driver is not correctly registered in the hardware database 11b, the device driver requests the OS to request a port to which the target device can be connected. (Step S8), and issues an initialization command to all the searched ports (step S9). Then, it is determined whether or not there is a normal response (step S10). If there is no normal response, the process returns to step S9 and repeats the above processing (step S11).

【0017】また、正常な応答があった場合には、デバ
イスドライバは、ステップS12にいき、OSにハード
ウェアデータベース11bの再構築を依頼し、OSは上
記デバイスドライバの依頼に基づきハードウェアデータ
ベース11bを再構築する(ステップS12)。すなわ
ち、誤認識によりハードウェアデータベース11bに他
の機器が登録されている場合は、正常な応答があった機
器に書き換え、また、ハードウェアデータベース11b
に上記機器が登録されていない場合は、その機器を新た
に登録する。そして、ステップS13に行き、ドライバ
は正常動作を開始する。
If there is a normal response, the device driver goes to step S12 and requests the OS to rebuild the hardware database 11b. The OS sends the hardware database 11b based on the request from the device driver. Is reconstructed (step S12). That is, if another device is registered in the hardware database 11b due to erroneous recognition, the device is rewritten to a device that has responded normally, and the hardware database 11b is rewritten.
If the above device has not been registered, the device is newly registered. Then, the process proceeds to step S13, and the driver starts a normal operation.

【0018】一方、上記のステップS9〜S11におい
て、デバイスドライバが、各ポート(目的とするデバイ
スが接続できる全てのポート)に初期化コマンドを発行
しても正常な応答が得られない場合は、ステップS14
に行き、ドライバは異常終了する(この場合は、実際
に、接続ポートに上記デバイスドライバに対応するデバ
イスが接続されていない場合である)。以上のようにし
て、ハードウェアデータベース11bに、各ポートに実
際に接続されているデバイス、そのデバイスが接続され
ているポート、および、ドライバ名が登録されると、上
記デバイスに対応する各ドライバは動作を開始する。
On the other hand, in the above steps S9 to S11, if a normal response is not obtained even if the device driver issues an initialization command to each port (all ports to which a target device can be connected), Step S14
And the driver terminates abnormally (in this case, the device corresponding to the device driver is not actually connected to the connection port). As described above, when the device actually connected to each port, the port to which the device is connected, and the driver name are registered in the hardware database 11b, each driver corresponding to the device is registered. Start operation.

【0019】次に前記したタッチパネルの例により上記
処理を具体的に説明する。例えば、図2において、接続
ポートPt2にタッチパネルが接続されているにもかか
わらず、OSが、図4に示すように、ポインティングデ
バイスポート2にマウス2が接続されていると誤認識す
ると、タッチパネルのドライバDr2は、OSに依頼し
てタッチパネルが接続されるポインテングデバイスポー
トを調べ、全てのポインティングデバイスポートに対し
て、初期化コマンドを発行する。そして、接続ポートP
t2(ポンイティングデバイスポート)に初期化コマン
ドを発行したとき、正常な応答が得られると、デバイス
ドライバDr2は、接続ポートPt2にタッチパネルが
接続されている旨をOSに通知し、ハードウェアデータ
ベース11bの再構築を依頼する。
Next, the above processing will be described in detail with reference to the above-mentioned touch panel. For example, in FIG. 2, when the OS erroneously recognizes that the mouse 2 is connected to the pointing device port 2 as shown in FIG. 4 even though the touch panel is connected to the connection port Pt2, the touch panel The driver Dr2 requests the OS to check a pointing device port to which the touch panel is connected, and issues an initialization command to all pointing device ports. And the connection port P
When a normal response is obtained when the initialization command is issued to t2 (ponting device port), the device driver Dr2 notifies the OS that the touch panel is connected to the connection port Pt2, and the hardware database 11b Request rebuilding.

【0020】OSは上記依頼に基づき、誤認識によりハ
ードウェアデータベース11bに登録された「マウス」
を、上記正しい応答が得られた「タッチパネル」に書き
換える。その結果、上記のような誤認識があってもハー
ドウェアデータベース11bに「タッチパネル」が登録
され、タッチパネルのドライバDr2の正常動作が可能
となる。従来においては、上記誤認識があると、そのポ
インティングデバイスポート2に対して、タッチパネル
のドライバDr2は初期化コマンドを発行しなかった
が、本発明においては、ハードウェアデータベース上で
機器が接続されているか否かを問わず、全ポインティン
グデバイスポートに対して、タッチパネルのドライバD
r2が初期化コマンドを発行し、正常な応答が得られた
とき、ハードウェアデータベース11bを上記のように
再構築しているので、タッチパネルのドライバDr2の
正常動作が可能となる。
Based on the above request, the OS executes a "mouse" registered in the hardware database 11b by erroneous recognition.
Is rewritten to the “touch panel” for which the correct response has been obtained. As a result, "touch panel" is registered in the hardware database 11b even if there is an erroneous recognition as described above, and the normal operation of the driver Dr2 of the touch panel becomes possible. Conventionally, if there is the above-mentioned misrecognition, the driver Dr2 of the touch panel does not issue an initialization command to the pointing device port 2, but in the present invention, the device is connected on the hardware database. Touch panel driver D for all pointing device ports, whether or not
When r2 issues an initialization command and a normal response is obtained, the hardware database 11b is reconstructed as described above, so that the touch panel driver Dr2 can operate normally.

【0021】また、接続ポートPt2にタッチパネルが
接続されているにもかかわらず、OSが、上記タッチパ
ネルを認識できず、図5に示すようにハードウェアデー
タベース11bにタッチパネルが登録されなかった場合
にも、同様に、タッチパネルのドライバが正常動作が可
能となる。すなわち、OSがタッチパネルを認識できな
かった場合、上記したように、タッチパネルのドライバ
Dr2が全ポインティングデバイスポートに対して初期
化コマンドを発行する。そして、ポインティングデバイ
スポート2から正常な応答が得られると、デバイスドラ
イバDr2は、接続ポートPt2にタッチパネルが接続
されている旨をOSに通知し、ハードウェアデータベー
ス11bの再構築を依頼する。OSは上記依頼に基づ
き、ハードウェアデータベース11aに前記図8に示し
たようにタッチパネルを登録する。これにより、タッチ
パネルのデバイスドライバDr2は正常動作が可能とな
る。
Further, even when the touch panel is connected to the connection port Pt2, the OS cannot recognize the touch panel and the touch panel is not registered in the hardware database 11b as shown in FIG. Similarly, the driver of the touch panel can operate normally. That is, when the OS cannot recognize the touch panel, the driver Dr2 of the touch panel issues an initialization command to all pointing device ports as described above. Then, when a normal response is obtained from the pointing device port 2, the device driver Dr2 notifies the OS that the touch panel is connected to the connection port Pt2, and requests the reconfiguration of the hardware database 11b. Based on the request, the OS registers the touch panel in the hardware database 11a as shown in FIG. This allows the device driver Dr2 of the touch panel to operate normally.

【0022】[0022]

【発明の効果】以上説明したように、本発明において
は、接続された機器を誤認識したとき、ドライバが、該
ドライバに対応する機器が接続される全てのポートに対
してコマンドを発行し、接続機器3から正常な応答が得
られたとき、データベースを再構築しているので、接続
機器の誤認識が発生した場合であっても、上記誤認識を
訂正し、ドライバを正常動作させることができる。この
ため、OSが接続機器を誤認識した場合であっても、誤
認識したポートに接続された機器をコンピュータが利用
することが可能となる。
As described above, according to the present invention, when a connected device is erroneously recognized, a driver issues a command to all ports to which devices corresponding to the driver are connected, When a normal response is obtained from the connection device 3, the database is reconstructed. Therefore, even if the connection device 3 is erroneously recognized, the erroneous recognition can be corrected and the driver can operate normally. it can. Therefore, even when the OS misidentifies the connected device, the computer can use the device connected to the misidentified port.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment of the present invention.

【図3】本発明の実施例の処理を示すフローチャートで
ある。
FIG. 3 is a flowchart illustrating a process according to the embodiment of the present invention.

【図4】誤認識により誤った接続機器が登録された場合
を説明する図である。
FIG. 4 is a diagram illustrating a case where an erroneous connected device is registered due to erroneous recognition.

【図5】誤認識により接続機器が登録されなかった場合
を説明する図である。
FIG. 5 is a diagram illustrating a case where a connected device is not registered due to erroneous recognition.

【図6】ポートを介して機器が接続されたコンピュータ
システムの構成図である。
FIG. 6 is a configuration diagram of a computer system to which devices are connected via a port.

【図7】従来のシステム立ち上げ時の動作の概略を説明
するフローチャートである。
FIG. 7 is a flowchart illustrating an outline of a conventional operation at system startup.

【図8】ハードウェアデータベースの登録内容の一例を
示す図である。
FIG. 8 is a diagram illustrating an example of registered contents of a hardware database.

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

1 コンピュータ 1a OS 1b ハードウェアデータベース 1c ドライバ 2 接続ポート 3 接続機器 11 コンピュータ 11a OS 11b ハードウェアデータベース Dr1〜Drn ドライバ Pt1〜Ptn 接続ポート 121〜12n 接続機器 1 Computer 1a OS 1b Hardware Database 1c Driver 2 Connection Port 3 Connection Device 11 Computer 11a OS 11b Hardware Database Dr1-Drn Driver Pt1-Ptn Connection Port 121-12n Connection Device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 システム立ち上げ時、ポートに接続され
た機器を認識して、接続された機器およびその接続ポー
トをデータベースに登録したのち、各デバイスドライバ
を起動し、 上記起動したドライバが、上記データベースを検索し、
上記データベースに該ドライバに対応する機器が登録さ
れているか否かを調べ、上記データベースに該ドライバ
に対応する機器が登録されているとき、上記ドライバが
正常動作を開始するコンピュータシステムにおけるデバ
イスドライバの起動方法であって、 システムの誤認識により、上記データベースに、上記ド
ライバに対応する機器が正しく登録されていないとき、 上記ドライバは、該ドライバに対応する機器が接続され
る全てのポートに対してコマンドを発行し、接続機器か
ら正常な応答が得られたとき、正常な応答が得られた機
器およびその接続ポートをシステムに通知し、 システムが上記通知に基づき上記データベースを再構築
することにより、上記ドライバの正常動作を可能とする
ことを特徴とするデバイスドライバの起動方法。
When a system is started, a device connected to a port is recognized, and the connected device and its connection port are registered in a database. Then, each device driver is started. Search the database,
It checks whether the device corresponding to the driver is registered in the database, and when the device corresponding to the driver is registered in the database, starts the device driver in the computer system in which the driver starts normal operation. When the device corresponding to the driver is not correctly registered in the database due to erroneous recognition of the system, the driver issues a command to all ports to which the device corresponding to the driver is connected. Is issued, and when a normal response is obtained from the connected device, the system notifies the system of the device that received the normal response and its connection port, and the system rebuilds the database based on the notification, thereby How to start a device driver characterized by enabling normal operation of the driver .
【請求項2】 コンピュータに接続された機器およびそ
の接続ポートを登録するデータベースと、 システムの起動時、接続機器を認識し、上記データベー
スに上記接続機器およびその接続ポートを登録する接続
機器認識手段と、 上記各接続機器のドライバとを備えたコンピュータシス
テムであって、 上記ドライバは、上記データベースに該ドライバに対応
する機器が登録されていか否かを検索する手段と、 上記ドライバに対応する機器が接続される全てのポート
に対してコマンドを発行し、上記コマンドに対する正常
な応答が得られたとき、正常な応答が得られた機器およ
びその接続ポートを上記接続機器認識手段に通知する手
段とを備えており、 上記ドライバは、上記データベースに該ドライバに対応
する機器が登録されているとき正常動作を開始し、ま
た、システムの誤認識により、上記データベースに、上
記ドライバに対応する機器が正しく登録されていないと
き、ドライバに対応する機器が接続される全てのポート
に対してコマンドを発行して、正常な応答が得られた機
器およびその接続ポートを上記接続機器認識手段に通知
し、 接続機器認識手段は上記通知に基づき上記データベース
を再構築し、上記ドライバの正常動作を可能とすること
を特徴とするデバイス誤認識回避機能を備えたコンピュ
ータシステム。
2. A database for registering a device connected to a computer and a connection port thereof, and a connection device recognizing means for recognizing the connection device when starting up the system and registering the connection device and the connection port in the database. A computer system comprising a driver for each of the connected devices, wherein the driver searches for a device corresponding to the driver in the database; and a device corresponding to the driver includes: Means for issuing a command to all connected ports and, when a normal response to the command is obtained, notifying the connected device recognizing means of the device that obtained a normal response and the connection port thereof. The driver is normal when the device corresponding to the driver is registered in the database. If the device corresponding to the driver is not correctly registered in the database due to misrecognition of the system, a command is issued to all ports to which the device corresponding to the driver is connected. Notifying the connected device recognizing means of the device and the connection port for which a normal response has been obtained, the connected device recognizing means rebuilding the database based on the notification, and enabling the driver to operate normally. A computer system having a device erroneous recognition avoidance function, characterized by the following.
JP24150496A 1996-09-12 1996-09-12 Device driver starting method and computer system containing device wrong recognition avoiding function Pending JPH1091565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24150496A JPH1091565A (en) 1996-09-12 1996-09-12 Device driver starting method and computer system containing device wrong recognition avoiding function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24150496A JPH1091565A (en) 1996-09-12 1996-09-12 Device driver starting method and computer system containing device wrong recognition avoiding function

Publications (1)

Publication Number Publication Date
JPH1091565A true JPH1091565A (en) 1998-04-10

Family

ID=17075319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24150496A Pending JPH1091565A (en) 1996-09-12 1996-09-12 Device driver starting method and computer system containing device wrong recognition avoiding function

Country Status (1)

Country Link
JP (1) JPH1091565A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006512165A (en) * 2002-12-27 2006-04-13 カーディアック・ペースメーカーズ・インコーポレーテッド Patient management system including interrogator / transceiver unit
US7536698B2 (en) 2000-12-22 2009-05-19 Canon Kabushiki Kaisha Network system, information processing apparatus, and information processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7536698B2 (en) 2000-12-22 2009-05-19 Canon Kabushiki Kaisha Network system, information processing apparatus, and information processing method
US8402477B2 (en) 2000-12-22 2013-03-19 Canon Kabushiki Kaisha Network system, information processing apparatus, and information processing method
JP2006512165A (en) * 2002-12-27 2006-04-13 カーディアック・ペースメーカーズ・インコーポレーテッド Patient management system including interrogator / transceiver unit

Similar Documents

Publication Publication Date Title
US7197634B2 (en) System and method for updating device firmware
CN1168020C (en) System and method for host volume mapping for shared storage volumes in multi-host computing environment
US7143275B2 (en) System firmware back-up using a BIOS-accessible pre-boot partition
TWI225215B (en) Method and system for maintaining firmware versions in a data processing system
US7321947B2 (en) Systems and methods for managing multiple hot plug operations
US20130205293A1 (en) Network topology-aware recovery automation
US7865782B2 (en) I/O device fault processing method for use in virtual computer system
JP4047458B2 (en) Detection of SCSI device in illegal position
EP2624132B1 (en) Recovery automation in heterogeneous environments
JP2008033829A (en) Backup system and backup method
US7587626B2 (en) Intelligent hotspare or “SmartSpare” drive with pre-emptive drive rebuild
CN1834912B (en) ISCSI bootstrap driving system and method for expandable internet engine
JP4182948B2 (en) Fault tolerant computer system and interrupt control method therefor
JP2006338225A (en) Automatic installation method of computer
JP2006011506A (en) Starting image providing system and method, boot node device, boot server device, and program
JPH1091565A (en) Device driver starting method and computer system containing device wrong recognition avoiding function
US11416423B2 (en) Tracking movements of enrolled peripheral devices
JP2001022599A (en) Fault tolerant system, fault tolerant processing method and recording medium for fault tolerant control program
JPH0693229B2 (en) Data processing device
JP4476108B2 (en) Storage system, computer system, and storage information acquisition method
US7769972B2 (en) Storage system management based on a backup and recovery solution embedded in the storage system
JP2002215557A (en) Facilitation system for fault analysis of pci bus
CN100419681C (en) Novel network duplication system and method
JPH05257854A (en) Computer system
JP3295829B2 (en) POS system