发明名称 Computer system and control method thereof
摘要 A computer system and a control method thereof are provided, wherein the computer system comprises an embedded controller (EC), a basic input/output system (BIOS), and an operating system (OS). In the method, when the computer system is rotated, the EC makes the BIOS identify a present rotation state of the computer system by an interrupt signal and an internal communication scheme. Then, the BIOS establishes a data structure in accordance with a virtual scan code and the rotation state, and then transmits the data structure to the OS. After that, the OS controls a program installed in the computer system to execute a related operation of the rotation state according to the data structure.
申请公布号 US8875138(B2) 申请公布日期 2014.10.28
申请号 US201113326263 申请日期 2011.12.14
申请人 Wistron Corporation 发明人 Yang Chia-Chi;Chang Yung-Yen
分类号 G06F9/46;G06F9/445;G06F9/44 主分类号 G06F9/46
代理机构 Jianq Chyun IP Office 代理人 Jianq Chyun IP Office
主权项 1. A control method of a computer system, wherein the computer system comprises an embedded controller (EC), a basic input/output system (BIOS) and an operating system (OS), the method comprising: when the computer system is rotated, making, by the EC, the BIOS identify a present rotation state of the computer system by an interrupt signal and an internal communication scheme; establishing, by the BIOS, a data structure in accordance with a virtual scan code and the rotation state and transmitting the data structure to the OS, wherein the virtual scan code is a preset identification code denoting that the computer system is rotated; and controlling, by the OS, a program to execute a related operation of the rotation state in accordance with the data structure, wherein the internal communication scheme is provided by a first specific address range in a main memory of the computer system defined by the BIOS when the computer system starts running, and the step of making, by the EC, the BIOS identify the rotation state by the interrupt signal and the internal communication scheme comprises: writing, by the EC, the virtual scan code and a rotation parameter corresponding to the rotation state into the first specific address range; and sending, by the EC, the interrupt signal to the BIOS to inform the BIOS of reading the first specific address range and acquiring the virtual scan code and the rotation parameter.
地址 New Taipei TW