TW444218B - System allowing random switching among power on/off, suspend button, and lid switch - Google Patents

System allowing random switching among power on/off, suspend button, and lid switch Download PDF

Info

Publication number
TW444218B
TW444218B TW89103590A TW89103590A TW444218B TW 444218 B TW444218 B TW 444218B TW 89103590 A TW89103590 A TW 89103590A TW 89103590 A TW89103590 A TW 89103590A TW 444218 B TW444218 B TW 444218B
Authority
TW
Taiwan
Prior art keywords
button
switch
switch button
panel
functions
Prior art date
Application number
TW89103590A
Other languages
Chinese (zh)
Inventor
Chung-Hui Chen
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to TW89103590A priority Critical patent/TW444218B/en
Application granted granted Critical
Publication of TW444218B publication Critical patent/TW444218B/en

Links

Landscapes

  • Power Sources (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed is a system allowing random switching among a power on/off, a suspend button, and a lid switch, including: a super I/O controller for controlling the power on/off button, the suspend button, and the lid switch button; a firmware coupled to the super I/O controller, and including a plural of mailboxes and a system BIOS; a software providing an application program for defining the functions of the power on/off button, the suspend button, and the lid switch button, and storing the configuration into the mailboxes through the function provided by the system BIOS, such that when pushing the button, the application program signals the operation system to react correspondingly.

Description

^ 444 2 18 五、發明說明(i) - 【發明領域】 本發明為一種可任意切換電源開關按鈕 '暫時中止按 鈕與面板開關按鈕功能的系統,特別是提供介面給使用者 定義各按叙功能的系統。 【發明背景】 目前僅有支援高等組態與能源介面(Advanced444 2 18 V. Description of the invention (i)-[Field of the invention] The present invention is a system that can arbitrarily switch the functions of the power switch button 'temporary suspension button and panel switch button, and especially provides an interface for users to define various functions according to the description system. [Background of the Invention] Currently only supporting advanced configuration and energy interface (Advanced

Configuration and Power Interface ; ACPI)模式的作業 系統,有提供定義按鈕(bu 11 on )功能的設定,以防止使用 者的不正常關機。 高等組態與能源介面是一種電腦能源的管理設備,它 是在作業系統當中’搭配硬體可以偵測主機板溫度、風屬 轉速和電源供應器的電壓等資訊,進而提供適當的電源與 主機工作頻率,來達到效率與省電並存的效果。 而軟體切換電源開關(Soft power-off)最早是在麥金 塔電腦(M a c i n t 〇 s h )上的觀念,那就是電腦系統的關機動 作在使用者選擇『關機』之後,便可以由軟體控制而關閉 電源供應器上的電源。除了軟體關機之外,麥金塔電腦機 器上也是使用鍵盤上的一個按姐,來執行開啟電源的功能 ’目前在IBM-PC上的ΑΊΧ主機板已經支援軟體關機的能力 了。 然而目前筆記型電腦(notebook)上的電源開關(power on/off)、暫時中止按鈕(suspend button)與面板開關 (lid switch)皆由一顆super I/O controller 晶片所控 制,而實際執行暫時中止至記憶體/磁碟(suspend toConfiguration and Power Interface (ACPI) mode of the operating system, there are settings to provide the definition of the button (bu 11 on) function to prevent the user from shutting down abnormally. The advanced configuration and energy interface is a kind of computer energy management equipment. It is used in the operating system to match the hardware to detect the temperature of the motherboard, the wind speed and the voltage of the power supply. Working frequency to achieve the coexistence of efficiency and power saving. The soft power-off was originally a concept on Macinta computers, that is, the shutdown action of the computer system can be controlled by software after the user selects "shut down" Turn off the power on the power supply. In addition to software shutdown, Macintosh computers also use a button on the keyboard to perform the function of turning on the power. 'At present, the AXX motherboard on the IBM-PC already supports the software shutdown capability. However, the power on / off, suspend button and lid switch on the notebook are currently controlled by a super I / O controller chip, and the actual execution is temporarily Suspend to memory / disk

第4頁 五、發明說明(2) RAM/Di sk)、電源開關(power on/o f f )與面板開關(1 i d s w i t ch)則是由基本輸入輸出系統(B I 〇S )來執行。 因此’若能任意定義按鈕(bu 11 ο η)功能,成為關機 (shutdown)及暫時中止至記憶體/磁碟(suspend to RiM/ ti s k)等的功能選擇,將可提供更大的使用彈性。 【發明之概述及目的】 本發明的主要目的在於藉由韌體與軟體的修改與設 計,將硬體單元(super I/O controller)控制目前、電源開 關、暫時中止按钮及面板開關,經由本發明所提出的應巧 程式’透過系統BIOS的函數(function),去設定super I/O controller所提供的暫存器(maii box),以決定目前 各按鈕(bu 11 on )所定義之功能(如電源開關、暫時中止按 鈕及面板開關),實際按下按鈕時,super I/O controller的韌體(firmware)及系統bios參考目前暫存器 的定義’以決定目前所要執行的動作。 透過本發明的設計,修改韌體與軟體即可任意切換電 源開關、暫時中止按鈕與面板開關功能的目的。 有關本發明之詳細内容及技術,茲就配合圖式說明如 下: 【發明之詳細說明】 通常一部使用電力的電腦都有一個電源開關(power swi tch) ’我們要打開這個開關之後,電腦才有足夠的電 力正常工作。但是,若使用者不經由作業系統正常的關 機,將導致系統程式混亂或遺失,須重新整理電腦中的系5. Explanation of the invention (2) RAM / Di sk), power switch (power on / o f f) and panel switch (1 i d s w i t ch) are executed by the basic input output system (BIOS). Therefore, if the button (bu 11 ο η) function can be arbitrarily defined, it will become a function choice such as shutdown and suspension to RiM / tisk, which will provide greater flexibility in use. . [Summary and purpose of the invention] The main purpose of the present invention is to control the current, power switch, pause button and panel switch of the hardware unit (super I / O controller) through the modification and design of firmware and software. The application program proposed by the invention 'sets the maii box provided by the super I / O controller through the function of the system BIOS to determine the function defined by the current buttons (bu 11 on) ( (Such as power switch, pause button and panel switch), when the button is actually pressed, the firmware (firmware) and system bios of the super I / O controller refer to the definition of the current register to determine the current action to be performed. Through the design of the present invention, the purpose of changing the power switch, temporarily suspending the button and panel switch functions can be arbitrarily changed by modifying the firmware and software. The detailed content and technology of the present invention are described below with reference to the drawings: [Detailed description of the invention] Generally, a computer that uses electricity has a power switch (power swi tch) Have enough power to work properly. However, if the user does not go through the normal shutdown of the operating system, it will lead to chaos or loss of system programs, and the system in the computer must be refreshed.

