[go: up one dir, main page]

JP3785641B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP3785641B2
JP3785641B2 JP2002313695A JP2002313695A JP3785641B2 JP 3785641 B2 JP3785641 B2 JP 3785641B2 JP 2002313695 A JP2002313695 A JP 2002313695A JP 2002313695 A JP2002313695 A JP 2002313695A JP 3785641 B2 JP3785641 B2 JP 3785641B2
Authority
JP
Japan
Prior art keywords
control unit
memory stick
processing
information processing
usb
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.)
Expired - Lifetime
Application number
JP2002313695A
Other languages
Japanese (ja)
Other versions
JP2003202943A (en
Inventor
隆 佐藤
昭 井口
秀典 山地
潤子 齋藤
雅彦 鈴木
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2002313695A priority Critical patent/JP3785641B2/en
Publication of JP2003202943A publication Critical patent/JP2003202943A/en
Application granted granted Critical
Publication of JP3785641B2 publication Critical patent/JP3785641B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、情報処理装置および情報処理方法、並びにプログラムに関し、例えば、所定のデバイスの使用状態に基づいて、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御手段(処理制御部)に送出される割り込み信号をできるだけ少なくすることができるようになされている、情報処理装置および情報処理方法、並びにプログラムに関する。
【0002】
【従来の技術】
USB(Universal Serial Bus)デバイスを接続することが可能なパーソナルコンピュータにおいて、USBデバイスの接続ポートは、USBホストコントローラと接続されている。USBホストコントローラは、USBデバイスの接続ポートにUSBデバイスが接続されている(USBコネクタが接続されている)場合、CPU(Central Processing Unit)に対して、1秒間あたり、例えば、3000乃至4000回(パーソナルコンピュータによって異なる)の割り込み処理を実行する。
【0003】
また、バッテリにより駆動可能な小型のパーソナルコンピュータにおいては、ユーザが自在に持ち運びをして、任意の場所で出来るだけ長時間に渡って使用することが出来るようにするために、低消費電力化が求められている。そこで、特開2000−10907に開示されているように、USBポートにUSBデバイスが接続されていない(コネクタ接続されていない)場合、USBホストコントローラの機能を停止する技術がある。この技術によると、USBホストコントローラの無駄な消費電力を抑えて、バッテリ駆動時における動作時間を延長することが出来る。
【0004】
【発明が解決しようとする課題】
パーソナルコンピュータにおいて、例えば、ストレージデバイスなどを装着するためのスロットをはじめとするUSBデバイスが、USBホストコントローラと接続され、予め制御基板上に設けられているような場合、そのUSBデバイスは、取り外すことが出来ないので、USBホストコントローラと常時接続されている状態である。従って、USBホストコントローラは、USBデバイスが使用されているか否かに関わらず、基板上のUSBデバイスを常に検知するので、CPUに対して、1秒間あたり、例えば、3000乃至4000回の割り込み処理を実行する。
【0005】
CPUには、消費電力の低減のために、複数の動作モードが設けられている。例えば、ペンティアム(登録商標)II、もしくはペンティアム(登録商標)IIIなどにおいては、C0、C1、C2、およびC3の4つの動作モードがある。C0はフルスピードで動作している状態だが、C1はAutoHALTというモード、C2がQuickStart、C3がDeepSleepというモードであり、C1よりC2、C2よりC3の方が消費電力は少ない。CPUがC3モードに入るには、CPUへの割り込みの頻度は、CPUの種類や、その周辺のシステムの形態にもよるが、例えば、1秒間に200回程度よりも少なくなければならない。
【0006】
従って、制御基板上にUSBデバイスが設けられている場合、CPUは、低消費電力モード(例えば、C3ステータス)に状態を変更することは出来ない。
【0007】
本発明はこのような状況に鑑みてなされたものであり、所定のデバイスの使用状態に基づいて、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御手段(処理制御部)に送出される割り込み信号をできるだけ少なくすることができるようにするものである。
【0008】
【課題を解決するための手段】
本発明の一側面の情報処理装置は、接続された所定のデバイスとの情報の授受を制御するデバイス制御部と、第1のデバイスとを有する情報処理装置であって、情報処理装置において実行される処理のうちの少なくとも一部を制御し、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御手段と、デバイス制御部と第1のデバイスとの電気的接続および切断を切り替える切り替え手段と、第1のデバイスが使用されている状態であるか否かを検出する検出手段と、検出手段による検出結果に基づいて、切り替え手段によるデバイス制御部と第1のデバイスとの電気的接続および切断の切り替えを制御する制御手段とを備え、デバイス制御部は、第1のデバイスを含むいずれかのデバイスとの接続を検出した場合、所定間隔で処理制御手段に割り込み信号を送出する。
【0011】
第1のデバイスには、他の第2のデバイスが接続可能であるものとすることができ、検出手段には、第1のデバイスに他の第2のデバイスが装着されているか否かに基づいて、第1のデバイスが使用されている状態であるか否かを検出させることができる。
【0013】
検出手段には、第1のデバイスに設けられている第2のデバイスと電気的に接続するための所定の端子の電位に基づいて、 1 のデバイスが使用されている状態であるか否かを検出させるようにすることができる。
【0014】
ユーザの操作の入力を受ける入力手段と、入力手段により入力されたユーザの操作に基づいて、制御手段による切り替え手段による電気的接続の切り替えの制御を、常時接続状態に設定する設定手段とを更に備えさせるようにすることができる。
【0015】
デバイス制御部は、第1のデバイスとUSB規格を用いて接続されているものとすることができ、デバイス制御部は、USBホストコントローラであるものとすることができる。
【0016】
本発明の一側面の情報処理方法は、接続された所定のデバイスとの情報の授受を制御するデバイス制御部と、第1のデバイスと、デバイス制御部と第1のデバイスとの電気的接続および切断を切り替える切り替え部と、情報処理装置において実行される処理のうちの少なくとも一部を制御し、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御部とを有する情報処理装置の情報処理方法であって、第 1 のデバイスが使用されている状態であるか否かを検出する検出ステップと、検出ステップの処理による検出結果に基づいて、切り替え部によるデバイス制御部と第1のデバイスとの電気的接続および切断の切り替えを制御する制御ステップとを含み、デバイス制御部は、第1のデバイスを含むいずれかのデバイスとの接続を検出した場合、所定間隔で処理制御部に割り込み信号を送出する。
【0017】
本発明の一側面の情報処理方法は、接続された所定のデバイスとの情報の授受を制御するデバイス制御部と、第1のデバイスと、デバイス制御部と第1のデバイスとの電気的接続および切断を切り替える切り替え部と、情報処理装置において実行される処理のうちの少なくとも一部を制御し、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御部とを備える情報処理装置を制御するコンピュータが実行可能なプログラムであって、第 1 のデバイスが使用されている状態であるか否かを検出する検出ステップと、検出ステップの処理による検出結果に基づいて、切り替え部によるデバイス制御部と第1のデバイスとの電気的接続および切断の切り替えを制御する制御ステップとを含み、デバイス制御部は、第1のデバイスを含むいずれかのデバイスとの接続を検出した場合、所定間隔で処理制御部に割り込み信号を送出する処理をコンピュータに実行させる。
【0019】
本発明の一側面の情報処理装置および情報処理方法、並びにプログラムにおいては、情報処理装置は第1のデバイスを有し、デバイス制御部において、接続された所定のデバイスとの情報の授受が制御され、情報処理装置において実行される処理のうちの少なくとも一部が、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御手段(処理制御部)により制御され、デバイス制御部において、第1のデバイスを含むいずれかのデバイスとの接続が検出された場合、所定間隔で処理制御手段(処理制御部)に割り込み信号が送出され、デバイス制御部と第1のデバイスとの電気的接続および切断が切り替えられ、第1のデバイスが使用されている状態であるか否かの検出結果を基に、デバイス制御部と第1のデバイスとの電気的接続および切断の切り替えが制御される。
【0021】
【発明の実施の形態】
以下、図を参照して、本発明の実施の形態について説明する。
【0022】
図1乃至図4は、パーソナルコンピュータ1の外観を示している。
【0023】
パーソナルコンピュータ1は、基本的に、本体21と、本体21に対して開閉自在とされる表示部22により構成されている。図1は表示部22を本体21に対して開いた状態を示す外観斜視図である。図2は、本体21の平面図、図3は、本体21に設けられている後述するジョグダイヤル23の拡大図である。また、図4は、本体21に設けられているジョグダイヤル23の側面図である。
【0024】
本体21には、各種の文字や記号などを入力するとき操作されるキーボード24、LCD25に表示されるポインタ(マウスカーソル)を移動させるときなどに操作されるポインティングデバイスとしてのタッチパット26、および電源スイッチ27がその上面に設けられている。また、ジョグダイヤル23およびIEEE(Institute of Electrical and Electronics Engineers)1394ポート28等が、本体21の側面に設けられている。なお、タッチパット26に代えて、スティック式のポインティングデバイスを設けることも可能である。
【0025】
また、表示部22の正面には、画像を表示するLCD(Liquid Crystal Display)25、そして右上部には、電源ランプPL、電池ランプBL、必要に応じて設けられるメッセージランプML(図示せず)その他のLEDより成るランプが設けられている。更に、表示部22の上部中央部には、CCD(固体撮像素子)を備えるCCDビデオカメラ29を有する撮像部30、およびマイクロフォン31が設けられている。本体21の図1中の右上側にはCCDビデオカメラ29を操作するためのシャッタボタン32が設けられている。
【0026】
撮像部30は、回動自在に表示部22に固定されている。例えば、撮像部30は、使用者の操作により、CCDビデオカメラ29がパーソナルコンピュータ1を操作する使用者自身を撮像できる位置から、パーソナルコンピュータ1を操作する使用者の視線と同じ方向を撮像できる位置に回動される。
【0027】
次に、ジョグダイヤル23は、例えば、本体21上のキーボード24の図2中の右側に配置されているキーAおよびキーBの間に、その上面がキーAおよびキーBとほぼ同じ高さになるように取り付けられている。ジョグダイヤル23は、図3中の矢印aに示す回転操作に対応して所定の処理(例えば、画面のスクロールの処理)を実行し、同図中矢印bに示す移動操作に対応した処理(例えば、アイコンの選択の決定処理)を実行する。
【0028】
IEEE1394ポート28は、IEEE1394に規定されている規格に基づいた構造を有し、IEEE1394に規定されている規格に基づいたケーブルが接続される。
【0029】
次に、パーソナルコンピュータ1の内部の構成例について図5を参照して説明する。
【0030】
中央処理装置(CPU)51は、例えば、インテル(Intel)社製のペンティアム(登録商標)プロセッサ等で構成され、ホストバス52に接続されている。ホストバス52には、更に、ブリッジ53(いわゆる、ノースブリッジ)が接続されており、ブリッジ53は、AGP(Accelerated Graphics Port)50を有しているとともに、PCI(Peripheral Component Interconnect/Interface)バス56に接続されている。
【0031】
ブリッジ53は、例えば、インテル社製のAGP Host Bridge Controllerである440BXなどで構成されており、CPU51およびRAM(Random Access Memory)54(いわゆる、メインメモリ)等を制御する。更に、ブリッジ53は、AGP50を介して、ビデオコントローラ57を制御する。なお、このブリッジ53とブリッジ(いわゆる、サウスブリッジ(PCI−ISA Bridge))58とで、いわゆるチップセットが構成されている。
【0032】
ブリッジ53は、更に、キャッシュメモリ55とも接続されている。キャッシュメモリ55は、SRAM(Static RAM)などRAM54に比較して、より高速な書き込みまたは読み出しの動作を実行できるメモリで構成され、CPU51が使用するプログラムまたはデータをキャッシュする(一時的に記憶する)。
【0033】
なお、CPU51は、その内部に1次的な、キャッシュメモリ55に比較して、より高速に動作でき、CPU51自身が制御するキャッシュを有する。
【0034】
RAM54は、例えば、DRAM(Dynamic RAM)で構成され、CPU51が実行するプログラム、またはCPU51の動作に必要なデータを記憶する。具体的には、RAM54は、所定のタイミングでHDD67からロードされた、例えば、電子メールプログラム54A、オートパイロットプログラム54B、ジョグダイヤル状態監視プログラム54C、ジョグダイヤルドライバ54D、およびオペレーティングプログラム(OS)54E、コミュニケーションプログラム54F、ウェブブラウザ54G、およびその他のアプリケーションプログラム54H(後述するパワーパネル201、およびドライバ202を含む)を記憶する。
【0035】
電子メールプログラム54Aは、モデム75、公衆回線網5、インターネットサービスプロバイダ7、電子メールサーバ9、およびインターネット6を介して、通信文(電子メール)を授受するためのプログラムである。
【0036】
オートパイロットプログラム54Bは、予め設定された複数の処理(またはプログラム)などを、予め設定された順序で順次起動して、処理するプログラムである。
【0037】
ジョグダイヤル状態監視プログラム54Cは、上述した各アプリケーションプログラムから、ジョグダイヤル23に対応しているか否かの通知を受け取り、対応するアプリケーションがジョグダイヤル23に対応している場合、ジョグダイヤル23を操作することで何が行えるかをLCD25に表示させる。
【0038】
ジョグダイヤル状態監視プログラム54Cはまた、ジョグダイヤル23のイベント(ジョグダイヤル23が図3の矢印aに示す方向に回転される、または図3の矢印bに示す方向に押圧されるなどの操作)を検出し、検出したイベントに対応する処理を実行する。ジョグダイヤルドライバ54Dは、ジョグダイヤル23の操作に対応して各種機能を実行する。
【0039】
OS(Operating System)54Eは、例えばマイクロソフト社のいわゆるウィンドウズ(登録商標)95、ウィンドウズ(登録商標)98、ウィンドウズ(登録商標)2000、もしくは、ウィンドウズ(登録商標)ME、またはアップルコンピュータ社のいわゆるMac OS(登録商標)等に代表される、コンピュータの基本的な動作を制御するプログラムである。
【0040】
コミュニケーションプログラム54Fは、ピアツーピア通信のための処理を実行するとともに、その通信接続を確立するために、電子メールプログラム54Aを制御して、パーソナルコンピュータ1のIPアドレスが添付された電子メールを、通信相手に送信させたり、通信相手から送信されてきた所定の電子メールからIPアドレスを取得する。
【0041】
コミュニケーションプログラム54Fはまた、ウェブブラウザ54Gを制御して、ウェブブラウザ54Gの機能に基づく通信を行う。
【0042】
ウェブブラウザ54Gは、コミュニケーションプログラム54Fによる制御に従って、所定のウェブページのデータを閲覧する(表示部22に表示させる)ための処理を実行する。
【0043】
アプリケーションプログラム54Hは、例えば、後述するパワーパネル201、およびドライバ202などの各種アプリケーションプログラムやドライバなどにより構成される。パワーパネル201、およびドライバ202の処理については、後述する。
【0044】
ビデオコントローラ57は、AGP50を介してブリッジ53に接続されており、AGP50およびブリッジ53を介してCPU51から供給されるデータ(イメージデータまたはテキストデータなど)を受信して、受信したデータに対応するイメージデータを生成し、生成したイメージデータ、または受信したデータをそのまま、内蔵するビデオメモリに記憶する。ビデオコントローラ57は、表示部22のLCD25に、ビデオメモリに記憶されているイメージデータに対応する画像を表示させる。
【0045】
また、ビデオコントローラ57は、CCDビデオカメラ29から供給されたビデオデータを、PCIバス56を介して、RAM54に供給する。
【0046】
PCIバス56には、サウンドコントローラ64が接続されている。サウンドコントローラ64は、マイクロフォン31から音声を取り込み、その音声に対応するデータを生成して、RAM54に出力する。またサウンドコントローラ64は、スピーカ65を駆動して、スピーカ65に音声を出力させる。
【0047】
また、PCIバス56にはモデム75が接続されている。モデム75は、公衆回線網5に接続されており、公衆回線網5またはインターネット6を介する通信処理を実行する。
【0048】
PCカードスロットインターフェース111は、PCIバス56に接続され、スロット33に装着されたインターフェースカード112から供給されたデータを、CPU51またはRAM54に供給するとともに、CPU51から供給されたデータをインターフェースカード112に出力する。ドライブ113は、PCカードスロットインターフェース111およびインターフェースカード112を介して、PCIバス56に接続されている。
【0049】
ドライブ113は、装着されている磁気ディスク121、光ディスク122、光磁気ディスク123、または半導体メモリ124に記録されているデータを読み出し、読み出したデータを、インターフェースカード112、PCカードスロットインターフェース111、およびPCIバス56を介して、RAM54に供給する。また、CPU51の処理により生成されたデータを、ドライブ113に装着される磁気ディスク121、光ディスク122、光磁気ディスク123、または半導体メモリ124に記憶させることができる。
【0050】
また、PCIバス56にはブリッジ58(いわゆる、サウスブリッジ)も接続されている。ブリッジ58は、例えば、インテル社製のPIIX4Eなどで構成されており、IDE(Integrated Drive Electronics)コントローラ/コンフィギュレーションレジスタ59、IDEインターフェース61、およびUSBホストコントローラ68等を内蔵している。ブリッジ58は、IDEバス62に接続されるデバイス、またはISA/EIO(Industry Standard Architecture / Extended Input Output)バス63若しくはI/Oインターフェース69を介して接続されるデバイスの制御等、各種のI/O(Input / Output)を制御する。
【0051】
ブリッジ58のUSBホストコントローラ68には、USBポート107が接続され、各種USBデバイスが接続可能になされているとともに、USBバス131を介して、基板上に、USBメモリースティックスロット133が設けられている。USBバス131には、ハードウェアバススイッチ(S/W)132が設けられている。ハードウェアバススイッチ132は、EC130から供給される制御信号によってオンオフされ、USBバス131を電気的に接続もしくは切断する。
【0052】
USBホストコントローラ68は、USBポート107にUSBデバイスが接続されている場合、もしくは、USBバス131を介して、USBメモリースティックスロット133に電気的に接続されている場合(すなわち、ハードウェアバススイッチ132がオンされている場合)、USBデバイスが接続されている状態であるとして、CPU51に対して、例えば、1秒間に3000乃至4000回の割り込み処理を実行する。この場合、CPU51は、低消費電力モード(例えば、C3ステータス)に状態を変更することは出来ない。
【0053】
ここでは、CPU51がC0、C1、C2、およびC3の4つの動作モードを有するものとして説明するが、この動作モード、並びにそれぞれの動作モードに対応する割り込みの回数は、CPUおよびその周辺のシステムにより異なるので、この限りではない。
【0054】
ここでは、C0はフルスピードで動作している状態だが、C1はAutoHALTというモード、C2がQuickStart、C3がDeepSleepというモードであり、C1よりC2、C2よりC3の方が消費電力は少ないものとして説明する。このような低消費電力モードに状態を変更することにより、バッテリ74の持続時間を延ばすことが可能となる。CPU51が、C0乃至C3のうち、いずれの状態を取るかは、CPU51が実行する処理の状態によって決定され、例えば、C3モードに入るには、CPU51への割り込みが、1秒間に200回程度よりも少ない頻度でなければならないものとして説明する。
【0055】
ハードウェアバススイッチ132は、例えば、PCB(Print Circuit Board)リレー、リードリレー、もしくはウェットリレーなどの機械式リレースイッチや、トライアック、サイリスタ、フォトMOSリレー、もしくはフォトカプラなどの半導体リレー、あるいは、半導体スイッチなどで構成される。ハードウェアバススイッチ132は、a接点(ノーマルオープン)であっても、b接点(ノーマルクローズ)であっても良いが、故障時の動作を考慮すると、b接点であるほうが望ましい。
【0056】
IDEコントローラ/コンフィギュレーションレジスタ59は、いわゆるプライマリIDEコントローラとセカンダリIDEコントローラとの2つのIDEコントローラ、およびコンフィギュレーションレジスタ(configuration register)等から構成されている(いずれも図示せず)。
【0057】
プライマリIDEコントローラには、IDEバス62を介して、HDD67が接続されている。また、セカンダリIDEコントローラには、他のIDEバスに、図示しないCD ROMドライブまたはHDDなどの、いわゆるIDEデバイスが装着されたとき、その装着されたIDEデバイスが電気的に接続される。
【0058】
HDD67は、電子メールプログラム67A、オートパイロットプログラム67B、ジョグダイヤル状態監視プログラム67C、ジョグダイヤルドライバ67D、OS67E、コミュニケーションプログラム67F、ウェブブラウザ67G、およびその他のアプリケーションプログラム67H等を記録する。
【0059】
HDD67に記録されている電子メールプログラム67A乃至アプリケーションプログラム67H等は、RAM54に適宜ロードされる。
【0060】
ISA/EIOバス63には、更に、I/Oインターフェース69が接続されている。このI/Oインターフェース69は、EC(Embedded Controller:エンベディットコントローラ)130から構成され、その内部において、ROM70、RAM71、およびCPU72が相互に接続されている。
【0061】
ROM70は、IEEE1394インターフェースプログラム70A、LED制御プログラム70B、タッチパッド入力監視プログラム70C、キー入力監視プログラム70D、ウェイクアッププログラム70E、ジョグダイヤル状態監視プログラム70F、および、監視プログラム70G等を予め記憶している。CPU72は、IEEE1394インターフェースプログラム70A乃至監視プログラム70Gを実行する。
【0062】
IEEE1394インターフェースプログラム70Aは、IEEE1394ポート28を介して、IEEE1394の規格に準拠するデータ(パケットに格納されているデータ)を送受信する。LED制御プログラム70Bは、電源ランプPL、電池ランプBL、必要に応じて設けられるメッセージランプML、またはその他のLEDよりなるランプの点灯の制御を行う。タッチパッド入力監視プログラム70Cは、利用者の操作に対応したタッチパッド26からの入力を監視するプログラムである。
【0063】
キー入力監視プログラム70Dは、キーボード24またはその他のキースイッチからの入力を監視するプログラムである。ウェイクアッププログラム70Eは、ブリッジ58のタイマ回路(図示せず)から供給される現在時刻を示すデータに基づいて、予め設定された時刻になったかどうかをチェックして、設定された時刻になったとき、所定の処理(またはプログラム)等を起動するために、パーソナルコンピュータ1を構成する各チップの電源を管理するプログラムである。ジョグダイヤル状態監視プログラム70Fは、ジョグダイヤル23の回転型エンコーダが回転されたか否か、またはジョグダイヤル23が押されたか否かを常に監視するためのプログラムである。
【0064】
監視プログラム70Gは、USBメモリースティックスロット133の10本のピンのうち、所定のピン(ピン番号をnとする)の電位が、HiかLowかを監視するものであり、その処理の詳細については後述する。
【0065】
USBメモリースティックスロット133には、メモリースティック(商標)が装着可能である。メモリースティックは、本願出願人であるソニー株式会社によって開発されたフラッシュメモリカードの一種である。このメモリースティック131は、縦21.5×横50×厚さ2.8[mm]の小型薄型形状のプラスチックケース内に電気的に書換えや消去が可能な不揮発性メモリであるEEPROM(Electrically Erasable and Programmable Read Only Memory )の一種であるフラッシュメモリ素子を格納したものであり、10ピン端子を介して画像や音声、音楽等の各種データの書き込み及び読み出しが可能となっている。また、USBメモリースティックスロット133の10本のピンのうちn番目のピンは、信号線134を介して、EC130に接続されている。監視プログラム70Gは、信号線134の電位に基づき、USBメモリースティックスロット133のn番目のピンの電位が、HiかLowかを監視する。
【0066】
ROM70には更に、BIOS(Basic Input/Output System(基本入出力システム))70Hが書き込まれている。BIOS70Hは、OSまたはアプリケーションプログラムと周辺機器(タッチパッド26、キーボード24、またはHDD67等)との間でのデータの受け渡し(入出力)を制御する。
【0067】
RAM71は、LED制御、タッチパッド入力ステータス、キー入力ステータス、若しくは設定時刻用の各レジスタ、ジョグダイヤル状態監視用のI/Oレジスタ、IEEE1394I/Fレジスタ、または監視用レジスタ等を、レジスタ71A乃至71Gとして有している。例えば、LED制御レジスタには、ジョグダイヤル23が押されて、電子メールプログラム54Aが起動されたとき、所定の値が格納され、格納されている値に対応して、メッセージランプMLの点灯が制御される。キー入力ステータスレジスタには、ジョグダイヤル23が押圧されると、所定の操作キーフラグが格納される。設定時刻レジスタには、使用者によるキーボード24などの操作に対応して、所定の時刻が設定される。
【0068】
また、このI/Oインターフェース69には、図示せぬコネクタを介して、ジョグダイヤル23、タッチパッド26、キーボード24、IEEE1394ポート28、およびシャッタボタン32等が接続され、ジョグダイヤル23、タッチパッド26、キーボード24、またはシャッタボタン32それぞれに対する操作に対応した信号をISA/EIOバス63に出力する。また、I/Oインターフェース69は、IEEE1394ポート28を介して接続されている機器とのデータの送受信を制御する。更に、I/Oインターフェース69には、電源ランプPL、電池ランプBL、メッセージランプML、電源制御回路73、およびその他のLEDよりなるランプが接続されている。
【0069】
電源制御回路73は、内蔵バッテリ74またはAC電源に接続されており、各ブロックに、必要な電源を供給するとともに、内蔵バッテリ74または周辺装置のセカンドバッテリの充電のための制御を行う。また、I/Oインターフェース69は、電源をオンまたはオフするとき操作される電源スイッチ27を監視している。
【0070】
I/Oインターフェース69は、電源がオフの状態でも、内部に設けられた電源により、IEEE1394インターフェースプログラム70A乃至ジョグダイヤル状態監視プログラム70Fを実行する。すなわち、IEEE1394インターフェースプログラム70A乃至ジョグダイヤル状態監視プログラム70Fは、常時動作している。
【0071】
従って、電源スイッチ27がオフでCPU51がOS54Eを実行していない場合でも、I/Oインターフェース69は、ジョグダイヤル状態監視プログラム70Fを実行するので、例えば、省電力状態、または電源オフの状態で、ジョグダイヤル23が押圧されたとき、パーソナルコンピュータ1は、予め設定した所定のソフトウェアまたはスクリプトファイルの処理を起動する。
【0072】
このように、パーソナルコンピュータ1においては、ジョグダイヤル23がプログラマブルパワーキー(PPK)機能を有するので、専用のキーを設ける必要がない。
【0073】
図6は、メモリースティックの装着、もしくは抜去を検出する処理を説明するための第1の実施の形態を示す機能ブロック図である。
【0074】
パワーパネル(Power Panel)201は、OS54E上のアプリケーションであり、ユーザによる操作入力や、監視プログラム203から、ドライバ202を介して入力されるイベントやメッセージなどを基に、電源管理を行うものである。
【0075】
ドライバ202は、OS54E上のアプリケーションであるパワーパネル201と、EC130のCPU72が実行するアプリケーションである、後述する監視プログラム203とを通信させるためのドライバである。
【0076】
パワーパネル201およびドライバ202は、CPU51によって実行される。
【0077】
監視プログラム203は、図5を用いて説明した監視プログラム70Gに対応し、USBメモリースティックスロット133から入力されるn番目のピンの信号がHiであるかLowであるかを、ドライバ202を介して、パワーパネル201に出力したり、ドライバ202を介して、パワーパネル201から入力される制御信号に従って、ハードウェアバススイッチ132のオンオフを切り替える。監視プログラム203は、EC130のCPU72によって実行される。
【0078】
USBホストコントローラ68は、いずれかのUSBデバイスと電気的に接続されている場合、CPU51に対して、例えば、1秒間に3000乃至4000回程度の割り込み処理を実行する。この場合、CPU51は、低消費電力モード(例えば、C3ステータス)に状態を変更することは出来ない。
【0079】
ハードウェアバススイッチ132がオンされた場合、USBホストコントローラ68と、USBメモリースティックスロット133は、USBバス131を介して、電気的に接続される。すなわち、USBホストコントローラ68は、USBデバイスとしてのUSBメモリースティックスロット133を検出するので、他にUSBデバイスが接続されていなくても、CPU51に対する割り込み処理を実行する。
【0080】
ハードウェアバススイッチ132がオフされた場合、USBホストコントローラ68と、USBメモリースティックスロット133は、USBバス131を介して、電気的に切断される。すなわち、USBホストコントローラ68は、USBデバイスとしてのUSBメモリースティックスロット133を検出しないので、他にUSBデバイスが接続されていなければ、CPU51に対する割り込み処理を実行しない。
【0081】
次に、図7のフローチャートを参照して、メモリースティック装着検出処理1について説明する。
【0082】
なお、監視プログラム203は、初期状態において、メモリースティックがメモリースティックスロット133に装着されていない状態を検出しているので、ハードウェアバススイッチ132がオフ状態となるように制御している。
【0083】
ステップS1において、監視プログラム203は、メモリースティックスロット133のn番目のピンの電位の変化、すなわち、電位のHiからLowへの変化を検出したか否かを判断する。ここでは、メモリースティックが装着されていない場合、n番目のピンの電位はHiであり、メモリースティックが装着された場合、n番目のピンの電位はLowであるものとして説明するが、メモリースティック有り無しにおけるn番目のピンの論理は逆であってもかまわない。ステップS1において、n番目のピンの電位の変化を検出していないと判断された場合、n番目のピンの電位の変化を検出したと判断されるまで、ステップS1の処理が繰り返される。
【0084】
ステップS1において、n番目のピンの電位の変化が検出されたと判断された場合、ステップS2において、監視プログラム203は、メモリースティックがメモリースティックスロット133に装着されたことを検出する。
【0085】
ステップS3において、監視プログラム203は、メモリースティック装着イベントを、ドライバ202を介して、パワーパネル201に通達する。
【0086】
ステップS4において、パワーパネル201は、ハードウェアバススイッチ132のオンを指令するイベントを、ドライバ202を介して、監視プログラム203に通達する。
【0087】
ステップS5において、監視プログラム203は、ハードウェアバススイッチ132のオンを指令するイベントを、ドライバ202を介して、パワーパネル201から受信する。
【0088】
ステップS6において、監視プログラム203は、ハードウェアバススイッチ132をオンにするための制御信号を、ハードウェアバススイッチ132に出力する。
【0089】
ステップS7において、ハードウェアバススイッチ132は、監視プログラム203によって出力された制御信号に従って、オフ状態からオン状態に状態を変更し、USBバス131を電気的に接続する。
【0090】
ステップS7において、USBバス131が電気的に接続されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に接続された状態となる。従って、ステップS8において、USBホストコントローラ68は、メモリースティックスロット133ありを検出し、処理が終了される。
【0091】
USBホストコントローラ68は、メモリースティックスロット133にメモリースティックが装着されていない状態において、メモリースティックスロット133と電気的に接続されていない、すなわち、メモリースティックスロット133なしを検出している。すなわち、他にUSBデバイスが接続されていなければ、メモリースティックスロット133が接続されている場合に実行される、CPU51への割り込み処理が実行されないので、CUP51は、低消費電力モードに遷移することが可能である。
【0092】
そして、図7を用いて説明した処理により、メモリースティックスロット133にメモリースティックが装着された場合、監視プログラム203の処理により、ハードウェアバススイッチ132がオフ状態からオン状態に変更されるので、USBホストコントローラ68は、メモリースティックスロット133ありを検出する。従って、USBホストコントローラ68は、メモリースティックスロット133が基板上に実装されている状態であっても、メモリースティックスロット133にメモリースティックが装着されている場合にのみ、メモリースティックスロット133ありを検出することができる。従って、USBホストコントローラ68が、CPU51に対して、余分な割り込み処理を実行する必要がなくなるため、CPU51は、低消費電力モードに移行することができ、消費電力を抑えることができるので、例えば、バッテリ74を用いた駆動時間を延長することが可能となる。
【0093】
次に、図8のフローチャートを参照して、メモリースティック抜去検出処理1について説明する。
【0094】
なお、監視プログラム203は、初期状態において、メモリースティックがメモリースティックスロット133に装着されている状態を検出しているので、ハードウェアバススイッチ132がオン状態となるように制御している。
【0095】
ステップS21において、監視プログラム203は、メモリースティックスロット133のn番目のピンの電位の変化、すなわち、電位のLowからHiへの変化を検出したか否かを判断する。ここでは、メモリースティックが装着されていない場合、n番目のピンの電位はHiであり、メモリースティックが装着された場合、n番目のピンの電位はLowであるものとして説明するが、メモリースティック有り無しにおけるn番目のピンの論理は逆であってもかまわない。ステップS21において、n番目のピンの電位の変化を検出していないと判断された場合、n番目のピンの電位の変化を検出したと判断されるまで、ステップS21の処理が繰り返される。
【0096】
ステップS21において、n番目のピンの電位の変化を検出したと判断された場合、ステップS22において、監視プログラム203は、メモリースティックスロット133からの、メモリースティック抜去を検出する。
【0097】
ステップS23において、監視プログラム203は、メモリースティック抜去イベントを、ドライバ202を介して、パワーパネル201に通達する。
【0098】
ステップS24において、パワーパネル201は、ハードウェアバススイッチ132のオフを指令するイベントを、ドライバ202を介して、監視プログラム203に通達する。
【0099】
ステップS25において、監視プログラム203は、ハードウェアバススイッチ132のオフを指令するイベントを、ドライバ202を介して、パワーパネル201から受信する。
【0100】
ステップS26において、監視プログラム203は、ハードウェアバススイッチ132をオフにするための制御信号を、ハードウェアバススイッチ132に出力する。
【0101】
ステップS27において、ハードウェアバススイッチ132は、監視プログラム203によって出力された制御信号に従って、オン状態からオフ状態に状態を変更し、USBバス131を電気的に切断する。
【0102】
ステップS27において、USBバス131が電気的に切断されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に切断された状態となる。従って、ステップS28において、USBホストコントローラ68は、メモリースティックスロット133なしを検出し、処理が終了される。
【0103】
USBホストコントローラ68は、メモリースティックスロット133にメモリースティックが装着されている状態において、メモリースティックスロット133と電気的に接続され、メモリースティックスロット133ありを検出している。すなわち、USBホストコントローラ68は、他にUSBデバイスが接続されていなくても、メモリースティックスロット133が接続されていることにより、CPU51への割り込み処理を実行するので、CUP51は、低消費電力モードに遷移できない状態となる。
【0104】
そして、図8を用いて説明した処理により、メモリースティックスロット133からメモリースティックが抜き取られた場合、監視プログラム203の処理により、ハードウェアバススイッチ132がオン状態からオフ状態に変更されるので、USBホストコントローラ68は、メモリースティックスロット133なしを検出する。従って、USBホストコントローラ68は、メモリースティックスロット133が基板上に実装されている状態であっても、メモリースティックスロット133からメモリースティックが抜き取られた場合に、メモリースティックスロット133なしを検出することができる。
【0105】
従って、USBホストコントローラ68に他のUSBデバイスが接続されていなければ、USBホストコントローラ68が、CPU51に対して、余分な割り込み処理を実行する必要がなくなるため、CPU51は、低消費電力モードに移行することができ、消費電力を抑えることができるので、例えば、バッテリ74を用いた駆動時間を延長することが可能となる。
【0106】
図7および図8を用いて説明した処理を実行する場合、監視プログラム203の、メモリースティックの挿抜の検出結果により、ハードウェアバススイッチ132のオンオフが制御される。従って、メモリースティックがメモリースティックスロット133に装着されてから、メモリースティックとUSBホストコントローラ68との情報の授受が開始されるまでに、一定の時間が必要となる。従って、図7および図8を用いて説明した処理を実行する場合、メモリースティックスロット133が常時接続されている場合に対して、応答時間がかかってしまう。
【0107】
そこで、消費電力より、応答時間を優先したいユーザは、設定を、メモリースティックスロット133が常時接続されているモード(すなわち、ハードウェアバススイッチ132が常時オン状態であるモード)に変更することが可能であるようにすることができる。
【0108】
次に、図9のフローチャートを参照して、図7および図8を用いて説明した処理を実行する通常監視モードから、ハードウェアバススイッチ常時接続モードへ設定を変更する設定変更処理1について説明する。
【0109】
ユーザは、例えば、LCD25に表示される設定画面を参照して、モード変更のための操作を入力する。パワーパネル201は、ステップS41において、ユーザの操作入力を示す信号の入力を受け、ステップS42において、通常監視モードから、ハードウェアバススイッチ常時接続モードに設定変更するための操作が入力されたか否かを判断する。ステップS42において、通常監視モードから、ハードウェアバススイッチ常時接続モードに設定変更するための操作が入力されていないと判断された場合、設定変更するための操作が入力されたと判断されるまで、ステップS42の処理が繰り返される。
【0110】
ステップS42において、通常監視モードから、ハードウェアバススイッチ常時接続モードに設定変更するための操作が入力されたと判断された場合、ステップS43において、パワーパネル201は、ハードウェアバススイッチ132の常時オンを指令する(ハードウェアバススイッチ常時接続モードに設定変更する)イベントを、ドライバ202を介して、監視プログラム203に通達する。
【0111】
ステップS44において、監視プログラム203は、ドライバ202を介して、ハードウェアバススイッチ132の常時オンを指令するイベントを受信し、ハードウェアバススイッチ132の状態を検出する。
【0112】
ステップS45において、監視プログラム203は、ハードウェアバススイッチ132はオン状態であるか否かを判断する。
【0113】
ステップS45において、ハードウェアバススイッチ132はオン状態ではないと判断された場合、ステップS46において、監視プログラム203は、ハードウェアバススイッチ132をオンにするための制御信号を、ハードウェアバススイッチ132に出力する。
【0114】
ステップS47において、ハードウェアバススイッチ132は、監視プログラム203によって出力された制御信号に従って、オフ状態からオン状態に状態を変更し、USBバス131を電気的に接続する。
【0115】
ステップS47において、USBバス131が電気的に接続されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に接続された状態となる。従って、ステップS48において、USBホストコントローラ68は、メモリースティックスロット133ありを検出し、処理が終了される。
【0116】
ステップS45において、ハードウェアバススイッチ132はオン状態あると判断された場合、USBホストコントローラ68は、メモリースティックスロット133ありを検出している状態であるので、状態を変更する必要はない。従って、ステップS45において、ハードウェアバススイッチ132はオン状態あると判断された場合、処理が終了される。
【0117】
図9を用いて説明した処理により、現在の状態において、USBホストコントローラ68が、メモリースティックスロット133ありを検出している状態であっても、メモリースティックスロット133なしを検出している状態であっても、監視プログラム203によって、ハードウェアバススイッチ132はオン状態に固定され、ハードウェアバススイッチ常時接続モードに設定が変更される。
【0118】
次に、図10のフローチャートを参照して、設定がハードウェアバススイッチ常時接続モードである場合の、メモリースティック装着/抜去検出処理について説明する。
【0119】
図10を用いて説明する処理においては、その初期状態において、メモリースティックが装着されている状態であっても、装着されていない状態であっても、ハードウェアバススイッチ132はオン状態に固定されている。
【0120】
ステップS61において、監視プログラム203は、メモリースティックスロット133のn番目のピンの電位の変化を検出したか否かを判断する。ステップS61において、n番目のピンの電位の変化を検出していないと判断された場合、n番目のピンの電位の変化を検出したと判断されるまで、ステップS61の処理が繰り返される。
【0121】
ステップS61において、n番目のピンの電位の変化を検出したと判断された場合、ステップS62において、監視プログラム203は、n番目のピンの電位の変化に基づいて、メモリースティックスロット133へのメモリースティック装着、もしくはメモリースティックスロット133からのメモリースティック抜去を検出する。
【0122】
ステップS63において、監視プログラム203は、メモリースティック装着イベント、もしくは、メモリースティック抜去イベントを、ドライバ202を介して、パワーパネル201に通達して、処理が終了される。
【0123】
設定がハードウェアバススイッチ常時接続モードである場合、図10を用いて説明した処理により、メモリースティックの装着および抜去が検出され、パワーパネル201に通達されるが、この場合、図7および図8を用いて説明した処理を実行する場合より、応答時間が早くなる。
【0124】
次に、図11および図12のフローチャートを参照して、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定を変更する場合の設定変更処理2について説明する。
【0125】
ユーザは、例えば、LCD25に表示される設定画面を参照して、モード変更のための操作を入力する。パワーパネル201は、ステップS71において、ユーザの操作入力を示す信号の入力を受け、ステップS72において、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定変更するための操作が入力されたか否かを判断する。ステップS72において、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定変更するための操作が入力されていないと判断された場合、設定変更するための操作が入力されたと判断されるまで、ステップS72の処理が繰り返される。
【0126】
ステップS72において、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定変更するための操作が入力されたと判断された場合、ステップS73において、パワーパネル201は、通常監視モードへの設定変更イベントを、ドライバ202を介して、監視プログラム203に通達する。
【0127】
ステップS74において、パワーパネル201は、メモリースティックがメモリースティックスロット133に装着されているか否かを問い合わせるイベントを、ドライバ202を介して、監視プログラム203に通達する。
【0128】
ステップS75において、監視プログラム203は、ドライバ202を介して、問い合わせイベントを受信し、n番目のピンの電位がHiかLowかを検出する。
【0129】
ステップS76において、監視プログラム203は、ステップS75において検出されたn番目のピンの電位に基づいて、メモリースティックは装着されているか否かを判断する。
【0130】
ステップS76において、メモリースティックは装着されていないと判断された場合、ステップS77において、監視プログラム203は、メモリースティックなしのステータスを、ドライバ202を介して、パワーパネル201に返す。
【0131】
ステップS78において、パワーパネル201は、ハードウェアバススイッチ132のオフを指令するイベントを、監視プログラム203に通達する。
【0132】
ステップS79において、監視プログラム203は、ハードウェアバススイッチ132のオフを指令するイベントを受信し、ハードウェアバススイッチ132をオフにするための制御信号を生成して、ハードウェアバススイッチ132に出力する。
【0133】
ステップS80において、ハードウェアバススイッチ132は、監視プログラム203によって出力された制御信号に従って、オン状態からオフ状態に状態を変更し、USBバス131を電気的に切断する。
【0134】
ステップS80において、USBバス131が電気的に切断されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に切断された状態となる。従って、ステップS81において、USBホストコントローラ68は、メモリースティックスロット133なしを検出し、処理が終了される。
【0135】
ステップS76において、メモリースティックは装着されていると判断された場合、ステップS82において、監視プログラム203は、メモリースティックありのステータスを、ドライバ202を介して、パワーパネル201に返して、処理が終了される。
【0136】
図11および図12を用いて説明した処理により、メモリースティックスロット133にメモリースティックが装着されている状態であるか否かが、監視プログラム203によって検出され、その状態に基づいて、ハードウェアバススイッチ132のオンオフが決定されて、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定が変更される。
【0137】
図13は、メモリースティックの装着、もしくは抜去を検出する処理を説明するための第2の実施の形態を示す機能ブロック図である。なお、図6における場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。
【0138】
図13の機能ブロック図においては、監視プログラム211が、第1の実施の形態におけるパワーパネル201のように、CPU51において実行されるプログラムと情報を授受することなく、メモリースティックスロット133にメモリースティックが装着されているか否かを判断し、ハードウェアバススイッチ132のオンオフを制御することが出来るようになされている。換言すれば、第2の実施の形態においては、第1の実施の形態において説明したパワーパネル201および監視プログラム203が実行する処理を、監視プログラム211のみで実行するようにするものである。
【0139】
次に、図14のフローチャートを参照して、メモリースティック装着検出処理2について説明する。
【0140】
なお、監視プログラム211は、初期状態において、メモリースティックがメモリースティックスロット133に装着されていない状態を検出しているので、ハードウェアバススイッチ132がオフ状態となるように制御している。
【0141】
ステップS91において、監視プログラム211は、メモリースティックスロット133のn番目のピンの電位の変化、すなわち、電位のHiからLowへの変化を検出したか否かを判断する。ここでは、メモリースティックなしの場合、n番目のピンの電位はHiであり、メモリースティックが装着された場合、n番目のピンの電位はLowであるものとして説明するが、メモリースティック有り無しにおけるn番目のピンの論理は逆であってもかまわない。ステップS91において、n番目のピンの電位の変化を検出していないと判断された場合、n番目のピンの電位の変化を検出したと判断されるまで、ステップS91の処理が繰り返される。
【0142】
ステップS91において、n番目のピンの電位の変化を検出したと判断された場合、ステップS92において、監視プログラム211は、メモリースティックがメモリースティックスロット133に装着されたことを検出する。
【0143】
ステップS93において、監視プログラム211は、ハードウェアバススイッチ132をオンにするための制御信号を、ハードウェアバススイッチ132に出力する。
【0144】
ステップS94において、ハードウェアバススイッチ132は、監視プログラム211によって出力された制御信号に従って、オフ状態からオン状態に状態を変更し、USBバス131を電気的に接続する。
【0145】
ステップS94において、USBバス131が電気的に接続されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に接続された状態となる。従って、ステップS95において、USBホストコントローラ68は、メモリースティックスロット133ありを検出し、処理が終了される。
【0146】
USBホストコントローラ68は、メモリースティックスロット133にメモリースティックが装着されていない状態において、メモリースティックスロット133と電気的に接続されていない、すなわち、メモリースティックスロット133なしを検出している。すなわち、メモリースティックスロット133が接続されている場合に実行される、CPU51への割り込み処理が実行されないので、CUP51は、低消費電力モードに遷移することが可能である。
【0147】
そして、図14を用いて説明した処理により、図7を用いて説明した場合と同様に、メモリースティックスロット133にメモリースティックが装着された場合、監視プログラム211の処理により、ハードウェアバススイッチ132がオフ状態からオン状態に変更されるので、USBホストコントローラ68は、メモリースティックスロット133ありを検出する。
【0148】
従って、図7を用いて説明した場合と同様に、USBホストコントローラ68は、メモリースティックスロット133が基板上に実装されている状態であっても、メモリースティックスロット133にメモリースティックが装着されている場合にのみ、メモリースティックスロット133ありを検出することができる。従って、メモリースティックスロット133にメモリースティックが装着されていない状態、かつ、USBホストコントローラ68に他のUSBデバイスが接続されていない場合、USBホストコントローラ68が、CPU51に対して、余分な割り込み処理を実行する必要がなくなるため、CPU51は、低消費電力モードに移行することができ、消費電力を抑えることができるので、例えば、バッテリ74を用いた駆動時間を延長することが可能となる。
【0149】
次に、図15のフローチャートを参照して、メモリースティック抜去検出処理2について説明する。
【0150】
なお、監視プログラム211は、初期状態において、メモリースティックがメモリースティックスロット133に装着されている状態を検出しているので、ハードウェアバススイッチ132がオン状態となるように制御している。
【0151】
ステップS101において、監視プログラム211は、メモリースティックスロット133のn番目のピンの電位の変化、すなわち、電位のLowからHiへの変化を検出したか否かを判断する。ここでは、メモリースティックなしの場合、n番目のピンの電位はHiであり、メモリースティックが装着された場合、n番目のピンの電位はLowであるものとして説明するが、メモリースティック有り無しにおけるn番目のピンの論理は逆であってもかまわない。ステップS101において、n番目のピンの電位の変化を検出していないと判断された場合、n番目のピンの電位の変化を検出したと判断されるまで、ステップS101の処理が繰り返される。
【0152】
ステップS101において、n番目のピンの電位の変化を検出したと判断された場合、ステップS102において、監視プログラム211は、メモリースティックスロット133からの、メモリースティック抜去を検出する。
【0153】
ステップS103において、監視プログラム211は、ハードウェアバススイッチ132をオフにするための制御信号を、ハードウェアバススイッチ132に出力する。
【0154】
ステップS104において、ハードウェアバススイッチ132は、監視プログラム211によって出力された制御信号に従って、オン状態からオフ状態に状態を変更し、USBバス131を電気的に切断する。
【0155】
ステップS104において、USBバス131が電気的に切断されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に切断された状態となる。従って、ステップS105において、USBホストコントローラ68は、メモリースティックスロット133なしを検出し、処理が終了される。
【0156】
USBホストコントローラ68は、メモリースティックスロット133にメモリースティックが装着されている状態において、メモリースティックスロット133と電気的に接続され、メモリースティックスロット133ありを検出している。すなわち、USBホストコントローラ68は、メモリースティックスロット133が接続されている場合に実行される、CPU51への割り込み処理を実行するので、CUP51は、低消費電力モードに遷移できない状態である。
【0157】
そして、図15を用いて説明した処理により、図8を用いて説明した場合と同様に、メモリースティックスロット133からメモリースティックが抜き取られた場合、監視プログラム211の処理により、ハードウェアバススイッチ132がオン状態からオフ状態に変更されるので、USBホストコントローラ68は、メモリースティックスロット133なしを検出する。従って、メモリースティックスロット133が基板上に実装されている状態であっても、USBホストコントローラ68は、メモリースティックスロット133にメモリースティックが抜き取られた場合には、メモリースティックスロット133なしを検出することができる。従って、メモリースティックスロット133にメモリースティックが装着されていない状態、かつ、USBホストコントローラ68に他のUSBデバイスが接続されていない場合、USBホストコントローラ68が、CPU51に対して、余分な割り込み処理を実行する必要がなくなるため、CPU51は、低消費電力モードに移行することができ、消費電力を抑えることができるので、例えば、バッテリ74を用いた駆動時間を延長することが可能となる。
【0158】
図14および図15を用いて説明した処理を実行する場合、監視プログラム211の、メモリースティックの挿抜の検出結果により、ハードウェアバススイッチ132のオンオフが制御される。従って、メモリースティックがメモリースティックスロット133に装着されてから、メモリースティックとUSBホストコントローラ68との情報の授受が開始されるまでに、一定の時間が必要となる。消費電力より、応答時間を優先したいユーザは、設定を、メモリースティックスロット133が常時接続されているモード(すなわち、ハードウェアバススイッチ132が常時オン状態であるモード)変更することが可能である。
【0159】
次に、図16のフローチャートを参照して、図14および図15を用いて説明した処理を実行する通常監視モードから、ハードウェアバススイッチ常時接続モードへ設定を変更する設定変更処理3について説明する。
【0160】
ユーザは、例えば、LCD25に表示される設定画面を参照して、モード変更のための操作を入力する。監視プログラム211は、ステップS111において、ユーザの操作入力を示す信号の入力を受け、ステップS112において、通常監視モードから、ハードウェアバススイッチ常時接続モードに設定変更するための操作が入力されたか否かを判断する。ステップS112において、通常監視モードから、ハードウェアバススイッチ常時接続モードに設定変更するための操作が入力されていないと判断された場合、設定変更するための操作が入力されたと判断されるまで、ステップS112の処理が繰り返される。
【0161】
ステップS112において、通常監視モードから、ハードウェアバススイッチ常時接続モードに設定変更するための操作が入力されたと判断された場合、ステップS113において、監視プログラム211は、常時接続モードに、設定を変更する。
【0162】
ステップS114において、監視プログラム211は、ハードウェアバススイッチ132の状態を検出する。
【0163】
ステップS115において、監視プログラム211は、ハードウェアバススイッチ132はオン状態であるか否かを判断する。
【0164】
ステップS115において、ハードウェアバススイッチ132はオン状態ではないと判断された場合、ステップS116において、監視プログラム211は、ハードウェアバススイッチ132をオンにするための制御信号を、ハードウェアバススイッチ132に出力する。
【0165】
ステップS117において、ハードウェアバススイッチ132は、監視プログラム211によって出力された制御信号に従って、オフ状態からオン状態に状態を変更し、USBバス131を電気的に接続する。
【0166】
ステップS117において、USBバス131が電気的に接続されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に接続された状態となる。従って、ステップS118において、USBホストコントローラ68は、メモリースティックスロット133ありを検出し、処理が終了される。
【0167】
ステップS115において、ハードウェアバススイッチ132はオン状態あると判断された場合、USBホストコントローラ68は、メモリースティックスロット133ありを検出している状態であるので、状態を変更する必要はない。従って、ステップS115において、ハードウェアバススイッチ132はオン状態あると判断された場合、処理が終了される。
【0168】
図16を用いて説明した処理により、図9を用いて説明した場合と同様に、現在の状態において、USBホストコントローラ68が、メモリースティックスロット133ありを検出している状態であっても、メモリースティックスロット133なしを検出している状態であっても、監視プログラム211によって、ハードウェアバススイッチ132はオン状態に固定され、ハードウェアバススイッチ常時接続モードに設定が変更される。
【0169】
なお、設定がハードウェアバススイッチ常時接続モードである場合、メモリースティックの装着、もしくは抜去が検出されても、監視プログラム211によって、ハードウェアバススイッチ132はオン状態に固定され変更されることはない。この場合、図14および図15を用いて説明した処理を実行する場合より、応答時間が早くなる。
【0170】
次に、図17のフローチャートを参照して、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定を変更する場合の設定変更処理4について説明する。
【0171】
ユーザは、例えば、LCD25に表示される設定画面を参照して、モード変更のための操作を入力する。監視プログラム211は、ステップS131において、ユーザの操作入力を示す信号の入力を受け、ステップS132において、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定変更するための操作が入力されたか否かを判断する。ステップS132において、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定変更するための操作が入力されていないと判断された場合、設定変更するための操作が入力されたと判断されるまで、ステップS132の処理が繰り返される。
【0172】
ステップS132において、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定変更するための操作が入力されたと判断された場合、ステップS133において、監視プログラム211は、通常監視モードに、設定を変更する。
【0173】
ステップS134において、監視プログラム211は、n番目のピンの電位がHiかLowかを検出する。
【0174】
ステップS135において、監視プログラム211は、ステップS134において検出されたn番目のピンの電位に基づいて、メモリースティックは装着されているか否かを判断する。
【0175】
ステップS135において、メモリースティックは装着されていないと判断された場合、ステップS136において、監視プログラム211は、ハードウェアバススイッチ132をオフにするための制御信号を生成して、ハードウェアバススイッチ132に出力する。
【0176】
ステップS137において、ハードウェアバススイッチ132は、監視プログラム211によって出力された制御信号に従って、オン状態からオフ状態に状態を変更し、USBバス131を電気的に切断する。
【0177】
ステップS137において、USBバス131が電気的に切断されたために、USBホストコントローラ68と、メモリースティックスロット133とは、電気的に切断された状態となる。従って、ステップS138において、USBホストコントローラ68は、メモリースティックスロット133なしを検出し、処理が終了される。
【0178】
ステップS135において、メモリースティックは装着されていると判断された場合、ハードウェアバススイッチ132は、その状態を変更する必要はない。従って、ステップS135において、メモリースティックは装着されていると判断された場合、処理が終了される。
【0179】
図17を用いて説明した処理により、監視プログラム211によってメモリースティックスロット133にメモリースティックが装着されている状態であるか否かが検出され、ハードウェアバススイッチ132のオンオフが決定されて、ハードウェアバススイッチ常時接続モードから、通常監視モードに設定が変更される。
【0180】
以上説明した処理により、メモリースティックスロット133が実際に動作している(使用されている)か否か、すなわち、メモリースティックが装着されているか否かが検出される。そして、その検出結果を基に、USBホストコントローラ68に、メモリースティックスロット133が接続されていること、もしくは、メモリースティックスロット133が接続されていないことを検出させるために、ハードウェアバススイッチ132のオンオフが制御される。従って、簡単な構成で、確実に、制御基板上に設けられたUSBデバイスであるメモリースティックスロット133が実際に使用されていない場合に、メモリースティックスロット133を取り外すことなく、USBホストコントローラ68に、メモリースティックスロット133が接続されていないことを検出させることが可能となる。
【0181】
このため、USBホストコントローラ68に他のUSBデバイスが接続されていない状態で、メモリースティックスロット133が実際に使用されていない場合には、USBホストコントローラ68は、CPU51に対する割り込み処理を行わないので、CPU51は、低消費電力モードに移行することが可能となる。
【0182】
更に、メモリースティックスロット133が実際に使用されていない場合、メモリースティックスロット133は、電気的に切断されるので、メモリースティックスロット133に対する電源の供給も中止される。従って、装置全体の消費電力が低減される。
【0183】
なお、第2の実施の形態においては、第1の実施の形態を用いて説明した場合と比較して、CPU51とEC130のCPU72との情報の授受を必要としない。本発明は、CPU51およびCPU72の処理能力などによって、適した形態を用いて実現することが可能である。
【0184】
また、第2の実施の形態において、EC130のCPU72が実行するとして説明した処理を、CPU51に実行させるようにしても良い。
【0185】
なお、本発明の第1の実施の形態、および第2の実施の形態においては、所定のピンの電位を検出することによって、メモリースティックスロット133にメモリースティックが装着されているか否かが検出されたが、例えば、機械的なスイッチや、光学センサ、その他の手段を用いて、メモリースティックが装着されているか否かを検出することができるのは言うまでもない。
【0186】
また、第1の実施の形態および第2の実施の形態においては、USBデバイスとして、メモリースティックスロット133を用いて説明したが、メモリースティック以外のデバイスを装着するためのスロットが基板上に設けられている場合や、他のUSBデバイスが、直接基板に接続されている場合など、あらゆる取り外し不可能なUSBデバイスが設けられている場合において、本発明を適用することが可能である。
【0187】
例えば、いわゆるメディアカードと称されるSDメモリーカード(商標)や、スマートメディア(商標)、あるいは、コンパクトフラッシュ(登録商標)などをはじめとする各種半導体メモリ、あるいは、これらの半導体メモリにコントローラモジュールを内蔵させた記憶装置を装着するためのスロットを、基板上に設けた場合においても、本発明は適用可能である。
【0188】
それ以外にも、例えば、LAN(Local area network)などの各種ネットワークを構築するためのネットワークカード、Bloothoothなどを利用した無線通信カードを装着するためのスロットを、基板上に設けた場合においても、本発明は適用可能である。あるいは、ネットワークカードや無線通信カードなどと同様の処理を実行可能でカードの形状を持たないネットワークモジュールもしくは無線通信モジュールなどが、予め制御基板に設けられている場合においても、それらのモジュールが使用状態であるか否かを検出し、その検出結果を基に、ハードウェアバススイッチをオンオフ制御することにより、同様の効果を得ることが可能であることは言うまでもない。
【0189】
更に、GPS(Global Positioning System)衛星からの電波を受信するGPSカード(モジュール)、例えばCCD(Charge-Coupled Devices)などを内蔵することによって、画像を撮像することが可能なカメラカード(モジュール)、指紋の画像情報を撮像するためのCCDおよび指を触れるための窓などを有し、指紋情報を取得することが可能な指紋照合カード(モジュール)など、さまざまな処理を実行することが可能なモジュール、あるいはカードを装着するためのスロットを、基板上に設けた場合においても、本発明は適用可能である。
【0190】
また、USBデバイス以外にも、所定の着脱可能なデバイスを装着もしくは接続するためのコネクタやスロットなどにおいても、本発明を適用可能である。
【0191】
また、第1の実施の形態および第2の実施の形態においては、パーソナルコンピュータ1を例として説明したが、例えば、PDA(Personal Digital(Data) Assistants)、携帯型電話機、PHS(Personal Handyphone System)、あるいは、カーナビゲーションシステムを始めとして、USBデバイスを接続することが可能なさまざまな装置において、本発明は適用可能である。
【0192】
上述した一連の処理を実行させるためのソフトウェアは、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。
【0193】
この記録媒体は、図5に示すように、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク121(フレキシブルディスクを含む)、光ディスク122(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク123(MD(Mini-Disk)(商標)を含む)、もしくは半導体メモリ124などよりなるパッケージメディアなどにより構成される。
【0194】
また、本明細書において、プログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0195】
【発明の効果】
本発明の一側面の情報処理装置、および、情報処理方法、並びにプログラムによれば、 1 のデバイスが使用されている状態であるか否かに基づいて、第 1 のデバイスとデバイス制御部との接続の切り替えが制御され、デバイス制御部においては、いずれかのデバイスとの接続が検出されたとき、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御手段(処理制御部)への割り込み信号が送出される。これにより、例えば、コントローラにUSB機器が接続されている場合に主制御装置に対して割り込み処理を行うようになされている装置において、他にUSB機器が接続されていないときに、不必要な割り込み処理を行わせないようにすることが出来るので、主制御装置が低電力モードに移行することが可能になる。また、スロットが使用されていない状態において、スロットが電気的に切断されるので、スロットに対して不必要な電力供給を行わないようにすることが出来る。
【図面の簡単な説明】
【図1】図1のパーソナルコンピュータの外観斜視図である。
【図2】図1のパーソナルコンピュータの本体の平面図である。
【図3】図1のパーソナルコンピュータのジョグダイヤル付近の拡大図である。
【図4】図1のパーソナルコンピュータの右側面の構成を示す右側面図である。
【図5】図1のパーソナルコンピュータの内部の構成例を示すブロック図である。
【図6】本発明の第1の実施の形態について説明するための機能ブロック図である。
【図7】メモリースティック装着検出処理1について説明するためのフローチャートである。
【図8】メモリースティック抜去検出処理1について説明するためのフローチャートである。
【図9】設定変更処理1について説明するためのフローチャートである。
【図10】メモリースティック装着/抜去検出処理について説明するためのフローチャートである。
【図11】設定変更処理2について説明するためのフローチャートである。
【図12】設定変更処理2について説明するためのフローチャートである。
【図13】本発明の第2の実施の形態について説明するための機能ブロック図である。
【図14】メモリースティック装着検出処理2について説明するためのフローチャートである。
【図15】メモリースティック抜去検出処理2について説明するためのフローチャートである。
【図16】設定変更処理3について説明するためのフローチャートである。
【図17】設定変更処理4について説明するためのフローチャートである。
【符号の説明】
1 パーソナルコンピュータ, 51 CPU, 68 USSBホストコントローラ, 72 EC, 74 バッテリ, 131 USBバス, 132 ハードウェアバススイッチ, 133 USBメモリースティックスロット, 201 パワーパネル, 203,211 監視プログラム
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to an information processing apparatus, an information processing method, and a program.An interrupt signal sent to a processing control means (processing control unit) in which a low power consumption mode that can be shifted according to the number of interrupt signals supplied for a predetermined time is determined based on the usage state of a predetermined device. It has been made to be as small as possible,The present invention relates to an information processing device, an information processing method, and a program.
[0002]
[Prior art]
In a personal computer capable of connecting a USB (Universal Serial Bus) device, a connection port of the USB device is connected to a USB host controller. When a USB device is connected to a connection port of a USB device (a USB connector is connected), the USB host controller is connected to a CPU (Central Processing Unit), for example, 3000 to 4000 times per second ( (Depending on personal computer) Interrupt processing is executed.
[0003]
In addition, in a small personal computer that can be driven by a battery, the user can freely carry it and use it in an arbitrary place for as long a time as possible. It has been demanded. Therefore, as disclosed in Japanese Patent Laid-Open No. 2000-10907, there is a technique for stopping the function of the USB host controller when a USB device is not connected to a USB port (not connected to a connector). According to this technology, it is possible to extend the operating time when the battery is driven while suppressing unnecessary power consumption of the USB host controller.
[0004]
[Problems to be solved by the invention]
In a personal computer, for example, when a USB device such as a slot for mounting a storage device is connected to a USB host controller and provided on the control board in advance, the USB device should be removed. Therefore, the USB host controller is always connected. Therefore, since the USB host controller always detects the USB device on the board regardless of whether the USB device is used or not, the CPU performs interrupt processing, for example, 3000 to 4000 times per second for the CPU. Execute.
[0005]
The CPU is provided with a plurality of operation modes in order to reduce power consumption. For example, in Pentium (registered trademark) II or Pentium (registered trademark) III, there are four operation modes of C0, C1, C2, and C3. Although C0 is operating at full speed, C1 is a mode called AutoHALT, C2 is a QuickStart mode, C3 is a DeepSleep mode, and C2 is less power than C1 and C3 is less power than C2. In order for the CPU to enter the C3 mode, the frequency of interruption to the CPU must be less than about 200 times per second, for example, depending on the type of CPU and the form of the surrounding system.
[0006]
Therefore, when the USB device is provided on the control board, the CPU cannot change the state to the low power consumption mode (for example, C3 status).
[0007]
  The present invention has been made in view of such a situation,An interrupt signal sent to a processing control means (processing control unit) in which a low power consumption mode that can be shifted according to the number of interrupt signals supplied for a predetermined time is determined based on the usage state of a predetermined device. It is to be able to reduce as much as possible.
[0008]
[Means for Solving the Problems]
An information processing apparatus according to an aspect of the present invention is an information processing apparatus that includes a device control unit that controls transmission and reception of information with a predetermined device connected, and a first device, and is executed in the information processing apparatus. Processing control means for controlling at least a part of the processing to be performed and in which a low power consumption mode capable of transitioning according to the number of interrupt signals supplied for a predetermined time is defined; a device control unit; and a first device Switching means for switching between electrical connection and disconnection with the device, detection means for detecting whether or not the first device is in use, and a device control unit by the switching means based on the detection result by the detection means And control means for controlling switching between electrical connection and disconnection between the first device and the first device, wherein the device control unit includes any device including the first device; When detecting the connection, and sends an interrupt signal to the processing control means at predetermined intervals.
[0011]
The first device can be connected to another second device, and the detection means is based on whether or not the second device is attached to the first device. Thus, it is possible to detect whether or not the first device is being used.
[0013]
  Detection means includePotential of a predetermined terminal for electrical connection with a second device provided in the first deviceOn the basis of the,First 1 DevicesIt can be made to detect whether it is the state currently used.
[0014]
  An input unit that receives an input of a user operation and a control unit based on the user operation input by the input unitControl of switching of electrical connection by switching meansCan be further provided with setting means for setting to a constantly connected state.
[0015]
  Device controllerIsFirst deviceConnect using USB standardDevice controller that can beCan be a USB host controller.
[0016]
An information processing method according to one aspect of the present invention includes a device control unit that controls transmission / reception of information to / from a connected predetermined device, a first device, an electrical connection between the device control unit and the first device, and A switching unit that switches disconnection and a low power consumption mode that controls at least a part of processing executed in the information processing apparatus and that can transition according to the number of interrupt signals supplied during a predetermined time period are defined. An information processing method for an information processing apparatus having a processing control unit, 1 A detection step for detecting whether or not the device is in use, and electrical connection and disconnection between the device control unit and the first device by the switching unit based on the detection result by the processing of the detection step When the device control unit detects connection with any device including the first device, the device control unit sends an interrupt signal to the processing control unit at a predetermined interval.
[0017]
An information processing method according to one aspect of the present invention includes a device control unit that controls transmission / reception of information to / from a connected predetermined device, a first device, an electrical connection between the device control unit and the first device, and A switching unit that switches disconnection and a low power consumption mode that controls at least a part of processing executed in the information processing apparatus and that can transition according to the number of interrupt signals supplied during a predetermined time period are defined. A program that can be executed by a computer that controls an information processing apparatus including a processing control unit; 1 A detection step for detecting whether or not the device is in use, and electrical connection and disconnection between the device control unit and the first device by the switching unit based on the detection result by the processing of the detection step A control step for controlling switching, and when the device control unit detects a connection with any device including the first device, the device executes a process of sending an interrupt signal to the process control unit at a predetermined interval Let
[0019]
In the information processing apparatus, the information processing method, and the program according to one aspect of the present invention, the information processing apparatus includes the first device, and the device control unit controls transmission / reception of information with a predetermined connected device. A processing control means (processing control unit) in which a low power consumption mode in which at least a part of processing executed in the information processing apparatus can transition according to the number of interrupt signals supplied in a predetermined time is defined When a connection with any device including the first device is detected in the device control unit, an interrupt signal is sent to the processing control unit (processing control unit) at a predetermined interval, and the device control unit Based on the detection result of whether or not the first device is in use, the electrical connection and disconnection with the first device is switched. Controller and switching of the electrical connection and disconnection of the first device is controlled.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0022]
1 to 4 show the appearance of the personal computer 1.
[0023]
The personal computer 1 basically includes a main body 21 and a display unit 22 that can be opened and closed with respect to the main body 21. FIG. 1 is an external perspective view showing a state in which the display unit 22 is opened with respect to the main body 21. FIG. 2 is a plan view of the main body 21, and FIG. FIG. 4 is a side view of the jog dial 23 provided on the main body 21.
[0024]
The main body 21 includes a keyboard 24 operated when inputting various characters and symbols, a touch pad 26 as a pointing device operated when moving a pointer (mouse cursor) displayed on the LCD 25, and a power source. A switch 27 is provided on the upper surface. A jog dial 23 and an IEEE (Institute of Electrical and Electronics Engineers) 1394 port 28 are provided on the side of the main body 21. Instead of the touch pad 26, a stick-type pointing device can be provided.
[0025]
Further, an LCD (Liquid Crystal Display) 25 for displaying an image is displayed on the front of the display unit 22, and a power lamp PL, a battery lamp BL, and a message lamp ML (not shown) provided as necessary on the upper right part. A lamp made of other LEDs is provided. Furthermore, an imaging unit 30 having a CCD video camera 29 equipped with a CCD (solid-state imaging device) and a microphone 31 are provided in the upper central portion of the display unit 22. A shutter button 32 for operating the CCD video camera 29 is provided on the upper right side of the main body 21 in FIG.
[0026]
The imaging unit 30 is fixed to the display unit 22 so as to be rotatable. For example, the imaging unit 30 is capable of imaging the same direction as the line of sight of the user operating the personal computer 1 from a position where the CCD video camera 29 can image the user operating the personal computer 1 by user operation. Is rotated.
[0027]
Next, the jog dial 23 has, for example, the upper surface between the key A and the key B arranged on the right side of the keyboard 24 on the main body 21 in FIG. It is attached as follows. The jog dial 23 executes a predetermined process (for example, a screen scrolling process) corresponding to the rotation operation indicated by the arrow a in FIG. 3, and a process (for example, a process corresponding to the moving operation indicated by the arrow b in FIG. 3) Execute icon selection decision processing).
[0028]
The IEEE1394 port 28 has a structure based on the standard defined in IEEE1394, and a cable based on the standard defined in IEEE1394 is connected to the IEEE1394 port 28.
[0029]
Next, an internal configuration example of the personal computer 1 will be described with reference to FIG.
[0030]
The central processing unit (CPU) 51 is composed of, for example, a Pentium (registered trademark) processor manufactured by Intel, and is connected to the host bus 52. Further, a bridge 53 (so-called north bridge) is connected to the host bus 52, and the bridge 53 has an AGP (Accelerated Graphics Port) 50 and a PCI (Peripheral Component Interconnect / Interface) bus 56. It is connected to the.
[0031]
The bridge 53 is configured by, for example, 440BX, which is an AGP Host Bridge Controller manufactured by Intel, and controls a CPU 51 and a RAM (Random Access Memory) 54 (so-called main memory). Further, the bridge 53 controls the video controller 57 via the AGP 50. The bridge 53 and the bridge (so-called south bridge (PCI-ISA Bridge)) 58 constitute a so-called chip set.
[0032]
The bridge 53 is further connected to a cache memory 55. The cache memory 55 is configured by a memory that can execute a higher-speed write or read operation than the RAM 54 such as an SRAM (Static RAM), and caches (temporarily stores) a program or data used by the CPU 51. .
[0033]
Note that the CPU 51 has a cache that can operate at a higher speed than the cache memory 55 that is primary, and that is controlled by the CPU 51 itself.
[0034]
The RAM 54 is composed of, for example, a DRAM (Dynamic RAM), and stores a program executed by the CPU 51 or data necessary for the operation of the CPU 51. Specifically, the RAM 54 is loaded from the HDD 67 at a predetermined timing, for example, an e-mail program 54A, an autopilot program 54B, a jog dial state monitoring program 54C, a jog dial driver 54D, an operating program (OS) 54E, and a communication program. 54F, web browser 54G, and other application programs 54H (including power panel 201 and driver 202 described later) are stored.
[0035]
The electronic mail program 54 </ b> A is a program for exchanging communication text (electronic mail) via the modem 75, the public line network 5, the Internet service provider 7, the electronic mail server 9, and the Internet 6.
[0036]
The autopilot program 54B is a program for sequentially starting and processing a plurality of preset processes (or programs) in a preset order.
[0037]
The jog dial state monitoring program 54C receives a notification from each application program as to whether or not it corresponds to the jog dial 23, and if the corresponding application corresponds to the jog dial 23, what is done by operating the jog dial 23? The LCD 25 displays whether it can be performed.
[0038]
The jog dial state monitoring program 54C also detects an event of the jog dial 23 (an operation in which the jog dial 23 is rotated in the direction indicated by the arrow a in FIG. 3 or pressed in the direction indicated by the arrow b in FIG. 3). Execute the process corresponding to the detected event. The jog dial driver 54D executes various functions in response to operations of the jog dial 23.
[0039]
The OS (Operating System) 54E is, for example, a so-called Windows (registered trademark) 95, Windows (registered trademark) 98, Windows (registered trademark) 2000, or Windows (registered trademark) ME of Microsoft Corporation, or a so-called Mac of Apple Computer Corporation. It is a program for controlling basic operations of a computer, typified by OS (registered trademark).
[0040]
The communication program 54F executes processing for peer-to-peer communication and controls the e-mail program 54A to establish the communication connection so that an e-mail attached with the IP address of the personal computer 1 is sent to the communication partner. Or an IP address is acquired from a predetermined e-mail transmitted from a communication partner.
[0041]
The communication program 54F also controls the web browser 54G to perform communication based on the function of the web browser 54G.
[0042]
The web browser 54G executes processing for browsing data of a predetermined web page (displaying on the display unit 22) according to control by the communication program 54F.
[0043]
The application program 54H includes, for example, various application programs and drivers such as a power panel 201 and a driver 202 described later. Processing of the power panel 201 and the driver 202 will be described later.
[0044]
The video controller 57 is connected to the bridge 53 via the AGP 50, receives data (image data or text data) supplied from the CPU 51 via the AGP 50 and the bridge 53, and receives an image corresponding to the received data. Data is generated, and the generated image data or received data is stored as it is in a built-in video memory. The video controller 57 causes the LCD 25 of the display unit 22 to display an image corresponding to the image data stored in the video memory.
[0045]
Further, the video controller 57 supplies the video data supplied from the CCD video camera 29 to the RAM 54 via the PCI bus 56.
[0046]
A sound controller 64 is connected to the PCI bus 56. The sound controller 64 takes in sound from the microphone 31, generates data corresponding to the sound, and outputs the data to the RAM 54. The sound controller 64 drives the speaker 65 and causes the speaker 65 to output sound.
[0047]
A modem 75 is connected to the PCI bus 56. The modem 75 is connected to the public line network 5 and executes communication processing via the public line network 5 or the Internet 6.
[0048]
The PC card slot interface 111 is connected to the PCI bus 56 and supplies the data supplied from the interface card 112 installed in the slot 33 to the CPU 51 or the RAM 54 and outputs the data supplied from the CPU 51 to the interface card 112. To do. The drive 113 is connected to the PCI bus 56 via the PC card slot interface 111 and the interface card 112.
[0049]
The drive 113 reads data recorded in the mounted magnetic disk 121, optical disk 122, magneto-optical disk 123, or semiconductor memory 124, and reads the read data to the interface card 112, PC card slot interface 111, and PCI. The data is supplied to the RAM 54 via the bus 56. In addition, data generated by the processing of the CPU 51 can be stored in the magnetic disk 121, the optical disk 122, the magneto-optical disk 123, or the semiconductor memory 124 that is mounted on the drive 113.
[0050]
A bridge 58 (so-called south bridge) is also connected to the PCI bus 56. The bridge 58 is configured by, for example, PIIX4E manufactured by Intel Corporation, and incorporates an IDE (Integrated Drive Electronics) controller / configuration register 59, an IDE interface 61, a USB host controller 68, and the like. The bridge 58 controls various devices such as devices connected to the IDE bus 62 or devices connected via an ISA / EIO (Industry Standard Architecture / Extended Input Output) bus 63 or an I / O interface 69. Control (Input / Output).
[0051]
A USB port 107 is connected to the USB host controller 68 of the bridge 58 so that various USB devices can be connected, and a USB memory stick slot 133 is provided on the board via the USB bus 131. The USB bus 131 is provided with a hardware bus switch (S / W) 132. The hardware bus switch 132 is turned on / off by a control signal supplied from the EC 130 and electrically connects or disconnects the USB bus 131.
[0052]
The USB host controller 68 is connected when the USB device is connected to the USB port 107 or when the USB host controller 68 is electrically connected to the USB memory stick slot 133 via the USB bus 131 (that is, the hardware bus switch 132 is connected). If the USB device is connected to the CPU 51, the CPU 51 executes, for example, 3000 to 4000 interrupt processes per second. In this case, the CPU 51 cannot change the state to the low power consumption mode (for example, C3 status).
[0053]
Here, the CPU 51 is described as having four operation modes of C0, C1, C2, and C3. However, the number of interrupts corresponding to each of these operation modes depends on the CPU and the surrounding system. This is not the case because it is different.
[0054]
Here, C0 is operating at full speed, but C1 is in AutoHALT mode, C2 is in QuickStart mode, C3 is in DeepSleep mode. To do. By changing the state to such a low power consumption mode, the duration of the battery 74 can be extended. Which of the states C0 to C3 the CPU 51 takes is determined by the state of processing executed by the CPU 51. For example, in order to enter the C3 mode, the interrupt to the CPU 51 is about 200 times per second. Will be described as having to be less frequent.
[0055]
The hardware bus switch 132 is, for example, a mechanical relay switch such as a PCB (Print Circuit Board) relay, a reed relay, or a wet relay, a semiconductor relay such as a triac, a thyristor, a photo MOS relay, or a photo coupler, or a semiconductor It consists of switches. The hardware bus switch 132 may be an a-contact (normally open) or a b-contact (normally closed). However, considering the operation at the time of failure, the hardware bus switch 132 is preferably a b-contact.
[0056]
The IDE controller / configuration register 59 includes two IDE controllers, a so-called primary IDE controller and a secondary IDE controller, a configuration register, and the like (both not shown).
[0057]
An HDD 67 is connected to the primary IDE controller via an IDE bus 62. Further, when a so-called IDE device such as a CD ROM drive or HDD (not shown) is attached to the other IDE bus, the attached IDE device is electrically connected to the secondary IDE controller.
[0058]
The HDD 67 records an electronic mail program 67A, an autopilot program 67B, a jog dial status monitoring program 67C, a jog dial driver 67D, OS 67E, a communication program 67F, a web browser 67G, and other application programs 67H.
[0059]
The e-mail program 67A to the application program 67H and the like recorded in the HDD 67 are appropriately loaded into the RAM 54.
[0060]
An I / O interface 69 is further connected to the ISA / EIO bus 63. The I / O interface 69 includes an EC (Embedded Controller) 130, in which a ROM 70, a RAM 71, and a CPU 72 are connected to each other.
[0061]
The ROM 70 stores in advance an IEEE1394 interface program 70A, an LED control program 70B, a touchpad input monitoring program 70C, a key input monitoring program 70D, a wakeup program 70E, a jog dial state monitoring program 70F, a monitoring program 70G, and the like. The CPU 72 executes the IEEE1394 interface program 70A to the monitoring program 70G.
[0062]
The IEEE1394 interface program 70A transmits and receives data (data stored in a packet) conforming to the IEEE1394 standard via the IEEE1394 port 28. The LED control program 70B controls the lighting of the power lamp PL, the battery lamp BL, the message lamp ML provided as necessary, or other LED lamps. The touch pad input monitoring program 70C is a program for monitoring an input from the touch pad 26 corresponding to the user's operation.
[0063]
The key input monitoring program 70D is a program for monitoring input from the keyboard 24 or other key switches. The wake-up program 70E checks whether or not a preset time has been reached based on data indicating the current time supplied from a timer circuit (not shown) of the bridge 58, and has reached the preset time. At this time, it is a program that manages the power supply of each chip constituting the personal computer 1 in order to start a predetermined process (or program) or the like. The jog dial state monitoring program 70F is a program for constantly monitoring whether or not the rotary encoder of the jog dial 23 has been rotated or whether or not the jog dial 23 has been pressed.
[0064]
The monitoring program 70G monitors whether the potential of a predetermined pin (pin number is n) among the 10 pins of the USB memory stick slot 133 is Hi or Low, and details of the processing will be described later. To do.
[0065]
A memory stick (trademark) can be mounted in the USB memory stick slot 133. Memory Stick is a type of flash memory card developed by Sony Corporation, the applicant of the present application. This Memory Stick 131 is an EEPROM (Electrically Erasable and Programmable Read Only Memory) that is a non-volatile memory that can be electrically rewritten and erased in a small and thin plastic case with a length of 21.5 x width 50 x thickness 2.8 [mm]. A flash memory element is stored, and various data such as images, sounds, music, and the like can be written and read via a 10-pin terminal. In addition, the nth pin among the 10 pins of the USB memory stick slot 133 is connected to the EC 130 via the signal line 134. Based on the potential of the signal line 134, the monitoring program 70G monitors whether the potential of the nth pin of the USB memory stick slot 133 is Hi or Low.
[0066]
In addition, a BIOS (Basic Input / Output System) 70H is written in the ROM 70. The BIOS 70H controls data exchange (input / output) between the OS or application program and peripheral devices (touchpad 26, keyboard 24, HDD 67, etc.).
[0067]
The RAM 71 includes registers for LED control, touchpad input status, key input status, or set time, jog dial state monitoring I / O register, IEEE1394 I / F register, or monitoring register as registers 71A to 71G. Have. For example, when the jog dial 23 is pressed and the e-mail program 54A is activated in the LED control register, a predetermined value is stored, and lighting of the message lamp ML is controlled in accordance with the stored value. The The key input status register stores a predetermined operation key flag when the jog dial 23 is pressed. A predetermined time is set in the set time register in response to an operation of the keyboard 24 or the like by the user.
[0068]
The I / O interface 69 is connected to the jog dial 23, the touch pad 26, the keyboard 24, the IEEE1394 port 28, the shutter button 32, and the like via a connector (not shown). The jog dial 23, the touch pad 26, the keyboard 24 or a signal corresponding to an operation on each shutter button 32 is output to the ISA / EIO bus 63. The I / O interface 69 controls transmission / reception of data to / from a device connected via the IEEE1394 port 28. Furthermore, the I / O interface 69 is connected to a power lamp PL, a battery lamp BL, a message lamp ML, a power control circuit 73, and other lamps composed of LEDs.
[0069]
The power control circuit 73 is connected to a built-in battery 74 or an AC power supply, supplies necessary power to each block, and performs control for charging the built-in battery 74 or a second battery of a peripheral device. The I / O interface 69 monitors the power switch 27 that is operated when the power is turned on or off.
[0070]
The I / O interface 69 executes the IEEE1394 interface program 70A to the jog dial state monitoring program 70F with the power supply provided therein even when the power is off. That is, the IEEE1394 interface program 70A to the jog dial state monitoring program 70F are always operating.
[0071]
Therefore, even when the power switch 27 is off and the CPU 51 is not executing the OS 54E, the I / O interface 69 executes the jog dial state monitoring program 70F. For example, in the power saving state or the power off state, the jog dial When the button 23 is pressed, the personal computer 1 starts processing of predetermined software or script file set in advance.
[0072]
Thus, in the personal computer 1, since the jog dial 23 has the programmable power key (PPK) function, it is not necessary to provide a dedicated key.
[0073]
FIG. 6 is a functional block diagram showing a first embodiment for explaining processing for detecting whether a memory stick is attached or removed.
[0074]
The power panel 201 is an application on the OS 54E, and performs power management based on an operation input by a user or an event or a message input from the monitoring program 203 via the driver 202. .
[0075]
The driver 202 is a driver for communicating the power panel 201, which is an application on the OS 54E, and a monitoring program 203, which will be described later, which is an application executed by the CPU 72 of the EC 130.
[0076]
The power panel 201 and the driver 202 are executed by the CPU 51.
[0077]
The monitoring program 203 corresponds to the monitoring program 70G described with reference to FIG. 5, and determines whether the signal of the nth pin input from the USB memory stick slot 133 is Hi or Low via the driver 202. The hardware bus switch 132 is switched on and off in accordance with a control signal output to the power panel 201 or input from the power panel 201 via the driver 202. The monitoring program 203 is executed by the CPU 72 of the EC 130.
[0078]
When the USB host controller 68 is electrically connected to any one of the USB devices, the CPU 51 executes interrupt processing about 3000 to 4000 times per second, for example. In this case, the CPU 51 cannot change the state to the low power consumption mode (for example, C3 status).
[0079]
When the hardware bus switch 132 is turned on, the USB host controller 68 and the USB memory stick slot 133 are electrically connected via the USB bus 131. That is, since the USB host controller 68 detects the USB memory stick slot 133 as a USB device, even if no other USB device is connected, the USB host controller 68 executes an interrupt process for the CPU 51.
[0080]
When the hardware bus switch 132 is turned off, the USB host controller 68 and the USB memory stick slot 133 are electrically disconnected via the USB bus 131. That is, since the USB host controller 68 does not detect the USB memory stick slot 133 as a USB device, no interrupt process for the CPU 51 is executed unless another USB device is connected.
[0081]
Next, the memory stick attachment detection process 1 will be described with reference to the flowchart of FIG.
[0082]
Note that the monitoring program 203 detects that the memory stick is not mounted in the memory stick slot 133 in the initial state, and therefore controls the hardware bus switch 132 to be turned off.
[0083]
In step S <b> 1, the monitoring program 203 determines whether or not a change in the potential of the nth pin of the memory stick slot 133, that is, a change in potential from Hi to Low is detected. Here, it is assumed that the potential of the nth pin is Hi when the memory stick is not attached, and that the potential of the nth pin is Low when the memory stick is attached. The logic of the second pin may be reversed. If it is determined in step S1 that no change in the potential of the nth pin has been detected, the process in step S1 is repeated until it is determined that a change in the potential of the nth pin has been detected.
[0084]
If it is determined in step S <b> 1 that a change in the potential of the n-th pin has been detected, the monitoring program 203 detects in step S <b> 2 that the memory stick has been installed in the memory stick slot 133.
[0085]
In step S <b> 3, the monitoring program 203 notifies the power panel 201 of the memory stick attachment event via the driver 202.
[0086]
In step S <b> 4, the power panel 201 notifies the monitoring program 203 via the driver 202 of an event that instructs the hardware bus switch 132 to be turned on.
[0087]
In step S <b> 5, the monitoring program 203 receives an event that instructs the hardware bus switch 132 to be turned on from the power panel 201 via the driver 202.
[0088]
In step S <b> 6, the monitoring program 203 outputs a control signal for turning on the hardware bus switch 132 to the hardware bus switch 132.
[0089]
In step S <b> 7, the hardware bus switch 132 changes the state from the off state to the on state according to the control signal output by the monitoring program 203, and electrically connects the USB bus 131.
[0090]
In step S7, since the USB bus 131 is electrically connected, the USB host controller 68 and the memory stick slot 133 are electrically connected. Accordingly, in step S8, the USB host controller 68 detects the presence of the memory stick slot 133, and the process is terminated.
[0091]
The USB host controller 68 detects that the memory stick slot 133 is not electrically connected, that is, that the memory stick slot 133 is not present in a state where the memory stick is not attached to the memory stick slot 133. That is, if no other USB device is connected, the interrupt processing to the CPU 51 that is executed when the memory stick slot 133 is connected is not executed, so the CUP 51 can transition to the low power consumption mode. It is.
[0092]
When the memory stick is inserted into the memory stick slot 133 by the process described with reference to FIG. 7, the hardware bus switch 132 is changed from the off state to the on state by the process of the monitoring program 203, so that the USB host controller 68 detects the presence of a memory stick slot 133. Therefore, even if the memory stick slot 133 is mounted on the board, the USB host controller 68 can detect the presence of the memory stick slot 133 only when the memory stick is mounted in the memory stick slot 133. Accordingly, since the USB host controller 68 does not need to execute extra interrupt processing for the CPU 51, the CPU 51 can shift to the low power consumption mode and can suppress power consumption. The drive time using the battery 74 can be extended.
[0093]
Next, the memory stick removal detection process 1 will be described with reference to the flowchart of FIG.
[0094]
Since the monitoring program 203 detects a state in which the memory stick is mounted in the memory stick slot 133 in the initial state, the monitoring program 203 performs control so that the hardware bus switch 132 is turned on.
[0095]
In step S21, the monitoring program 203 determines whether or not a change in the potential of the nth pin of the memory stick slot 133, that is, a change in potential from Low to Hi is detected. Here, it is assumed that the potential of the nth pin is Hi when the memory stick is not attached, and that the potential of the nth pin is Low when the memory stick is attached. The logic of the second pin may be reversed. If it is determined in step S21 that a change in the potential of the nth pin has not been detected, the process of step S21 is repeated until it is determined that a change in the potential of the nth pin has been detected.
[0096]
If it is determined in step S21 that a change in the potential of the nth pin has been detected, the monitoring program 203 detects removal of the memory stick from the memory stick slot 133 in step S22.
[0097]
In step S <b> 23, the monitoring program 203 notifies the power panel 201 of the memory stick removal event via the driver 202.
[0098]
In step S <b> 24, the power panel 201 notifies the monitoring program 203 via the driver 202 of an event that instructs the hardware bus switch 132 to be turned off.
[0099]
In step S <b> 25, the monitoring program 203 receives an event that instructs the hardware bus switch 132 to be turned off from the power panel 201 via the driver 202.
[0100]
In step S <b> 26, the monitoring program 203 outputs a control signal for turning off the hardware bus switch 132 to the hardware bus switch 132.
[0101]
In step S27, the hardware bus switch 132 changes the state from the on state to the off state in accordance with the control signal output by the monitoring program 203, and electrically disconnects the USB bus 131.
[0102]
In step S27, since the USB bus 131 is electrically disconnected, the USB host controller 68 and the memory stick slot 133 are electrically disconnected. Accordingly, in step S28, the USB host controller 68 detects the absence of the memory stick slot 133, and the process is terminated.
[0103]
The USB host controller 68 is electrically connected to the memory stick slot 133 and detects the presence of the memory stick slot 133 when the memory stick is inserted in the memory stick slot 133. That is, the USB host controller 68 executes an interrupt process to the CPU 51 when the memory stick slot 133 is connected even if no other USB device is connected, so the CUP 51 shifts to the low power consumption mode. It becomes impossible.
[0104]
When the memory stick is removed from the memory stick slot 133 by the process described with reference to FIG. 8, the hardware bus switch 132 is changed from the on state to the off state by the process of the monitoring program 203. 68 detects the absence of the memory stick slot 133. Therefore, the USB host controller 68 can detect the absence of the memory stick slot 133 when the memory stick is removed from the memory stick slot 133 even when the memory stick slot 133 is mounted on the board.
[0105]
Therefore, if no other USB device is connected to the USB host controller 68, the USB host controller 68 does not need to execute extra interrupt processing for the CPU 51, so the CPU 51 shifts to the low power consumption mode. Since the power consumption can be suppressed, for example, the driving time using the battery 74 can be extended.
[0106]
When the processing described with reference to FIGS. 7 and 8 is executed, on / off of the hardware bus switch 132 is controlled based on the detection result of insertion / extraction of the memory stick by the monitoring program 203. Accordingly, a certain time is required from when the memory stick is inserted into the memory stick slot 133 until the exchange of information between the memory stick and the USB host controller 68 is started. Therefore, when the processing described with reference to FIGS. 7 and 8 is executed, a response time is required as compared with the case where the memory stick slot 133 is always connected.
[0107]
Therefore, a user who prefers response time over power consumption can change the setting to a mode in which the memory stick slot 133 is always connected (that is, a mode in which the hardware bus switch 132 is always on). Can be.
[0108]
Next, the setting change process 1 for changing the setting from the normal monitoring mode for executing the process described with reference to FIGS. 7 and 8 to the hardware bus switch always connected mode will be described with reference to the flowchart of FIG. .
[0109]
For example, the user refers to a setting screen displayed on the LCD 25 and inputs an operation for changing the mode. In step S41, the power panel 201 receives a signal indicating a user operation input, and in step S42, whether or not an operation for changing the setting from the normal monitoring mode to the hardware bus switch continuous connection mode is input. Judging. If it is determined in step S42 that an operation for changing the setting from the normal monitoring mode to the hardware bus switch constant connection mode is not input, the operation is repeated until it is determined that an operation for changing the setting is input. The process of S42 is repeated.
[0110]
If it is determined in step S42 that an operation for changing the setting from the normal monitoring mode to the hardware bus switch always connection mode is input, the power panel 201 turns on the hardware bus switch 132 in step S43. An event to be commanded (setting change to the hardware bus switch always connection mode) is notified to the monitoring program 203 via the driver 202.
[0111]
In step S <b> 44, the monitoring program 203 receives an event that instructs the hardware bus switch 132 to be always on via the driver 202, and detects the state of the hardware bus switch 132.
[0112]
In step S45, the monitoring program 203 determines whether or not the hardware bus switch 132 is on.
[0113]
If it is determined in step S45 that the hardware bus switch 132 is not in the ON state, the monitoring program 203 sends a control signal for turning on the hardware bus switch 132 to the hardware bus switch 132 in step S46. Output.
[0114]
In step S47, the hardware bus switch 132 changes the state from the off state to the on state in accordance with the control signal output by the monitoring program 203, and electrically connects the USB bus 131.
[0115]
In step S47, since the USB bus 131 is electrically connected, the USB host controller 68 and the memory stick slot 133 are electrically connected. Accordingly, in step S48, the USB host controller 68 detects the presence of the memory stick slot 133, and the process is terminated.
[0116]
If it is determined in step S45 that the hardware bus switch 132 is in the on state, the USB host controller 68 is in the state of detecting the presence of the memory stick slot 133, so there is no need to change the state. Therefore, if it is determined in step S45 that the hardware bus switch 132 is in the ON state, the process is terminated.
[0117]
With the processing described with reference to FIG. 9, whether the USB host controller 68 detects the presence of the memory stick slot 133 or the absence of the memory stick slot 133 in the current state. The hardware bus switch 132 is fixed to the on state by the monitoring program 203, and the setting is changed to the hardware bus switch always connection mode.
[0118]
Next, with reference to the flowchart of FIG. 10, a description will be given of the memory stick insertion / removal detection process when the setting is the hardware bus switch always connection mode.
[0119]
In the processing described with reference to FIG. 10, in the initial state, the hardware bus switch 132 is fixed to the on state regardless of whether the memory stick is attached or not attached. Yes.
[0120]
In step S <b> 61, the monitoring program 203 determines whether a change in the potential of the nth pin of the memory stick slot 133 has been detected. If it is determined in step S61 that a change in the potential of the nth pin has not been detected, the process in step S61 is repeated until it is determined that a change in the potential of the nth pin has been detected.
[0121]
If it is determined in step S61 that a change in the potential of the nth pin has been detected, in step S62, the monitoring program 203 installs a memory stick in the memory stick slot 133 based on the change in the potential of the nth pin. Alternatively, the removal of the memory stick from the memory stick slot 133 is detected.
[0122]
In step S63, the monitoring program 203 notifies the power panel 201 of a memory stick attachment event or a memory stick removal event via the driver 202, and the process is terminated.
[0123]
When the setting is the hardware bus switch always connection mode, the insertion and removal of the memory stick is detected and notified to the power panel 201 by the processing described with reference to FIG. 10, but in this case, FIG. 7 and FIG. The response time is faster than when the processing described above is executed.
[0124]
Next, with reference to the flowcharts of FIGS. 11 and 12, the setting change process 2 in the case where the setting is changed from the hardware bus switch constant connection mode to the normal monitoring mode will be described.
[0125]
For example, the user refers to a setting screen displayed on the LCD 25 and inputs an operation for changing the mode. In step S71, the power panel 201 receives a signal indicating a user operation input. In step S72, whether or not an operation for changing the setting from the hardware bus switch continuous connection mode to the normal monitoring mode is input. Judging. If it is determined in step S72 that an operation for changing the setting from the hardware bus switch continuous connection mode to the normal monitoring mode is not input, the step is continued until it is determined that an operation for changing the setting is input. The process of S72 is repeated.
[0126]
In step S72, when it is determined that an operation for changing the setting from the hardware bus switch continuous connection mode to the normal monitoring mode is input, in step S73, the power panel 201 generates a setting change event to the normal monitoring mode. The monitoring program 203 is notified via the driver 202.
[0127]
In step S 74, the power panel 201 notifies the monitoring program 203 via the driver 202 of an event for inquiring whether or not the memory stick is installed in the memory stick slot 133.
[0128]
In step S75, the monitoring program 203 receives an inquiry event via the driver 202, and detects whether the potential of the nth pin is Hi or Low.
[0129]
In step S76, the monitoring program 203 determines whether or not the memory stick is attached based on the potential of the nth pin detected in step S75.
[0130]
If it is determined in step S76 that the memory stick is not attached, the monitoring program 203 returns a status indicating no memory stick to the power panel 201 via the driver 202 in step S77.
[0131]
In step S <b> 78, the power panel 201 notifies the monitoring program 203 of an event that instructs the hardware bus switch 132 to be turned off.
[0132]
In step S <b> 79, the monitoring program 203 receives an event instructing the hardware bus switch 132 to be turned off, generates a control signal for turning off the hardware bus switch 132, and outputs the control signal to the hardware bus switch 132. .
[0133]
In step S80, the hardware bus switch 132 changes the state from the on state to the off state in accordance with the control signal output by the monitoring program 203, and electrically disconnects the USB bus 131.
[0134]
In step S80, since the USB bus 131 is electrically disconnected, the USB host controller 68 and the memory stick slot 133 are electrically disconnected. Accordingly, in step S81, the USB host controller 68 detects the absence of the memory stick slot 133, and the process is terminated.
[0135]
If it is determined in step S76 that the memory stick is attached, in step S82, the monitoring program 203 returns the status with the memory stick to the power panel 201 via the driver 202, and the process is terminated.
[0136]
11 and 12, the monitoring program 203 detects whether or not the memory stick is mounted in the memory stick slot 133, and based on this state, the hardware bus switch 132 On / off is determined, and the setting is changed from the hardware bus switch continuous connection mode to the normal monitoring mode.
[0137]
FIG. 13 is a functional block diagram showing a second embodiment for explaining processing for detecting whether a memory stick is attached or removed. In addition, the same code | symbol is attached | subjected to the part corresponding to the case in FIG. 6, The description is abbreviate | omitted suitably.
[0138]
In the functional block diagram of FIG. 13, the monitoring program 211 does not exchange information with the program executed by the CPU 51 as in the power panel 201 in the first embodiment, and the memory stick is installed in the memory stick slot 133. It is possible to control whether the hardware bus switch 132 is on or off. In other words, in the second embodiment, the processing executed by the power panel 201 and the monitoring program 203 described in the first embodiment is executed only by the monitoring program 211.
[0139]
Next, the memory stick attachment detection process 2 will be described with reference to the flowchart of FIG.
[0140]
Since the monitoring program 211 detects a state in which the memory stick is not mounted in the memory stick slot 133 in the initial state, the monitoring program 211 performs control so that the hardware bus switch 132 is turned off.
[0141]
In step S91, the monitoring program 211 determines whether or not a change in the potential of the n-th pin of the memory stick slot 133, that is, a change in potential from Hi to Low is detected. Here, it is assumed that the potential of the nth pin is Hi when there is no memory stick, and the potential of the nth pin is Low when the memory stick is attached. The logic of may be reversed. If it is determined in step S91 that a change in the potential of the nth pin has not been detected, the process of step S91 is repeated until it is determined that a change in the potential of the nth pin has been detected.
[0142]
If it is determined in step S91 that a change in the potential of the nth pin has been detected, the monitoring program 211 detects in step S92 that a memory stick has been installed in the memory stick slot 133.
[0143]
In step S <b> 93, the monitoring program 211 outputs a control signal for turning on the hardware bus switch 132 to the hardware bus switch 132.
[0144]
In step S94, the hardware bus switch 132 changes the state from the off state to the on state in accordance with the control signal output by the monitoring program 211, and electrically connects the USB bus 131.
[0145]
In step S94, since the USB bus 131 is electrically connected, the USB host controller 68 and the memory stick slot 133 are electrically connected. Accordingly, in step S95, the USB host controller 68 detects the presence of the memory stick slot 133, and the process is terminated.
[0146]
The USB host controller 68 detects that the memory stick slot 133 is not electrically connected, that is, that the memory stick slot 133 is not present in a state where the memory stick is not attached to the memory stick slot 133. That is, since the interrupt process to the CPU 51 that is executed when the memory stick slot 133 is connected is not executed, the CUP 51 can make a transition to the low power consumption mode.
[0147]
14, when the memory stick is inserted into the memory stick slot 133, the hardware bus switch 132 is turned off by the processing of the monitoring program 211 as in the case described with reference to FIG. 7. Therefore, the USB host controller 68 detects the presence of the memory stick slot 133.
[0148]
Accordingly, as in the case described with reference to FIG. 7, the USB host controller 68 can be used only when the memory stick is mounted in the memory stick slot 133 even when the memory stick slot 133 is mounted on the board. The presence of the memory stick slot 133 can be detected. Therefore, when no memory stick is inserted in the memory stick slot 133 and no other USB device is connected to the USB host controller 68, the USB host controller 68 executes extra interrupt processing for the CPU 51. Since it becomes unnecessary, the CPU 51 can shift to the low power consumption mode and suppress power consumption. For example, it is possible to extend the driving time using the battery 74.
[0149]
Next, the memory stick removal detection process 2 will be described with reference to the flowchart of FIG.
[0150]
Since the monitoring program 211 detects a state in which the memory stick is mounted in the memory stick slot 133 in the initial state, the monitoring program 211 controls the hardware bus switch 132 to be turned on.
[0151]
In step S101, the monitoring program 211 determines whether or not a change in the potential of the n-th pin of the memory stick slot 133, that is, a change in potential from Low to Hi is detected. Here, it is assumed that the potential of the nth pin is Hi when there is no memory stick, and the potential of the nth pin is Low when the memory stick is attached. The logic of may be reversed. If it is determined in step S101 that a change in the potential of the nth pin has not been detected, the process in step S101 is repeated until it is determined that a change in the potential of the nth pin has been detected.
[0152]
If it is determined in step S101 that a change in the potential of the nth pin has been detected, the monitoring program 211 detects removal of the memory stick from the memory stick slot 133 in step S102.
[0153]
In step S <b> 103, the monitoring program 211 outputs a control signal for turning off the hardware bus switch 132 to the hardware bus switch 132.
[0154]
In step S <b> 104, the hardware bus switch 132 changes the state from the on state to the off state according to the control signal output by the monitoring program 211, and electrically disconnects the USB bus 131.
[0155]
In step S104, since the USB bus 131 is electrically disconnected, the USB host controller 68 and the memory stick slot 133 are electrically disconnected. Accordingly, in step S105, the USB host controller 68 detects the absence of the memory stick slot 133, and the process is terminated.
[0156]
The USB host controller 68 is electrically connected to the memory stick slot 133 and detects the presence of the memory stick slot 133 when the memory stick is inserted in the memory stick slot 133. That is, since the USB host controller 68 executes an interrupt process to the CPU 51 that is executed when the memory stick slot 133 is connected, the CUP 51 is in a state where it cannot transition to the low power consumption mode.
[0157]
15, when the memory stick is removed from the memory stick slot 133 by the processing described with reference to FIG. 8, the hardware bus switch 132 is turned on by the processing of the monitoring program 211. Therefore, the USB host controller 68 detects the absence of the memory stick slot 133. Accordingly, even when the memory stick slot 133 is mounted on the board, the USB host controller 68 can detect the absence of the memory stick slot 133 when the memory stick is removed from the memory stick slot 133. Therefore, when no memory stick is inserted in the memory stick slot 133 and no other USB device is connected to the USB host controller 68, the USB host controller 68 executes extra interrupt processing for the CPU 51. Since it becomes unnecessary, the CPU 51 can shift to the low power consumption mode and suppress power consumption. For example, it is possible to extend the driving time using the battery 74.
[0158]
When the processing described with reference to FIGS. 14 and 15 is executed, on / off of the hardware bus switch 132 is controlled based on the detection result of insertion / extraction of the memory stick by the monitoring program 211. Accordingly, a certain time is required from when the memory stick is inserted into the memory stick slot 133 until the exchange of information between the memory stick and the USB host controller 68 is started. A user who prefers response time over power consumption can change the setting in a mode in which the memory stick slot 133 is always connected (that is, a mode in which the hardware bus switch 132 is always on).
[0159]
Next, the setting change process 3 for changing the setting from the normal monitoring mode for executing the process described with reference to FIGS. 14 and 15 to the hardware bus switch always connected mode will be described with reference to the flowchart of FIG. .
[0160]
For example, the user refers to a setting screen displayed on the LCD 25 and inputs an operation for changing the mode. In step S111, the monitoring program 211 receives an input of a signal indicating a user operation input. In step S112, whether or not an operation for changing the setting from the normal monitoring mode to the hardware bus switch continuous connection mode is input. Judging. If it is determined in step S112 that an operation for changing the setting from the normal monitoring mode to the hardware bus switch constant connection mode is not input, the operation is repeated until it is determined that an operation for changing the setting is input. The process of S112 is repeated.
[0161]
If it is determined in step S112 that an operation for changing the setting from the normal monitoring mode to the hardware bus switch always connected mode is input, the monitoring program 211 changes the setting to the always connected mode in step S113. .
[0162]
In step S <b> 114, the monitoring program 211 detects the state of the hardware bus switch 132.
[0163]
In step S115, the monitoring program 211 determines whether or not the hardware bus switch 132 is on.
[0164]
If it is determined in step S115 that the hardware bus switch 132 is not in the ON state, the monitoring program 211 sends a control signal for turning on the hardware bus switch 132 to the hardware bus switch 132 in step S116. Output.
[0165]
In step S117, the hardware bus switch 132 changes the state from the off state to the on state according to the control signal output by the monitoring program 211, and electrically connects the USB bus 131.
[0166]
In step S117, since the USB bus 131 is electrically connected, the USB host controller 68 and the memory stick slot 133 are electrically connected. Accordingly, in step S118, the USB host controller 68 detects the presence of the memory stick slot 133, and the process is terminated.
[0167]
If it is determined in step S115 that the hardware bus switch 132 is in the on state, the USB host controller 68 is in the state of detecting the presence of the memory stick slot 133, and therefore it is not necessary to change the state. Therefore, if it is determined in step S115 that the hardware bus switch 132 is in the ON state, the process is terminated.
[0168]
As in the case described with reference to FIG. 9, the processing described with reference to FIG. 16 can be performed even when the USB host controller 68 detects the presence of the memory stick slot 133 in the current state. Even in the state where 133 is detected, the hardware bus switch 132 is fixed to the on state by the monitoring program 211, and the setting is changed to the hardware bus switch always connection mode.
[0169]
When the setting is the hardware bus switch continuous connection mode, the hardware bus switch 132 is fixed to the on state and is not changed by the monitoring program 211 even if the memory stick is inserted or removed. In this case, the response time is faster than when the processing described with reference to FIGS. 14 and 15 is executed.
[0170]
Next, the setting change process 4 when changing the setting from the hardware bus switch constant connection mode to the normal monitoring mode will be described with reference to the flowchart of FIG.
[0171]
For example, the user refers to a setting screen displayed on the LCD 25 and inputs an operation for changing the mode. In step S131, the monitoring program 211 receives an input indicating a user operation input, and in step S132, whether or not an operation for changing the setting from the hardware bus switch continuous connection mode to the normal monitoring mode is input. Judging. If it is determined in step S132 that an operation for changing the setting from the hardware bus switch continuous connection mode to the normal monitoring mode has not been input, the process is repeated until it is determined that an operation for changing the setting has been input. The process of S132 is repeated.
[0172]
If it is determined in step S132 that an operation for changing the setting from the hardware bus switch continuous connection mode to the normal monitoring mode is input, the monitoring program 211 changes the setting to the normal monitoring mode in step S133. .
[0173]
In step S134, the monitoring program 211 detects whether the potential of the nth pin is Hi or Low.
[0174]
In step S135, the monitoring program 211 determines whether or not the memory stick is attached based on the potential of the nth pin detected in step S134.
[0175]
If it is determined in step S135 that the memory stick is not attached, the monitoring program 211 generates a control signal for turning off the hardware bus switch 132 and outputs the control signal to the hardware bus switch 132 in step S136. To do.
[0176]
In step S137, the hardware bus switch 132 changes the state from the on state to the off state in accordance with the control signal output by the monitoring program 211, and electrically disconnects the USB bus 131.
[0177]
In step S137, since the USB bus 131 is electrically disconnected, the USB host controller 68 and the memory stick slot 133 are electrically disconnected. Accordingly, in step S138, the USB host controller 68 detects the absence of the memory stick slot 133, and the process ends.
[0178]
If it is determined in step S135 that the memory stick is attached, the hardware bus switch 132 does not need to change its state. Accordingly, if it is determined in step S135 that the memory stick is attached, the process ends.
[0179]
By the processing described with reference to FIG. 17, it is detected by the monitoring program 211 whether or not the memory stick is mounted in the memory stick slot 133, and the on / off state of the hardware bus switch 132 is determined. The setting is changed from the constant connection mode to the normal monitoring mode.
[0180]
By the processing described above, it is detected whether or not the memory stick slot 133 is actually operating (used), that is, whether or not a memory stick is mounted. On the basis of the detection result, the hardware bus switch 132 is turned on / off in order to detect that the memory stick slot 133 is connected to the USB host controller 68 or that the memory stick slot 133 is not connected. Be controlled. Therefore, when the memory stick slot 133, which is a USB device provided on the control board, is not actually used with a simple configuration, the memory stick slot 133 can be connected to the USB host controller 68 without removing the memory stick slot 133. It is possible to detect that 133 is not connected.
[0181]
For this reason, when no other USB device is connected to the USB host controller 68 and the memory stick slot 133 is not actually used, the USB host controller 68 does not perform interrupt processing for the CPU 51. Can shift to the low power consumption mode.
[0182]
Further, when the memory stick slot 133 is not actually used, the memory stick slot 133 is electrically disconnected, so that the supply of power to the memory stick slot 133 is also stopped. Therefore, the power consumption of the entire apparatus is reduced.
[0183]
In the second embodiment, it is not necessary to exchange information between the CPU 51 and the CPU 72 of the EC 130, as compared with the case described using the first embodiment. The present invention can be realized using a suitable form depending on the processing capabilities of the CPU 51 and the CPU 72.
[0184]
In the second embodiment, the CPU 51 may execute the process described as being executed by the CPU 72 of the EC 130.
[0185]
In the first embodiment and the second embodiment of the present invention, whether or not a memory stick is mounted in the memory stick slot 133 is detected by detecting the potential of a predetermined pin. Needless to say, it is possible to detect whether or not the memory stick is mounted using, for example, a mechanical switch, an optical sensor, or other means.
[0186]
In the first and second embodiments, the memory stick slot 133 is used as the USB device. However, a slot for mounting a device other than the memory stick is provided on the substrate. The present invention can be applied to a case where any non-removable USB device is provided, such as a case where another USB device is directly connected to a substrate.
[0187]
For example, various types of semiconductor memory such as SD memory card (trademark), so-called media card, smart media (trademark), compact flash (registered trademark), etc., or controller modules in these semiconductor memories The present invention can be applied even when a slot for mounting a built-in storage device is provided on a substrate.
[0188]
Other than that, for example, even when a slot for mounting a wireless communication card using a network card for constructing various networks such as a LAN (Local Area Network), a Bluetooth, etc. is provided on the substrate, The present invention is applicable. Alternatively, even when a network module or wireless communication module that can execute the same processing as a network card or wireless communication card and does not have a card shape is provided on the control board in advance, these modules are in use. It goes without saying that the same effect can be obtained by detecting whether or not the hardware bus switch is ON / OFF controlled based on the detection result.
[0189]
Furthermore, a GPS card (module) that receives radio waves from GPS (Global Positioning System) satellites, for example, a camera card (module) that can capture images by incorporating a CCD (Charge-Coupled Devices), etc. Module capable of executing various processes, such as a fingerprint verification card (module) that has a CCD for capturing fingerprint image information and a window for touching a finger and that can acquire fingerprint information Alternatively, the present invention is applicable even when a slot for mounting a card is provided on the substrate.
[0190]
In addition to USB devices, the present invention can also be applied to connectors and slots for attaching or connecting predetermined removable devices.
[0191]
In the first embodiment and the second embodiment, the personal computer 1 has been described as an example. For example, a PDA (Personal Digital (Data) Assistants), a portable phone, and a PHS (Personal Handyphone System) Alternatively, the present invention can be applied to various apparatuses capable of connecting a USB device such as a car navigation system.
[0192]
The software for executing the above-described series of processing is to execute various functions by installing a computer in which the program constituting the software is installed in dedicated hardware or various programs. For example, it is installed from a recording medium in a general-purpose personal computer or the like.
[0193]
As shown in FIG. 5, this recording medium is distributed to provide a program to a user separately from a computer, and includes a magnetic disk 121 (including a flexible disk) on which a program is recorded, an optical disk 122 (CD- Consists of package media such as ROM (compact disk-read only memory), DVD (including digital versatile disk), magneto-optical disk 123 (including MD (mini-disk) (trademark)), or semiconductor memory 124 Is done.
[0194]
In addition, in this specification, the steps for describing a program include processes that are executed in parallel or individually even if they are not necessarily processed in time series, as well as processes that are executed in time series in the described order. Is also included.
[0195]
【The invention's effect】
  Of the present inventionOne sideAccording to the information processing apparatus, the information processing method, and the program,First 1 Based on whether or not your device is in use 1 The switching of the connection between the device and the device control unit is controlled, and the device control unit can transition according to the number of interrupt signals supplied during a predetermined time when a connection with any device is detected. An interrupt signal is sent to the processing control means (processing control unit) in which the low power consumption mode is defined. This allows, for example,When a USB device is connected to the controller, an interrupt processing is not performed on the main control device when no other USB device is connected to the main control device. Therefore, the main control device can shift to the low power mode. Further, since the slot is electrically disconnected when the slot is not in use, unnecessary power supply to the slot can be prevented.
[Brief description of the drawings]
FIG. 1 is an external perspective view of the personal computer shown in FIG.
FIG. 2 is a plan view of the main body of the personal computer shown in FIG.
FIG. 3 is an enlarged view of the vicinity of the jog dial of the personal computer of FIG. 1;
4 is a right side view showing the configuration of the right side of the personal computer shown in FIG. 1;
5 is a block diagram illustrating an internal configuration example of the personal computer in FIG. 1;
FIG. 6 is a functional block diagram for explaining the first embodiment of the present invention.
FIG. 7 is a flowchart for explaining a memory stick attachment detection process 1;
FIG. 8 is a flowchart for explaining memory stick removal detection processing 1;
FIG. 9 is a flowchart for explaining setting change processing 1;
FIG. 10 is a flowchart for explaining memory stick attachment / removal detection processing;
FIG. 11 is a flowchart for explaining setting change processing 2;
FIG. 12 is a flowchart for explaining setting change processing 2;
FIG. 13 is a functional block diagram for explaining a second embodiment of the present invention.
FIG. 14 is a flowchart for explaining a memory stick attachment detection process 2;
FIG. 15 is a flowchart for explaining memory stick removal detection processing 2;
FIG. 16 is a flowchart for explaining setting change processing 3;
FIG. 17 is a flowchart for explaining setting change processing 4;
[Explanation of symbols]
1 personal computer, 51 CPU, 68 USSB host controller, 72 EC, 74 battery, 131 USB bus, 132 hardware bus switch, 133 USB memory stick slot, 201 power panel, 203, 211 monitoring program

Claims (7)

接続された所定のデバイスとの情報の授受を制御するデバイス制御部と、第1のデバイスとを有する情報処理装置であって、
前記情報処理装置において実行される処理のうちの少なくとも一部を制御し、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御手段と、
前記デバイス制御部前記第1のデバイスとの電気的接続および切断を切り替える切り替え手段と、
前記第1のデバイスが使用されている状態であるか否かを検出する検出手段と、
前記検出手段による検出結果に基づいて、前記切り替え手段による前記デバイス制御部前記第1のデバイスとの電気的接続および切断の切り替えを制御する制御手段と
を備え
前記デバイス制御部は、前記第1のデバイスを含むいずれかのデバイスとの接続を検出した場合、所定間隔で前記処理制御手段に割り込み信号を送出する
情報処理装置。
An information processing apparatus having a device control unit that controls transmission and reception of information with a predetermined device connected, and a first device ,
Processing control means for controlling at least a part of the processing executed in the information processing apparatus, and in which a low power consumption mode is set that can be shifted according to the number of interrupt signals supplied for a predetermined time;
Switching means for switching electrical connection and disconnection between the device control unit and the first device ;
Detecting means for detecting whether or not the first device is in use;
Control means for controlling switching of electrical connection and disconnection between the device control unit and the first device by the switching means based on a detection result by the detection means ,
When the device control unit detects connection with any device including the first device, the device control unit sends an interrupt signal to the processing control unit at a predetermined interval.
Information processing device.
前記第1のデバイスには、他の第2のデバイスが接続可能であり、
前記検出手段は、前記第1のデバイス前記他の第2のデバイスが装着されているか否かに基づいて、前記第1のデバイスが使用されている状態であるか否かを検出する
ことを特徴とする請求項1に記載の情報処理装置。
Other first devices can be connected to the first device,
It said detection means detecting the first based on whether the other of the second device to the device is mounted, whether the first device is in a state being used The information processing apparatus according to claim 1.
前記検出手段は、前記第1のデバイスに設けられている前記第2のデバイスと電気的に接続するための所定の端子の電位に基づいて、前記第 1 のデバイスが使用されている状態であるか否かを検出する
ことを特徴とする請求項2に記載の情報処理装置。
The detection means is in a state where the first device is used based on a potential of a predetermined terminal for electrical connection with the second device provided in the first device. The information processing apparatus according to claim 2 , wherein the information processing apparatus detects whether or not.
ユーザの操作の入力を受ける入力手段と、
前記入力手段により入力された前記ユーザの操作に基づいて、前記制御手段による前記切り替え手段による電気的接続の切り替えの制御を、常時接続状態に設定する設定手段と
を更に備えることを特徴とする請求項1に記載の情報処理装置。
An input means for receiving an input of a user operation;
The apparatus further comprises: a setting unit that sets a control of switching the electrical connection by the switching unit by the control unit to a constantly connected state based on an operation of the user input by the input unit. Item 4. The information processing apparatus according to Item 1.
前記デバイス制御部は、前記第1のデバイスとUSB規格を用いて接続され、
前記デバイス制御部は、USBホストコントローラである
ことを特徴とする請求項1に記載の情報処理装置。
The device control unit is connected to the first device using a USB standard ,
The information processing apparatus according to claim 1, wherein the device control unit is a USB host controller.
接続された所定のデバイスとの情報の授受を制御するデバイス制御部と、第1のデバイスと、前記デバイス制御部と前記第1のデバイスとの電気的接続および切断を切り替える切り替え部と、前記情報処理装置において実行される処理のうちの少なくとも一部を制御し、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御部と
を有する情報処理装置の情報処理方法において、
前記 1 のデバイスが使用されている状態であるか否かを検出する検出ステップと、
前記検出ステップの処理による検出結果に基づいて、前記切り替え部による前記デバイス制御部前記第1のデバイスとの電気的接続および切断の切り替えを制御する制御ステップと
を含み、
前記デバイス制御部は、前記第1のデバイスを含むいずれかのデバイスとの接続を検出した場合、所定間隔で前記処理制御部に割り込み信号を送出する
情報処理方法。
A device control unit that controls transmission / reception of information to / from a predetermined device connected; a first device; a switching unit that switches electrical connection and disconnection between the device control unit and the first device; and the information A processing control unit that controls at least a part of the processing executed in the processing device, and in which a low power consumption mode that can transition according to the number of interrupt signals supplied in a predetermined time is defined;
In an information processing method of an information processing apparatus having
A detection step of detecting whether or not the first device is in use;
A control step for controlling switching of electrical connection and disconnection between the device control unit and the first device by the switching unit based on a detection result obtained by the processing of the detection step;
Including
When the device control unit detects connection with any device including the first device, the device control unit sends an interrupt signal to the processing control unit at a predetermined interval.
Information processing method.
接続された所定のデバイスとの情報の授受を制御するデバイス制御部と、第1のデバイスと、前記デバイス制御部と前記第1のデバイスとの電気的接続および切断を切り替える切り替え部と、前記情報処理装置において実行される処理のうちの少なくとも一部を制御し、所定時間に供給される割り込み信号の回数に応じて遷移可能な低消費電力モードが定められている処理制御部と
を備える情報処理装置を制御するコンピュータが実行可能なプログラムであって、
前記 1 のデバイスが使用されている状態であるか否かを検出する検出ステップと、
前記検出ステップの処理による検出結果に基づいて、前記切り替え部による前記デバイス制御部前記第1のデバイスとの電気的接続および切断の切り替えを制御する制御ステップと
を含み、
前記デバイス制御部は、前記第1のデバイスを含むいずれかのデバイスとの接続を検出した場合、所定間隔で前記処理制御部に割り込み信号を送出する
処理をコンピュータに実行させるためのプログラム。
A device control unit that controls transmission / reception of information to / from a predetermined device connected; a first device; a switching unit that switches electrical connection and disconnection between the device control unit and the first device; and the information An information processing comprising: a processing control unit that controls at least a part of processing executed in the processing device and has a low power consumption mode that can be shifted according to the number of interrupt signals supplied in a predetermined time A computer executable program for controlling the device,
A detection step of detecting whether or not the first device is in use;
A control step for controlling switching of electrical connection and disconnection between the device control unit and the first device by the switching unit based on a detection result obtained by the processing of the detection step;
Including
When the device control unit detects connection with any device including the first device, the device control unit sends an interrupt signal to the processing control unit at a predetermined interval.
A program that causes a computer to execute processing.
JP2002313695A 2001-10-30 2002-10-29 Information processing apparatus, information processing method, and program Expired - Lifetime JP3785641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002313695A JP3785641B2 (en) 2001-10-30 2002-10-29 Information processing apparatus, information processing method, and program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-332392 2001-10-30
JP2001332392 2001-10-30
JP2002313695A JP3785641B2 (en) 2001-10-30 2002-10-29 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2003202943A JP2003202943A (en) 2003-07-18
JP3785641B2 true JP3785641B2 (en) 2006-06-14

Family

ID=27666649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002313695A Expired - Lifetime JP3785641B2 (en) 2001-10-30 2002-10-29 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP3785641B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10333900A1 (en) * 2003-07-21 2005-02-24 Detewe Deutsche Telephonwerke Aktiengesellschaft & Co. Kg telecommunication terminal
JP5681576B2 (en) 2011-06-29 2015-03-11 ルネサスエレクトロニクス株式会社 Host controller device, information processing device, and event information output method

Also Published As

Publication number Publication date
JP2003202943A (en) 2003-07-18

Similar Documents

Publication Publication Date Title
US11715439B2 (en) Dynamically controlling display mode of external device coupled to user equipment
AU2022202072B2 (en) Card holder and mobile terminal
JPWO2004070593A1 (en) Peripheral device and control method thereof, main body device and control method thereof, and program thereof
CN215642735U (en) Fingerprint Sensing Device
CN103841258A (en) Method for controlling portable device by using humidity sensor and portable device thereof
US6877058B2 (en) Information processing unit having a slot, information processing method for an information processing unit, and program that controls an information processing unit
JP2001312410A (en) Information processing apparatus and method, and program storage medium
JP2000122756A (en) Electronics
JP3785641B2 (en) Information processing apparatus, information processing method, and program
JP2003195985A (en) Electronic equipment system, electronic equipment, peripheral device, and power supply control method
CN100346659C (en) Hybrid mobile terminal and method for controlling the same
EP1486856A1 (en) Information processing device and method
CN100429606C (en) PC card and PC card control method
US20070180284A1 (en) Electronic device and operation control method
CN101997905A (en) Computer system and control method thereof
KR20020074074A (en) Information processing apparatus and method, recording medium product, and program
CN101154132A (en) Information processing device and mail receiving method
JP2010055265A (en) System lsi, control method of system lsi, program, and storage medium
JP2000235433A (en) Mobile phone communication control device
CN115509558B (en) A programming apparatus, method, electronic device, and readable storage medium
CN114428534B (en) Electronic equipment and control methods
JP2001092584A (en) Input device, information processing device, information processing method, and program storage medium
KR20010011374A (en) portable computer system having application program launcher for low power consumption and operating method therefor
CN100461114C (en) Linkage method and mobile communication terminal
KR100560638B1 (en) Computer System with Improved User Interface and Its Control Method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050801

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060227

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060312

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090331

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110331

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130331

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140331

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250