# US 8,578,182 B2 · Power lock-up setting method performed by baseboard management controller and electronic apparatus using the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,578,182 B2
- Document ID: US8578182B2
- Status: Granted
- Kind: B2
- Application number: 12/814,500
- Filed: 2010-06-14
- Published: 2011-09-22
- Granted: 2013-11-05
- Earliest claimed: 2010-03-16
- Assignees: Acer Incorporated
- Applicants: Jen-Te Chien
- Inventors: Jen-Te Chien
- Web page: https://patentgrep.com/patent/US8578182B2

## CPC

- G06F 1/26: Power supply means, e.g. regulation thereof (for memories G11C)
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A power lock-up setting method and an electronic apparatus using the same are provided. The power lock-up setting method includes following steps. A trigger signal generated by a pressed power switch is received by a pin of a GPIO interface and transmitted to a control unit, such that the control unit starts the electronic apparatus, and a power-on-self-test of a logic processing unit is performed by a processing module. Whether the GPIO interface is set to a power lock-up state is determined by the logic processing unit. If so, a level of the pin is set to a disable level. An operating system is loaded by the processing module to perform an operating system booting process. Accordingly, when the electronic apparatus is under an operating environment of the operating system, the trigger signal is forbidden to be transmitted to the control unit when being generated again.

## Claims

### Claim 1

A power lock-up setting method, adapted to an electronic apparatus, wherein the electronic apparatus comprises a power switch, a general purpose input/output (GPIO) interface, a control unit, a logic processing unit, and a processing module, the power lock-up setting method comprising:
receiving a trigger signal by a pin of the GPIO interface and transmitting the trigger signal to the control unit, such that the control unit starts the electronic apparatus, and a power-on-self-test of the logic processing unit is performed by the processing module, wherein the trigger signal is generated by the power switch which is pressed;
determining whether the GPIO interface is set to a power lock-up state by the logic processing unit, wherein a level of the pin is set to a disable level by the logic processing unit when the GPIO interface is set to the power lock-up state; and
loading an operating system by the processing module to perform an operating system booting process, wherein under an operating environment of the operating system, the trigger signal is forbidden to be transmitted to the control unit when being generated again,
wherein the logic processing unit comprises a basic input/output system (BIOS) and a baseboard management controller (BMC), in the step of determining whether the GPIO interface is set to the power lock-up state, whether the GPIO interface is set to the power lock-up state determined by the BIOS, and when the GPIO interface is set to the power lock-up state, a lock-up command is transmitted to the BMC by the BIOS such that the BMC sets the level of the pin to the disable level.

### Claim 2 (depends on 1)

The power lock-up setting method as claimed in claim 1, further comprising:
selecting the electronic apparatus to enter a power-saving mode or a power-off mode under the operating environment of the operating system;
transmitting a power-saving mode signal or a power-off mode signal to the BIOS by the processing module;
transmitting an unlocking command to the BMC by the BIOS, such that the BMC sets the level of the pin to an enable level; and
selecting the electronic apparatus to enter the power-saving mode or the power-off mode by the BIOS,
wherein when the electronic apparatus enters the power-saving mode or the power-off mode, the trigger signal is transmitted to the control unit by the GPIO interface after being generated again.

### Claim 3 (depends on 2)

The power lock-up setting method as claimed in claim 2, wherein the power-saving mode is an S1 state or an S4 state of an advanced configuration and power interface (ACPI), and the power-off mode is an S5 state of the ACPI.

### Claim 4 (depends on 1)

The power lock-up setting method as claimed in claim 1, further comprising:
providing a network connecting module to link with a control end of a domain;
receiving a power-off forcing command transmitted by the control end by the network connecting module when the operating system hangs up;
setting the level of the pin to an enable level by the BMC according to the power-off forcing command; and
controlling the electronic apparatus to enter a power-off mode by the BMC.

### Claim 5 (depends on 1)

The power lock-up setting method as claimed in claim 1, wherein the BMC performs an embedded operating system, and the embedded operating system and the operating system independently operate.

### Claim 6 (depends on 1)

The power lock-up setting method as claimed in claim 1, wherein the control unit is a chipset southbridge, a chipset northbridge, or an embedded controller (EC).

### Claim 7

An electronic apparatus with a power lock-up function, comprising:
a power switch receiving a touch action to correspondingly generate a trigger signal;
a general purpose input/output (GPIO) interface connected to the power switch by a pin to receive the trigger signal;
a control unit connected to the GPIO interface and receiving the trigger signal by the GPIO interface to start the electronic apparatus with the power lock-up function;
a processing module connected to the control unit; and
a logic processing unit connected to the processing module and the GPIO interface to control the processing module to perform a power-on-self-test, and the logic processing unit determining whether the GPIO interface is set to a power lock-up state,
wherein the processing module loads an operating system and performs an operating system booting process after performing the power-on-self-test;
wherein when the logic processing unit determines that the GPIO interface is set to the power lock-up state, the logic processing unit sets a level of the pin to a disable level, so as to forbid the trigger signal to be transmitted from the GPIO interface to the control unit under an operating environment of the operating system and when the trigger signal is generated again,
wherein the logic processing unit comprises a basic input/output system (BIOS) and a baseboard management controller (BMC), the BIOS determines whether the GPIO interface is set to the power lock-up state, and when the GPIO interface is set to the power lock-up state, the BIOS transmits a lock-up command to the BMC such that the BMC sets the level of the pin to the disable level.

### Claim 8 (depends on 7)

The electronic apparatus as claimed in claim 7, wherein under the operating environment of the operating system, when the electronic apparatus is selected to enter a power-saving mode or a power-off mode, the processing module transmits a power-saving mode signal or a power-off mode signal to the BIOS, such that the BIOS transmits an unlocking command to the BMC, and the BMC sets the level of the pin to an enable level.

### Claim 9 (depends on 8)

The electronic apparatus as claimed in claim 8, wherein the power-saving mode is an S1 state or an S4 state of an advanced configuration and power interface (ACPI), and the power-off mode is an S5 state of the ACPI.

### Claim 10 (depends on 7)

The electronic apparatus as claimed in claim 7, further comprising a network connecting module connected to the BMC to link with a control end of a domain, the BMC receives a power-off forcing command transmitted by the control end through the network connecting module when the operating system hangs up, and the BMC sets the level of the pin to an enable level according to the power-off forcing command and controls the electronic apparatus to enter a power-off mode.

### Claim 11 (depends on 7)

The electronic apparatus as claimed in claim 7, wherein the BMC performs an embedded operating system, and the embedded operating system and the operating system independently operate.

### Claim 12 (depends on 7)

The electronic apparatus as claimed in claim 7, wherein the control unit is a chipset southbridge, a chipset northbridge, or an embedded controller (EC).