第5頁 t 444 ki 1 8 五、發明說明(3) 統程式。 所以’本發明提出一種應用程式,透過系統B丨〇s的函 數(function) ’ 去設定 super I/O controller 所提供的暫 存器(mai lbox) ’以決定目前各按鈕(button)所定義之功 能,實際按下按钮時’super I/O controller的動體 (firm ware)及系統BIOS參考目前暫存器的定義,以決定目 前所要執行的動作。 一般而言’所定義的按鈕功能有電源開關按鈕(p〇wer on/off button)10、暫時中止按鈕(suspend button)20 與 面板開關按鈕(lid switch button)30等;暫時中止 (Suspend)程式的執行,通常發生在直譯器的編譯程式, 或是使用者取消應用程式的執行動作時發生,在暫時中止 (Suspend)之後,通常我們可以再繼續應用程式的執行動 作。而面板開關(lid switch)係指筆記型電腦(notebook) 上的顯示面板開合的切換開關。這些按叙(button)實際上 是由一硬體super I / 0 control 1 er晶片所控制。 本發明提出一較佳實施例’請參考第1圖所示,分別 包含硬體單元(super I/O controller)40、勤體單元50與 軟體單元60等三大部分’係經由該硬體(super 1/〇 control ler)40控制目前電源開關按鈕10、暫時中止按鈕· 2 0及面板開關按紐3 0那一個有被觸動;再透過一動體 (f irmwa]:e)50上的第一暫存器70、第二暫存器80、第三暫 存器9 0分別定義電源關閉(p 〇 w e r 〇 f f)、暫時中止 (s u s p e n d)與面板關閉(p a n e 1 ◦ f f)。再經由一系統β i 〇 sPage 5 t 444 ki 1 8 V. Description of the invention (3) System program. Therefore, the present invention proposes an application program to set the register (mai lbox) provided by the super I / O controller through the function of the system B 丨 0s to determine the current buttons defined by the buttons. Function, the actual firmware (firmware) and system BIOS of the 'super I / O controller when the button is pressed refers to the definition of the current register to determine the current action to be performed. Generally speaking, the defined button functions are power on / off button 10, suspend button 20 and lid switch button 30, etc .; Suspend program The execution usually occurs when the interpreter compiles the program or the user cancels the execution of the application. After a temporary suspension (Suspend), we can usually continue the execution of the application. The panel switch (lid switch) refers to a switch for opening and closing a display panel on a notebook computer. These buttons are actually controlled by a hardware super I / 0 control 1 er chip. The present invention proposes a preferred embodiment. 'Please refer to FIG. 1. The three major parts, including a hardware unit (super I / O controller) 40, a service unit 50, and a software unit 60,' pass through the hardware ( super 1 / 〇control ler) 40 controls the current power switch button 10, the temporary stop button · 20, and the panel switch button 30, which are touched; and then through a moving body (firmwa): e) 50 on the first The register 70, the second register 80, and the third register 90 respectively define power off (p ower ff), suspend, and panel off (pane 1 ◦ ff). Β i 〇 s

(444218 五、發明說明(4) 100參考目前第一暫存器70、第二暫存器80、第三暫存器 90的疋義,以決定目前所要執行的動作。 最後藉由一軟體介面,提供一應用程式(appUcati〇n )110給使用者定義各按鈕(buiton)之功能,並透過系統 BIOS 100提供之函數(functi〇n),將設定值儲存在第一暫 存器70、第二暫存器8〇、第三暫存器9〇上,另外此應用程 式1 1 〇需負責通知作業系統做相對應的動作,例如按鈕 (button)被定義成電源關閉(p0wer 時,應用程式需 通知作業系統關機(shutdown) 120 ;若按鈕(button)被定 義成暫時中止(suspend)時,應用程式需通知作業系統做 暫時中止(Suspend)程式的執行;若按鈕(butt〇n)被定義 成面板關閉(pane 1 〇 f f )時’應用程式需通知作業系統做 面板關閉(pane 1 〇 f f )的動作。 所以,只要透過韌體單元50與軟體單元6〇的修改,即 可達到任意切換各按鈕(button)功能的目的。 雖然本發明以前述之較佳實施例揭露如上,然其並非 用以限定本發明,任何熟習此技藝者,在不脫離本發明之 精神和範圍内’當可作些許之更動與澗飾,因此本發明之 保護範圍當視後附之申請專利範圍所界定者為準。(444218 V. Description of the invention (4) 100 Refer to the meanings of the current first register 70, second register 80, and third register 90 to determine the action to be performed at the moment. Finally, through a software interface , Provide an application program (appUcati〇n) 110 to the user to define the function of each button (buiton), and through the function (functi〇n) provided by the system BIOS 100, the setting value is stored in the first register 70, the first The second register 80, the third register 90, and the application 1 1 10 need to notify the operating system to take corresponding actions. For example, the button is defined as the power off (when p0wer, the application Need to notify the operating system to shut down (shutdown) 120; if the button (button) is defined as temporarily suspended (suspend), the application program must notify the operating system to temporarily suspend (Suspend) program execution; if the button (butt〇n) is defined When the panel is closed (pane 1 ff), the application needs to notify the operating system to do the panel close (pane 1 ff). Therefore, as long as the firmware unit 50 and the software unit 60 are modified, any cut can be achieved. The purpose of the function of each button. Although the present invention is disclosed in the foregoing preferred embodiments, it is not intended to limit the present invention. Anyone skilled in the art will not depart from the spirit and scope of the present invention. With some changes and decorations, the scope of protection of the present invention shall be determined by the scope of the attached patent application.

第7頁 f 444218P. 7 f 444218

圖式簡單說明 【圖 式簡 單 說 明 ] 第1 : 圖為本發明之硬體' 、韌體與 軟體架構示意 [符 •號說 明 ] 10 電 源 開 關 按紐(ρ ower on /off button) 20 暫 時 中 止 按在丑(suspend button) 30 面 板 開 關 按紐(1 id swi t ch button) 40 硬 體 αα 早 元 (super I/O controller) 50 韌 體 單 元 60 軟 體 單 元 70 第 — 暫 存 器 80 第 二 暫 存 哭 οτ7 90 第 二 暫 存 器 100 系 統 B I 0 S 110 應 用 程 式 120 作 業 系 統 關機(S hutdown )Brief description of the drawings [Simplified description of the drawings] Part 1: The diagram shows the hardware, software and software structure of the present invention [Symbols and symbols] 10 Power switch button (ρ ower on / off button) 20 Temporary suspension Suspend button 30 panel switch button (1 id swi t ch button) 40 hardware αα early element (super I / O controller) 50 firmware unit 60 software unit 70 first — register 80 second Cry οτ7 90 Second register 100 System BI 0 S 110 Application 120 Operating system shutdown (Shutdown)

Claims (1)

444218444218 一硬體單元,用以控制該開關按鈕、該 與該面板開關按鈕; 才7止知 一韌體單元,與該硬體單元耦合,包含複數個 與一系統BIOS ;及 士一軟體單元,係提供一應用程式定義該開關按鈕、該 暫%中止按鈕與該面板開關按鈕功能,並透過該系統b I 提供之函數,將設定值分別儲存在不同的該複數個暫存器 2 ·如申清專利範圍第1項所述可任意切換電源開關按鈕、 暫時中止按鈕與面板開關按鈕功能的系統,其中上述之硬 體單元可以是一 super I/O contr〇iiei·。 3.如申請專利範圍第1項所述可任意切換電源開關按鈕、 暫時中止按鈕與面板開關按鈕功能的系統,其中當按下該 按鈕時’該應用程式通知作業系統做相對應的動作。 4 _如申請專利範圍第1項所述可任意切換電源開關按鈕、 暫時中止按紐與面板開關按鈕功能的系統,其中上述之暫 時中止按紐係指暫時中止至記憶體/磁碟(suspend to RAM/Disk)的動作 a 5.如申請專利範圍第1項所述可任意切換電源開關按鈕、 暫時中止按:fe與面板開關按紐功能的系統,其中上述之面 板開關按鈕係指筆記型電腦(notebook)上的顯示面板開合A hardware unit for controlling the switch button, the switch button with the panel; only a firmware unit, coupled with the hardware unit, including a plurality of and a system BIOS; and a software unit, Provide an application program to define the functions of the switch button, the temporary pause button and the panel switch button, and store the set values in different registers of the two through the functions provided by the system b I 2 · As stated The system described in item 1 of the patent scope can arbitrarily switch the functions of the power switch button, the temporary suspension button and the panel switch button. The hardware unit may be a super I / O controiii. 3. A system that can arbitrarily switch the functions of the power switch button, the temporary suspension button, and the panel switch button as described in item 1 of the scope of patent application, wherein when the button is pressed, the application program notifies the operating system to perform the corresponding action. 4 _The system that can switch the power switch button temporarily and temporarily suspend the functions of the button and the panel switch button as described in item 1 of the scope of the patent application, where the above-mentioned suspend button refers to the temporary suspension to the memory / disk (suspend to RAM / Disk) action a 5. The system that can switch the power switch button arbitrarily as described in item 1 of the scope of patent application, temporarily suspend pressing the: fe and panel switch button functions, where the above panel switch button refers to a notebook computer (Notebook) display panel opening and closing 第9頁 六、申請專利範圍 的切換開關。 6. —種可任意切換電源開關按鈕、暫時中止按鈕與面板開 關按鈕功能的系統,用以提供使用者定義各按鈕功能,該 系統至少包含: / 一 super I /0 control 1 er ’用以控制該開關按鈕、該 暫時中止按鈕與該面板開關按鈕; 一韌體單元’與該super I/O controller耦合,包含 複數個暫存器與一系統g I 0S ;及 一軟體單元’係提供一應用程式定義該開關按鈕、該 f時中止按鈕與該面板開關按鈕功能,並透過該系統B丨〇s 提供之函數,將設定值分別儲存在不同的該複數個暫存器 Ο 7. ^申請專利範圍第6項所述可任意切換電源開關按鈕、 暫3才中止按紐與面板開關按鈕功能的系統,其中當按下該 按纽時’該應用程式通知作業系統做相對應的動作。 8. t申請專利範圍第6項所述可任意切換電源開關按鈕、 1日^中止按知與面板開關按鈕功能的系統,其中上述之暫 曰吁中止&紐係指暫時中止至記憶體/磁碟(suspend to RAM/Disk)的動作。 9 ^申清專利範圍第6項所述可任意切換電源開關按鈕、 暫時中+ k如Λ 1紐與面板開關按鈕功能的系統,其中上述之面 板' 3關按#丑係指筆記型電腦(η 〇 t e b ο 〇 k )上的顯示面板開合 的切換開關。Page 9 6. Switch for patent application scope. 6. — A system that can arbitrarily switch the functions of the power switch button, the pause button and the panel switch button to provide user-defined functions of each button. The system includes at least: / a super I / 0 control 1 er 'for control The switch button, the pause button and the panel switch button; a firmware unit 'coupling with the super I / O controller, including a plurality of registers and a system g I 0S; and a software unit' provide an application The program defines the functions of the switch button, the f-stop button and the panel switch button, and stores the set values in the different registers, respectively, through functions provided by the system B 丨 0s. 7. ^ Patent application The system described in item 6 of the scope can arbitrarily switch the power switch button, and temporarily suspend the functions of the button and the panel switch button for 3, wherein when the button is pressed, the application notifies the operating system to take corresponding actions. 8. The system described in item 6 of the scope of patent application can arbitrarily switch the power switch button, and suspend the function of the button switch and the panel switch button on the 1st day. The above-mentioned temporary suspension & button refers to the temporary suspension to the memory / Disk (suspend to RAM / Disk) action. 9 ^ The system described in item 6 of the scope of patent application can arbitrarily switch the function of the power switch button, temporarily + k such as Λ 1 button and the function of the panel switch button, wherein the above panel '3guan press #ug means a notebook computer ( η 〇teb ο 〇k) on the display panel opening and closing switch. 第10頁Page 10
TW89103590A 2000-03-01 2000-03-01 System allowing random switching among power on/off, suspend button, and lid switch TW444218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW89103590A TW444218B (en) 2000-03-01 2000-03-01 System allowing random switching among power on/off, suspend button, and lid switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW89103590A TW444218B (en) 2000-03-01 2000-03-01 System allowing random switching among power on/off, suspend button, and lid switch

Publications (1)

Publication Number Publication Date
TW444218B true TW444218B (en) 2001-07-01

Family

ID=21658941

Family Applications (1)

Application Number Title Priority Date Filing Date
TW89103590A TW444218B (en) 2000-03-01 2000-03-01 System allowing random switching among power on/off, suspend button, and lid switch

Country Status (1)

Country Link
TW (1) TW444218B (en)

Similar Documents

Publication Publication Date Title
TWI225982B (en) Power shutdown method of wireless peripheral device
CN103558774B (en) A kind of arbitrary key wakeup control device and terminal
KR970071210A (en) Computer systems
JPH03171317A (en) Apparatus for controlling power consumption of portable computer
EP2857929B1 (en) Information processing apparatus, information processing system, and power control method
CN101907983A (en) Microphone mute control method and computer
US20190155368A1 (en) Selecting a Low Power State in an Electronic Device
TWI278780B (en) Method of instantly activating multimedia playback during a hot-key standby mode
TW201335744A (en) Portable electronic device and control method thereof
CN103440102A (en) Electronic equipment touching control system and method
CN101930279A (en) Electronic device for reducing power consumption of computer motherboard and motherboard thereof
TW201447544A (en) System and method for temperature driven selection of voltage modes in a portable computing device
CN102890550A (en) Synchronous switching machine of PC (Personal Computer) and display
TW200917006A (en) Apparatus and method for power management
TW444218B (en) System allowing random switching among power on/off, suspend button, and lid switch
TW201009562A (en) Computer with power-saving state control and control method thereof
TW201428472A (en) Electronic device and power management control method
CN210129131U (en) Double-screen notebook computer
CN1163812C (en) System with power supply switch, pause button and panel switch possessing changeable function
CN208596339U (en) A kind of double mainboard computers
CN102799249B (en) A kind of computing machine and power control thereof
CN204883680U (en) Note -book computer
CN205542498U (en) Button delay switch
CN203813655U (en) Topological structure of power supply
CN219920857U (en) Electric cooker control device

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees