US20030149903A1 - Method for enabling power-saving mode - Google Patents

Method for enabling power-saving mode Download PDF

Info

Publication number
US20030149903A1
US20030149903A1 US10/290,131 US29013102A US2003149903A1 US 20030149903 A1 US20030149903 A1 US 20030149903A1 US 29013102 A US29013102 A US 29013102A US 2003149903 A1 US2003149903 A1 US 2003149903A1
Authority
US
United States
Prior art keywords
input value
power
transmission
value
mode
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.)
Abandoned
Application number
US10/290,131
Inventor
Yu-Wei Chang
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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Assigned to VIA TECHNOLOGIES, INC. reassignment VIA TECHNOLOGIES, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHANG, YU-WEI
Publication of US20030149903A1 publication Critical patent/US20030149903A1/en
Priority to US11/270,810 priority Critical patent/US7467315B2/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices

Definitions

  • the present invention relates to a method for enabling a power-saving mode, and more particularly to a method for enabling a power-saving mode of a peripheral interface device.
  • a notebook computer is expandable by connecting thereto various peripheral devices via a peripheral interface device, such as IEEE 1394 interface card, with a plurality of expansion I/O ports. It is apparent that the power consumption of the notebook computer increases with the expansion functions applied thereto. Thus, the standby period of the battery decreases accordingly.
  • a peripheral interface device such as IEEE 1394 interface card
  • An object of the present invention is to provide a method for reducing the power consumption of an electronic apparatus by allowing the electronic apparatus to enter a power-saving mode at proper timing.
  • Another object of the present invention is to provide a method for prolonging the standby period of a portable electronic apparatus by allowing the portable electronic apparatus to enter a power-saving mode when the peripheral interface device is not under a data-tranceiving state.
  • a method for enabling a power-saving mode for an electronic apparatus The electronic apparatus is electrically connected to a peripheral device via a peripheral interface device.
  • the method includes steps of comparing a first input value with a first reference value, determining a transmission index according to a comparing result of the first input value and the first reference value, and having the peripheral interface device enter a power-saving mode when the transmission index indicates an inactive transmission state.
  • the first input value is a counting value generated in response to a system clock.
  • the first reference value is a constant value.
  • the transmission index includes a plurality of transmission-state bits.
  • the plurality of transmission-state bits correspond to an asynchronous request transmit mode, an asynchronous response transmit mode, an asynchronous request receive mode, an asynchronous response receive mode, isochronous transmit modes or isochronous receive modes.
  • the inactive transmission state is determined when all of the transmission-state bits are in disable states.
  • the method further includes a step of resetting the first input value when the inactive transmission state is determined and the peripheral interface device has entered the power-saving mode.
  • the transmission index indicating the inactive transmission state is generated when the comparing result indicates that the first input value substantially equals to the first reference value.
  • the transmission index indicating an active transmission state is generated when the first input value is different from the first reference value.
  • the first input value is preferably updated to repeat the comparing step when the transmission index indicates the active transmission state.
  • the active transmission state is preferably determined when at least one of transmission-state bits included in the transmission index are in an enable state.
  • the power-saving mode includes at least two power-saving stages.
  • the method further includes steps of detecting a status of a second input value when the first input value is substantially equal to the first reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the second input value is in a specified status.
  • the second input value is a flag and the specified status is one of a true and a false status.
  • the method further includes steps of comparing a third input value with a third reference value when the first input value is different from the first reference value, and determining a port disable mode and having the peripheral interface device enter the power-saving mode in response to a comparing result indicating that the third input value is substantially equal to the third reference value.
  • the third input value is preferably a counting value generated in response to a system clock, and the third reference value is a constant value.
  • the third input value is zeroed when the third input value is substantially equal to the third reference value, and accumulatively updated when the third input value is different from the third reference value.
  • the port disable mode is determined according to a bias bit and a connection bit.
  • a port disable mode is determined when at least one of the bias bit and the connection bit are under a disable state.
  • Another port enable mode is preferably determined when the bias bit and the connection bit are both under an enable state.
  • the peripheral interface device includes a plurality of ports, and the power-saving mode is entered when all of the ports are under the port disable mode.
  • the method further includes steps of detecting a status of a fourth input value when the third input value is substantially equal to the third reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the fourth input value is in a specified status.
  • the fourth input value is a flag and the specified status is one of a true and a false status.
  • a method for enabling a power-saving mode for an electronic apparatus The electronic apparatus is electrically connected to a peripheral device via a peripheral interface device with at least one port.
  • the method includes steps of comparing a first input value with a first reference value, determining a port situation index according to a comparing result of the first input value and the first reference value, and having the peripheral interface device enter a power-saving mode when the port situation index indicates an inactive transmission state.
  • the port situation index is determined according to a bias bit and a connection bit.
  • the port situation index preferably indicates a port disable mode when at least one of the bias bit and the connection bit are under a disable state.
  • the power-saving mode is entered when all of the ports of the peripheral interface device are under the port disable mode.
  • the port situation index preferably indicates a port enable mode when the bias bit and the connection bit are both under an enable state.
  • the method further includes steps of detecting a status of a second input value when the first input value is substantially equal to the first reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the second input value is in a specified status.
  • the second input value is preferably a flag and the specified status is one of a true and a false status.
  • the method further includes steps of comparing a third input value with a third reference value, and determining a transmission inactive mode and having the peripheral interface device enter the power-saving mode in response to a comparing result indicating that the third input value and the third reference value.
  • the first and third input values are counting values generated in response to a system clock, and the first and third reference values are constant values.
  • the transmission inactive mode is preferably determined when all transmission-state bits are in a disable state.
  • the method further includes steps of detecting a status of a fourth input value when the third input value is substantially equal to the third reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the fourth input value is in a specified status.
  • FIG. 1 is a functional block diagram illustrating a preferred embodiment of a method for enabling a power-saving mode of a peripheral interface device according to the present invention
  • FIGS. 2 A- 2 D are flowcharts illustrating a preferred embodiment of a method for enabling a power-saving mode of a peripheral interface device according to the present invention
  • FIG. 2E is a detailed flowchart illustrating the step of P 26 in FIG. 2D;
  • FIGS. 3 A- 3 D are flowcharts illustrating another preferred embodiment of a method for enabling a power-saving mode of a peripheral interface device according to the present invention.
  • FIG. 3E is a detail flowchart illustrating the step of E 18 in FIG. 3B.
  • a system 10 includes an interface connection port L electrically connected to a peripheral interface device 20 via a connecting wire 30 .
  • the peripheral interface device 20 includes an interface controller 21 and a plurality of expansion ports (not shown) for connecting to a plurality of the peripheral devices (not shown).
  • the peripheral interface device 20 is an IEEE 1394 peripheral interface card and provides a plurality of transmission modes including an asynchronous request transmit mode, an asynchronous response transmit mode, an asynchronous request receive mode, an asynchronous response receive mode, isochronous transmit modes and isochronous receive modes.
  • a context control set register is provided, disposed in the peripheral interface card 20 , for storing a corresponding transmission control context.
  • the interface controller 21 of the peripheral interface card 20 transmits the transmission control contexts Ic 0 ⁇ Icn corresponding to the transmission modes, respectively, into an interface information storage region Mi of a memory M.
  • Each of the transmission control contexts Ic 0 ⁇ Icn includes a corresponding transmission-state bit.
  • Each of the transmission-state bits Bit 0 ⁇ Bitn includes a disable state and an enable state. When all of the transmission-state bits Bit 0 ⁇ Bitn are in the disable states, it represents that it is in an inactive transmission state. When at least one of the transmission-state bits Bit 0 ⁇ Bitn is in its enable state, an active transmission state is determined.
  • the port situation indices Ip 0 ⁇ Ipm, the bias-state bits Ib 0 ⁇ Ibm and the connection-state bits It 0 ⁇ Itm are stored in respective registers of the peripheral interface card 20 and used to determine whether the expansion ports are in disable or enable states.
  • the port situation index of the expansion port indicates a port enable mode.
  • the bias-state bit and the connection-state bit are both under disable states, it means the expansion port is not connected to any peripheral device.
  • the port situation index of the expansion port indicates a port disable mode.
  • the bias-state bit is under its enable state but the connection-state bit is under its disable state, the connection of the expansion port to the peripheral device is determined to be abnormal.
  • the port situation index of the expansion port indicates a port disable mode.
  • the port situation index of the expansion port indicates a port disable mode. The port is disabled in response to a command from the control unit 11 , the peripheral interface device 20 or a user.
  • the power mode index Ips of the peripheral interface card 20 is transmitted to the interface information storage region Mi by the interface controller 21 to be realized by the control unit 11 .
  • the control unit 11 changes the power mode index Ips in the interface information storage region Mi according to the transmission-state bits Bit 0 ⁇ Bitn and the port situation indices Ip 0 ⁇ Ipm.
  • the power mode index Ips indicates one of no special power-saving mode D 0 , a primary power-saving mode D 1 , an intermediate power-saving mode D 2 and a highly power-saving mode D 3 . For example, when the transmission-state bits Bit 0 ⁇ Bitn are all under disable states or when all the port situation indices Ip 0 ⁇ Ipm are under disable states, the power mode index Ips indicates the highly power-saving mode D 3 .
  • a method for enabling a power-saving mode of a peripheral interface device is illustrated with reference to the flowcharts of FIGS. 2 A- 2 D.
  • initial values of a first input value C C , a first reference value C C — CHK , a second input value Flagc, a third input value C P , a third reference value C P — CHK and a fourth input value Flagp are set up in Step P 12 .
  • both of the first and third input values C C and C P are counting values
  • the first and third reference values C C — CHK and C P — CHK are constant values.
  • Both the first and third input values C C and C P can also be interrupt signals generated from the peripheral interface device 20 , and the first and third reference values C C — CHK and C P — CHK can be the interrupt signals under specific states.
  • the second and fourth input values Flagc and Flagp are flags. While a first state of the flag indicates a true status, a second state of the flag indicates a false status.
  • counters work to generate the first and third input values C C and C P , respectively, referring to Step P 13 .
  • the control unit 11 uses a timer of a basic input/output system (BIOS) of the system 10 to provide a counting clock for those counters.
  • the counters which can be disposed in the control unit 11 , are up-counting, down-counting or cyclic counters.
  • Steps P 14 and P 15 the first input value C c is inputted and compared with the first reference value C C — CHK .
  • Steps P 16 and P 17 go to Steps P 16 and P 17 to input the second input value Flagc, and determine whether the second input value Flagc is in a true status. Otherwise, go to Step P 22 (see FIG. 2C) to monitor port situations.
  • Steps P 18 and P 19 see FIG. 2B to input the transmission-state bits Bit 0 ⁇ Bitn from the interface information storage region Mi and determine their transmission states.
  • the control unit 11 changes the power mode index Ips in the interface information storage region Mi, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D 3 (Step P 20 , FIG. 2B). Otherwise, if the transmission-state bits Bit 0 ⁇ Bitn are not all under disable states, the power mode index Ips is variously re-entered by the control unit 11 (Step P 34 , FIG. 2B).
  • the power mode index Ips is changed to a value indicating the intermediate power-saving mode D 2 of the peripheral interface device 20 .
  • the peripheral interface device 20 enters a primary poser-saving mode D 1 in response to the change of power mode index Ips when there is four of the transmission-state bits Bit 0 ⁇ Bitn remaining in transmission-enable states. More than four transmission-state bits Bit 0 ⁇ Bitn remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D 0 .
  • the first input value C C is initialized by resetting the associated counter, as indicated by Step P 21 .
  • Step P 17 in FIG. 2A Please go back to Step P 17 in FIG. 2A again.
  • the second input value Flagc is not in the true status, i.e. it is in a false status, go to Steps P 30 and P 31 where the power index Ips in the interface information storage region Mi is inputted to determine whether the peripheral interface device 20 is in the no power-saving mode D 0 . If it is, the control unit 11 resets the the counter and initializes the first input value C C . On the contrary, if it is not, go to Step P 33 where the control unit 11 changes the power index Ips to to force the peripheral interface device 20 to enter the no power-saving mode D 0 , and then resets the counting value C C . It is understood that the input value flagc allows the user to decide whether the power-saving function is to be entered or not.
  • Step P 22 (FIG. 2C) where another input value C P is inputted is executed.
  • the third input value C P is compared with the third reference value C P — CHK in Step P 23 . If the comparing result indicates that the input value C P is different from the reference value C P — CHK , the procedure is back to Step P 13 (FIG. 2A), counting up/down to generate new input values C C and C P . On the contrary, if the comparing result indicates that the input value C P is substantially equal to the reference value C P — CHK , another input value Flagp is inputted and determined whether to be in the true status.
  • Step P 35 When the input value Flagp indicates a false status, go to Step P 35 where the port situation indices Ip 0 ⁇ Ipm are inputted and the port situations are determined. If all the port situation indices reveal disable states, the control unit 11 resets the input value C P in Step P 37 and the procedure goes back to Step P 13 . Otherwise, all the port situation indices Ip 0 ⁇ Ipm are forced to the disable states before the input value C P is reset and Step P 13 is executed. On the other hand, when the input value Flagp indicates the true status in Step P 25 , the port situation indices Ip 0 ⁇ Ipm are inputted and discriminated to be in enable states or disable states in Step P 26 .
  • Step P 27 If the port situation indices Ip 0 ⁇ Ipm are all determined to be under the disable states in Step P 27 , the control unit 11 changes the power mode index Ips, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D 3 (Step P 28 , FIG. 2D). Otherwise, if the port situation indices Ip 0 ⁇ Ipm are not all under disable states in Step P 27 , the power mode index Ips is variously re-entered by the control unit 11 (Step P 39 , FIG. 2D).
  • the power mode index Ips is changed to a value indicating the intermediate power-saving mode D 2 of the peripheral interface device 20 .
  • the peripheral interface device 20 enters a primary poser-saving mode D 1 in response to the change of power mode index Ips when there is four of the port situation indices Ip 0 ⁇ Ipm remaining in transmission-enable states. More than four port situation indices Ip 0 ⁇ Ipm remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D 0 .
  • the input value C P is initialized by resetting the associated counter. It is understood that the input value flagp allows the user to decide whether the power-saving function is to be entered or not. After the power-saving functions in response to the port utilization states and/or the input value flagp are determined, the counting value C P is reset, and Step P 13 (FIG. 2A) where new input values C C and C P are generated and inputted is executed, thereby continuousely monitoring and optimizing the power consumption of the peripheral interface device.
  • the step P 26 for discriminating the port situation indices Ip 0 ⁇ Ipm is executed by the sub-steps P 261 to P 264 as shown in FIG. 2E.
  • the port situation indices Ip 0 ⁇ Ipm are inputted.
  • the bias-state bit and the connection-state bit corresponding to each of the port situation indices Ip 0 ⁇ Ipm are determined to be in enable or disable states.
  • the bias-state bit and connection-state bit are both under enable states, which means the bias of the corresponding expansion port of the peripheral interface device 20 is in a normal state and the connection of the expansion port to the peripheral device is perfect, the port situation index associated with the expansion port is discriminated to be under the enable state. Otherwise, the port situation index is discriminated to be under the disable state.
  • FIGS. 3 A- 3 D are flowcharts illustrating another method for enabling a power-saving mode of a peripheral interface device according to the present invention.
  • the port situation is detected prior to the transmission state.
  • first input value C P a first reference value C P — CHK , a second input value Flagp, a third input value C C , a third reference value C C — CHK and a fourth input value Flagc are set up in Step E 12 .
  • both of the first and third input values C P and C C are counting values, and the first and third reference values C P — CHK and C C — CHK are constant values.
  • Both the first and third input values C P and C C can also be interrupt signals generated from the peripheral interface device 20 , and the first and third reference values C P — CHK and C C — CHK can be the interrupt signals under specific states.
  • the second and fourth input values Flagp and Flagc are flags. While a first state of the flag indicates a true status, a second state of the flag indicates a false status.
  • Step E 14 and E 15 the first input value C P is inputted and compared with the first reference value C P — CHK . If the first input value C P is substantially equal to the first reference value C P — CHK , go to Steps E 16 and E 17 to input the second input value Flagp, and determine whether the second input value Flagp is true or not. Otherwise, go to Step E 22 (see FIG. 3C) to monitor transmission states. Referring back to Step E 17 , if the second input value Flagp is true, go to Steps E 18 and E 19 (see FIG.
  • the control unit 11 changes the power mode index Ips in the interface information storage region Mi, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D 3 (Step E 20 , FIG. 3B). Otherwise, the power mode index Ips is variously re-entered by the control unit 11 (Step E 34 , FIG. 3B).
  • the power mode index Ips is changed to a value indicating the intermediate power-saving mode D 2 of the peripheral interface device 20 .
  • the peripheral interface device 20 enters a primary poser-saving mode D 1 in response to the change of power mode index Ips when there is four of the port situation indices Ip 0 ⁇ Ipm remaining in transmission-enable states. More than four port situation indices Ip 0 ⁇ Ipm remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D 0 .
  • the first input value C P is initialized by resetting the associated counter, as indicated by Step E 21 .
  • Step E 17 in FIG. 3A Please go back to Step E 17 in FIG. 3A again.
  • the second input value Flagp is not true, i.e. it is false, go to Steps E 30 and E 31 to monitor the port situation indices Ip 0 ⁇ Ipm. If the port situation indices Ip 0 ⁇ Ipm are all in disable states, the control unit 11 resets the the counter and initializes the first input value C P . On the contrary, if the port situation indices Ip 0 ⁇ Ipm are not all in disable states, go to Step E 33 to have the peripheral interface device enter the no power-saving mode D 0 , and then resets the counting value C P . It is understood that the input value flagp allows the user to decide whether the power-saving function is to be entered or not.
  • Step E 22 (FIG. 3C) where another input value C C is inputted is executed.
  • the third input value C C is compared with the third reference value C C — CHK in Step E 23 . If the comparing result indicates that the input value C P is different from the reference value C P — CHK , the procedure is back to Step E 13 (FIG. 3A), i.e. counting up/down to generate new input values C C and C P .
  • Step E 35 the power index Ips in the interface information storage region Mi is inputted to determine whether the peripheral interface device 20 is in the no power-saving mode D 0 . If it is, the control unit 11 resets the the counter and initializes the input value C C . On the contrary, if it is not, go to Step E 38 where the control unit 11 changes the power index Ips to to force the peripheral interface device 20 to enter the no power-saving mode D 0 , and then resets the counting value C C .
  • the transmission-state bits Bit 0 ⁇ Bitn are inputted and discriminated to be in enable states or disable states in Step E 26 . If the transmission-state bits Bit 0 ⁇ Bitn are all determined to be under the disable states in Step E 27 , the control unit 11 changes the power mode index Ips, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D 3 (Step E 28 , FIG. 3D). Otherwise, if the transmission-state bits Bit 0 ⁇ Bitn are not all under disable states in Step E 27 , the power mode index Ips is variously re-entered by the control unit 11 (Step E 39 , FIG. 3D).
  • the power mode index Ips is changed to a value indicating the intermediate power-saving mode D 2 of the peripheral interface device 20 .
  • the peripheral interface device 20 enters a primary poser-saving mode D 1 in response to the change of power mode index Ips when there is four of the transmission-state bits Bit 0 ⁇ Bitn remaining in transmission-enable states. More than four transmission-state bits Bit 0 ⁇ Bitn remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D 0 .
  • the input value C C is initialized by resetting the associated counter. It is understood that the input value flagc allows the user to decide whether the power-saving function is to be entered or not.
  • the counting value C C is reset, and Step E 13 (FIG. 3A) where new input values C P and C C are generated and inputted is executed, thereby continuousely monitoring and optimizing the power consumption of the peripheral interface device.
  • the step E 18 for discriminating the port situation indices Ip 0 ⁇ Ipm is executed by the sub-steps E 181 to E 184 as shown in FIG. 3E.
  • the port situation indices Ip 0 ⁇ Ipm are inputted.
  • the bias-state bit and the connection-state bit corresponding to each of the port situation indices Ip 0 ⁇ Ipm are determined to be in enable or disable states.
  • the bias-state bit and connection-state bit are both under enable states, which means the bias of the corresponding expansion port of the peripheral interface device 20 is in a normal state and the connection of the expansion port to the peripheral device is perfect, the port situation index associated with the expansion port is discriminated to be under the enable state. Otherwise, the port situation index is discriminated to be under the disable state.
  • the method for enabling the power-saving mode dynamically detecting the data transmission states of the peripheral interface device 20 and/or the utility situations of the expansion ports. Accordingly, the power status of the system 10 can be dynamically adjusted, thereby minimizing the power consumption.
  • the power-saving function is especially important for a portable computer or a cell phone which relies on battery to work.

Abstract

A method for enabling a power-saving mode for an electronic apparatus is disclosed. The electronic apparatus is electrically connected to a peripheral device via a peripheral interface device. The method includes steps of comparing a first input value with a first reference value, determining a transmission index according to a comparing result of the first input value and the first reference value, and having the peripheral interface device enter a power-saving mode when the transmission index indicates an inactive transmission state.

Description

    FIELD OF THE INVENTION
  • The present invention relates to a method for enabling a power-saving mode, and more particularly to a method for enabling a power-saving mode of a peripheral interface device. [0001]
  • BACKGROUND OF THE INVENTION
  • With the increasing number of peripheral devices connected thereto, the power consumption of an electronic apparatus increases. Especially for a portable electronic apparatus, e.g. a portable computer or a cellular phone, a battery which has limited power capacity is generally used as the power source. Therefore, it is an important issue to prolong the standby period of the battery. [0002]
  • For example, a notebook computer is expandable by connecting thereto various peripheral devices via a peripheral interface device, such as IEEE 1394 interface card, with a plurality of expansion I/O ports. It is apparent that the power consumption of the notebook computer increases with the expansion functions applied thereto. Thus, the standby period of the battery decreases accordingly. [0003]
  • Therefore, the present invention is developed to deal with the above situations encountered in the prior art. [0004]
  • SUMMARY OF THE INVENTION
  • An object of the present invention is to provide a method for reducing the power consumption of an electronic apparatus by allowing the electronic apparatus to enter a power-saving mode at proper timing. [0005]
  • Another object of the present invention is to provide a method for prolonging the standby period of a portable electronic apparatus by allowing the portable electronic apparatus to enter a power-saving mode when the peripheral interface device is not under a data-tranceiving state. [0006]
  • According to an aspect of the present invention, there is provided a method for enabling a power-saving mode for an electronic apparatus. The electronic apparatus is electrically connected to a peripheral device via a peripheral interface device. The method includes steps of comparing a first input value with a first reference value, determining a transmission index according to a comparing result of the first input value and the first reference value, and having the peripheral interface device enter a power-saving mode when the transmission index indicates an inactive transmission state. [0007]
  • Preferably, the first input value is a counting value generated in response to a system clock. [0008]
  • Preferably, the first reference value is a constant value. [0009]
  • Preferably, the transmission index includes a plurality of transmission-state bits. For example, the plurality of transmission-state bits correspond to an asynchronous request transmit mode, an asynchronous response transmit mode, an asynchronous request receive mode, an asynchronous response receive mode, isochronous transmit modes or isochronous receive modes. Preferably, the inactive transmission state is determined when all of the transmission-state bits are in disable states. [0010]
  • Preferably, the method further includes a step of resetting the first input value when the inactive transmission state is determined and the peripheral interface device has entered the power-saving mode. [0011]
  • Preferably, the transmission index indicating the inactive transmission state is generated when the comparing result indicates that the first input value substantially equals to the first reference value. Preferably, The transmission index indicating an active transmission state is generated when the first input value is different from the first reference value. The first input value is preferably updated to repeat the comparing step when the transmission index indicates the active transmission state. The active transmission state is preferably determined when at least one of transmission-state bits included in the transmission index are in an enable state. [0012]
  • Preferably, the power-saving mode includes at least two power-saving stages. [0013]
  • Preferably, the method further includes steps of detecting a status of a second input value when the first input value is substantially equal to the first reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the second input value is in a specified status. Preferably, the second input value is a flag and the specified status is one of a true and a false status. [0014]
  • Preferably, the method further includes steps of comparing a third input value with a third reference value when the first input value is different from the first reference value, and determining a port disable mode and having the peripheral interface device enter the power-saving mode in response to a comparing result indicating that the third input value is substantially equal to the third reference value. The third input value is preferably a counting value generated in response to a system clock, and the third reference value is a constant value. Preferably, the third input value is zeroed when the third input value is substantially equal to the third reference value, and accumulatively updated when the third input value is different from the third reference value. [0015]
  • Preferably, the port disable mode is determined according to a bias bit and a connection bit. Preferably, a port disable mode is determined when at least one of the bias bit and the connection bit are under a disable state. Another port enable mode is preferably determined when the bias bit and the connection bit are both under an enable state. [0016]
  • Preferably, the peripheral interface device includes a plurality of ports, and the power-saving mode is entered when all of the ports are under the port disable mode. [0017]
  • Preferably, the method further includes steps of detecting a status of a fourth input value when the third input value is substantially equal to the third reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the fourth input value is in a specified status. Preferably, the fourth input value is a flag and the specified status is one of a true and a false status. [0018]
  • According to another aspect of the present invention, there is provided a method for enabling a power-saving mode for an electronic apparatus. The electronic apparatus is electrically connected to a peripheral device via a peripheral interface device with at least one port. The method includes steps of comparing a first input value with a first reference value, determining a port situation index according to a comparing result of the first input value and the first reference value, and having the peripheral interface device enter a power-saving mode when the port situation index indicates an inactive transmission state. [0019]
  • Preferably, the port situation index is determined according to a bias bit and a connection bit. In a case, the port situation index preferably indicates a port disable mode when at least one of the bias bit and the connection bit are under a disable state. Preferably, the power-saving mode is entered when all of the ports of the peripheral interface device are under the port disable mode. In another case, the port situation index preferably indicates a port enable mode when the bias bit and the connection bit are both under an enable state. [0020]
  • Preferably, the method further includes steps of detecting a status of a second input value when the first input value is substantially equal to the first reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the second input value is in a specified status. The second input value is preferably a flag and the specified status is one of a true and a false status. [0021]
  • Preferably, the method further includes steps of comparing a third input value with a third reference value, and determining a transmission inactive mode and having the peripheral interface device enter the power-saving mode in response to a comparing result indicating that the third input value and the third reference value. Preferably, the first and third input values are counting values generated in response to a system clock, and the first and third reference values are constant values. The transmission inactive mode is preferably determined when all transmission-state bits are in a disable state. Preferably, the method further includes steps of detecting a status of a fourth input value when the third input value is substantially equal to the third reference value, and prohibiting the peripheral interface device from entering the power-saving mode when the fourth input value is in a specified status.[0022]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention may best be understood through the following description with reference to the accompanying drawings, in which: [0023]
  • FIG. 1 is a functional block diagram illustrating a preferred embodiment of a method for enabling a power-saving mode of a peripheral interface device according to the present invention; [0024]
  • FIGS. [0025] 2A-2D are flowcharts illustrating a preferred embodiment of a method for enabling a power-saving mode of a peripheral interface device according to the present invention;
  • FIG. 2E is a detailed flowchart illustrating the step of P[0026] 26 in FIG. 2D;
  • FIGS. [0027] 3A-3D are flowcharts illustrating another preferred embodiment of a method for enabling a power-saving mode of a peripheral interface device according to the present invention; and
  • FIG. 3E is a detail flowchart illustrating the step of E[0028] 18 in FIG. 3B.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
  • The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only; it is not intended to be exhaustive or to be limited to the precise form disclosed. [0029]
  • Please refer to FIG. 1. A [0030] system 10 includes an interface connection port L electrically connected to a peripheral interface device 20 via a connecting wire 30. The peripheral interface device 20 includes an interface controller 21 and a plurality of expansion ports (not shown) for connecting to a plurality of the peripheral devices (not shown).
  • For easily understanding the present invention, an exemplified embodiment is given herein. In this embodiment, the [0031] peripheral interface device 20 is an IEEE 1394 peripheral interface card and provides a plurality of transmission modes including an asynchronous request transmit mode, an asynchronous response transmit mode, an asynchronous request receive mode, an asynchronous response receive mode, isochronous transmit modes and isochronous receive modes. For each transmission mode, a context control set register is provided, disposed in the peripheral interface card 20, for storing a corresponding transmission control context. In other words, the interface controller 21 of the peripheral interface card 20 transmits the transmission control contexts Ic0˜Icn corresponding to the transmission modes, respectively, into an interface information storage region Mi of a memory M. Each of the transmission control contexts Ic0˜Icn includes a corresponding transmission-state bit. Hence, there are a plurality of transmission-state bits Bit0˜Bitn, representing the plurality of transmission modes, respectively.
  • Each of the transmission-state bits Bit[0032] 0˜Bitn includes a disable state and an enable state. When all of the transmission-state bits Bit0˜Bitn are in the disable states, it represents that it is in an inactive transmission state. When at least one of the transmission-state bits Bit0˜Bitn is in its enable state, an active transmission state is determined.
  • In addition, the port situation indices Ip[0033] 0˜Ipm, the bias-state bits Ib0˜Ibm and the connection-state bits It0˜Itm are stored in respective registers of the peripheral interface card 20 and used to determine whether the expansion ports are in disable or enable states.
  • When the bias-state bit and the connection-state bit are both under enable states, it means the bias and the connection states of the expansion port to the peripheral device is normal. Thus, the port situation index of the expansion port indicates a port enable mode. When the bias-state bit and the connection-state bit are both under disable states, it means the expansion port is not connected to any peripheral device. Thus, the port situation index of the expansion port indicates a port disable mode. When the bias-state bit is under its enable state but the connection-state bit is under its disable state, the connection of the expansion port to the peripheral device is determined to be abnormal. Thus, the port situation index of the expansion port indicates a port disable mode. When the bias-state bit is under its disable state but the connection-state bit is under its enable state, it means the expansion port has an abnormal bias. Thus, the port situation index of the expansion port indicates a port disable mode. The port is disabled in response to a command from the [0034] control unit 11, the peripheral interface device 20 or a user.
  • The power mode index Ips of the [0035] peripheral interface card 20 is transmitted to the interface information storage region Mi by the interface controller 21 to be realized by the control unit 11. The control unit 11 changes the power mode index Ips in the interface information storage region Mi according to the transmission-state bits Bit0˜Bitn and the port situation indices Ip0˜Ipm. The power mode index Ips indicates one of no special power-saving mode D0, a primary power-saving mode D1, an intermediate power-saving mode D2 and a highly power-saving mode D3. For example, when the transmission-state bits Bit0˜Bitn are all under disable states or when all the port situation indices Ip0˜Ipm are under disable states, the power mode index Ips indicates the highly power-saving mode D3.
  • For further describing the present invention, a method for enabling a power-saving mode of a peripheral interface device according to the present invention is illustrated with reference to the flowcharts of FIGS. [0036] 2A-2D. First of all, initial values of a first input value CC, a first reference value CC CHK, a second input value Flagc, a third input value CP, a third reference value CP CHK and a fourth input value Flagp are set up in Step P12. In this embodiment, both of the first and third input values CC and CP are counting values, and the first and third reference values CC CHK and CP CHK are constant values. Both the first and third input values CC and CP, however, can also be interrupt signals generated from the peripheral interface device 20, and the first and third reference values CC CHK and CP CHK can be the interrupt signals under specific states. The second and fourth input values Flagc and Flagp are flags. While a first state of the flag indicates a true status, a second state of the flag indicates a false status.
  • In response to a system clock of a [0037] system 10, counters work to generate the first and third input values CC and CP, respectively, referring to Step P13. The control unit 11 uses a timer of a basic input/output system (BIOS) of the system 10 to provide a counting clock for those counters. The counters, which can be disposed in the control unit 11, are up-counting, down-counting or cyclic counters.
  • In Steps P[0038] 14 and P15, the first input value Cc is inputted and compared with the first reference value CC CHK. When the first input value CC is substantially equal to the first reference value CC CHK, go to Steps P16 and P17 to input the second input value Flagc, and determine whether the second input value Flagc is in a true status. Otherwise, go to Step P22 (see FIG. 2C) to monitor port situations. Referring back to Step P17, if the second input value Flagc is in the true status, go to Steps P18 and P19 (see FIG. 2B) to input the transmission-state bits Bit0˜Bitn from the interface information storage region Mi and determine their transmission states. If all of the transmission-state bits Bit0˜Bitn are under transmission-disable states, the control unit 11 changes the power mode index Ips in the interface information storage region Mi, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D3 (Step P20, FIG. 2B). Otherwise, if the transmission-state bits Bit0˜Bitn are not all under disable states, the power mode index Ips is variously re-entered by the control unit 11 (Step P34, FIG. 2B). For example, when there are three of the transmission-state bits Bit0˜Bitn remaining in transmission-enable states, the power mode index Ips is changed to a value indicating the intermediate power-saving mode D2 of the peripheral interface device 20. Further, the peripheral interface device 20 enters a primary poser-saving mode D1 in response to the change of power mode index Ips when there is four of the transmission-state bits Bit0˜Bitn remaining in transmission-enable states. More than four transmission-state bits Bit0˜Bitn remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D0. After either of the power-saving modes D0, D1, D2 and D3, the first input value CC is initialized by resetting the associated counter, as indicated by Step P21.
  • Please go back to Step P[0039] 17 in FIG. 2A again. If the second input value Flagc is not in the true status, i.e. it is in a false status, go to Steps P30 and P31 where the power index Ips in the interface information storage region Mi is inputted to determine whether the peripheral interface device 20 is in the no power-saving mode D0. If it is, the control unit 11 resets the the counter and initializes the first input value CC. On the contrary, if it is not, go to Step P33 where the control unit 11 changes the power index Ips to to force the peripheral interface device 20 to enter the no power-saving mode D0, and then resets the counting value CC. It is understood that the input value flagc allows the user to decide whether the power-saving function is to be entered or not.
  • After the power-saving functions in response to the data transmission states and/or the input value flagc are determined, the counting value C[0040] C is reset, and Step P22 (FIG. 2C) where another input value CP is inputted is executed. The third input value CP is compared with the third reference value CP CHK in Step P23. If the comparing result indicates that the input value CP is different from the reference value CP CHK, the procedure is back to Step P13 (FIG. 2A), counting up/down to generate new input values CC and CP. On the contrary, if the comparing result indicates that the input value CP is substantially equal to the reference value CP CHK, another input value Flagp is inputted and determined whether to be in the true status. When the input value Flagp indicates a false status, go to Step P35 where the port situation indices Ip0˜Ipm are inputted and the port situations are determined. If all the port situation indices reveal disable states, the control unit 11 resets the input value CP in Step P37 and the procedure goes back to Step P13. Otherwise, all the port situation indices Ip0˜Ipm are forced to the disable states before the input value CP is reset and Step P13 is executed. On the other hand, when the input value Flagp indicates the true status in Step P25, the port situation indices Ip0˜Ipm are inputted and discriminated to be in enable states or disable states in Step P26. If the port situation indices Ip0˜Ipm are all determined to be under the disable states in Step P27, the control unit 11 changes the power mode index Ips, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D3 (Step P28, FIG. 2D). Otherwise, if the port situation indices Ip0˜Ipm are not all under disable states in Step P27, the power mode index Ips is variously re-entered by the control unit 11 (Step P39, FIG. 2D). For example, when there are three of the port situation indices Ip0˜Ipm remaining in transmission-enable states, the power mode index Ips is changed to a value indicating the intermediate power-saving mode D2 of the peripheral interface device 20. Further, the peripheral interface device 20 enters a primary poser-saving mode D1 in response to the change of power mode index Ips when there is four of the port situation indices Ip0˜Ipm remaining in transmission-enable states. More than four port situation indices Ip0˜Ipm remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D0. After either of the power-saving modes D0, D1, D2 and D3, the input value CP is initialized by resetting the associated counter. It is understood that the input value flagp allows the user to decide whether the power-saving function is to be entered or not. After the power-saving functions in response to the port utilization states and/or the input value flagp are determined, the counting value CP is reset, and Step P13 (FIG. 2A) where new input values CC and CP are generated and inputted is executed, thereby continuousely monitoring and optimizing the power consumption of the peripheral interface device.
  • Preferably, the step P[0041] 26 for discriminating the port situation indices Ip0˜Ipm is executed by the sub-steps P261 to P264 as shown in FIG. 2E. First of all, the port situation indices Ip0˜Ipm are inputted. Then, the bias-state bit and the connection-state bit corresponding to each of the port situation indices Ip0˜Ipm are determined to be in enable or disable states. When the bias-state bit and connection-state bit are both under enable states, which means the bias of the corresponding expansion port of the peripheral interface device 20 is in a normal state and the connection of the expansion port to the peripheral device is perfect, the port situation index associated with the expansion port is discriminated to be under the enable state. Otherwise, the port situation index is discriminated to be under the disable state.
  • FIGS. [0042] 3A-3D are flowcharts illustrating another method for enabling a power-saving mode of a peripheral interface device according to the present invention. In this method, the port situation is detected prior to the transmission state.
  • First of all, initial values of a first input value C[0043] P, a first reference value CP CHK, a second input value Flagp, a third input value CC, a third reference value CC CHK and a fourth input value Flagc are set up in Step E12. In this embodiment, both of the first and third input values CP and CC are counting values, and the first and third reference values CP CHK and CC CHK are constant values. Both the first and third input values CP and CC, however, can also be interrupt signals generated from the peripheral interface device 20, and the first and third reference values CP CHK and CC CHK can be the interrupt signals under specific states. The second and fourth input values Flagp and Flagc are flags. While a first state of the flag indicates a true status, a second state of the flag indicates a false status.
  • In response to a system clock of a [0044] system 10, counters work to generate the first and third input values CP and CC, respectively, referring to Step E13. In Steps E14 and E15, the first input value CP is inputted and compared with the first reference value CP CHK. If the first input value CP is substantially equal to the first reference value CP CHK, go to Steps E16 and E17 to input the second input value Flagp, and determine whether the second input value Flagp is true or not. Otherwise, go to Step E22 (see FIG. 3C) to monitor transmission states. Referring back to Step E17, if the second input value Flagp is true, go to Steps E18 and E19 (see FIG. 3B) to input the port situation indices Ip0˜Ipm from the interface information storage region Mi and determine their port states. If all of the port situation indices Ip0˜Ipm indicate disable states, the control unit 11 changes the power mode index Ips in the interface information storage region Mi, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D3 (Step E20, FIG. 3B). Otherwise, the power mode index Ips is variously re-entered by the control unit 11 (Step E34, FIG. 3B). For example, when there are three of the port situation indices Ip0˜Ipm remaining in transmission-enable states, the power mode index Ips is changed to a value indicating the intermediate power-saving mode D2 of the peripheral interface device 20. Further, the peripheral interface device 20 enters a primary poser-saving mode D1 in response to the change of power mode index Ips when there is four of the port situation indices Ip0˜Ipm remaining in transmission-enable states. More than four port situation indices Ip0˜Ipm remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D0. After either of the power-saving modes D0, D1, D2 and D3, the first input value CP is initialized by resetting the associated counter, as indicated by Step E21.
  • Please go back to Step E[0045] 17 in FIG. 3A again. If the second input value Flagp is not true, i.e. it is false, go to Steps E30 and E31 to monitor the port situation indices Ip0˜Ipm. If the port situation indices Ip0˜Ipm are all in disable states, the control unit 11 resets the the counter and initializes the first input value CP. On the contrary, if the port situation indices Ip0˜Ipm are not all in disable states, go to Step E33 to have the peripheral interface device enter the no power-saving mode D0, and then resets the counting value CP. It is understood that the input value flagp allows the user to decide whether the power-saving function is to be entered or not.
  • After the power-saving functions in response to the port situations and/or the input value flagp are determined, the counting value C[0046] P is reset, and Step E22 (FIG. 3C) where another input value CC is inputted is executed. The third input value CC is compared with the third reference value CC CHK in Step E23. If the comparing result indicates that the input value CP is different from the reference value CP CHK, the procedure is back to Step E13 (FIG. 3A), i.e. counting up/down to generate new input values CC and CP. On the contrary, if the comparing result indicates that the input value CC is substantially equal to the reference value CC CHK, another input value Flagc is inputted and determined whether to be true. When the input value Flagc indicates a false status, go to Step E35 where the power index Ips in the interface information storage region Mi is inputted to determine whether the peripheral interface device 20 is in the no power-saving mode D0. If it is, the control unit 11 resets the the counter and initializes the input value CC. On the contrary, if it is not, go to Step E38 where the control unit 11 changes the power index Ips to to force the peripheral interface device 20 to enter the no power-saving mode D0, and then resets the counting value CC. On the other hand, when the input value Flagc indicates the true status in Step E25, the transmission-state bits Bit0˜Bitn are inputted and discriminated to be in enable states or disable states in Step E26. If the transmission-state bits Bit0˜Bitn are all determined to be under the disable states in Step E27, the control unit 11 changes the power mode index Ips, and the interface controller 21 has the peripheral interface device 20 enter the highly power-saving mode D3 (Step E28, FIG. 3D). Otherwise, if the transmission-state bits Bit0˜Bitn are not all under disable states in Step E27, the power mode index Ips is variously re-entered by the control unit 11 (Step E39, FIG. 3D). For example, when there are three of the transmission-state bits Bit0˜Bitn remaining in transmission-enable states, the power mode index Ips is changed to a value indicating the intermediate power-saving mode D2 of the peripheral interface device 20. Further, the peripheral interface device 20 enters a primary poser-saving mode D1 in response to the change of power mode index Ips when there is four of the transmission-state bits Bit0˜Bitn remaining in transmission-enable states. More than four transmission-state bits Bit0˜Bitn remaining in transmission-enable states correspond to another power mode index value and result in the no power-saving mode D0. After either of the power-saving modes D0, D1, D2 and D3, the input value CC is initialized by resetting the associated counter. It is understood that the input value flagc allows the user to decide whether the power-saving function is to be entered or not. After the power-saving functions in response to the transmission-state bits Bit0˜Bitn and/or the input value flagp are determined, the counting value CC is reset, and Step E13 (FIG. 3A) where new input values CP and CC are generated and inputted is executed, thereby continuousely monitoring and optimizing the power consumption of the peripheral interface device.
  • Preferably, the step E[0047] 18 for discriminating the port situation indices Ip0˜Ipm is executed by the sub-steps E181 to E184 as shown in FIG. 3E. First of all, the port situation indices Ip0˜Ipm are inputted. Then, the bias-state bit and the connection-state bit corresponding to each of the port situation indices Ip0˜Ipm are determined to be in enable or disable states. When the bias-state bit and connection-state bit are both under enable states, which means the bias of the corresponding expansion port of the peripheral interface device 20 is in a normal state and the connection of the expansion port to the peripheral device is perfect, the port situation index associated with the expansion port is discriminated to be under the enable state. Otherwise, the port situation index is discriminated to be under the disable state.
  • To sum up, the method for enabling the power-saving mode according to the present invention dynamically detecting the data transmission states of the [0048] peripheral interface device 20 and/or the utility situations of the expansion ports. Accordingly, the power status of the system 10 can be dynamically adjusted, thereby minimizing the power consumption. The power-saving function is especially important for a portable computer or a cell phone which relies on battery to work.
  • While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures. [0049]

Claims (35)

What is claimed is:
1. A method for enabling a power-saving mode for an electronic apparatus, said electronic apparatus being electrically connected to a peripheral device via a peripheral interface device, said method comprising steps of:
comparing a first input value with a first reference value;
determining a transmission index according to a comparing result of said first input value and said first reference value; and
having said peripheral interface device enter a power-saving mode when said transmission index indicates an inactive transmission state.
2. The method according to claim 1 wherein said first input value is a counting value generated in response to a system clock.
3. The method according to claim 1 wherein said first reference value is a constant value.
4. The method according to claim 1 wherein said transmission index includes a plurality of transmission-state bits.
5. The method according to claim 4 wherein said plurality of transmission-state bits correspond to an asynchronous request transmit mode, an asynchronous response transmit mode, an asynchronous request receive mode, an asynchronous response receive mode, isochronous transmit modes and isochronous receive modes.
6. The method according to claim 4 wherein said inactive transmission state is determined when all said transmission-state bits are in disable states.
7. The method according to claim 1 further comprising a step of resetting said first input value when said inactive transmission state is determined and said peripheral interface device enters said power-saving mode.
8. The method according to claim 1 wherein said transmission index indicating said inactive transmission state is generated when said comparing result indicates that said first input value substantially equals to said first reference value.
9. The method according to claim 8 wherein said transmission index indicating an active transmission state is generated when said first input value is different from said first reference value.
10. The method according to claim 9 wherein said first input value is updated to repeat the comparing step when said transmission index indicates said active transmission state.
11. The method according to claim 9 wherein said active transmission state is determined when at least one of transmission-state bits included in said transmission index are in an enable state.
12. The method according to claim 1 wherein said power-saving mode includes at least two power-saving stages.
13. The method according to claim 1 further comprising steps of:
detecting a status of a second input value when said first input value is substantially equal to said first reference value; and
prohibiting said peripheral interface device from entering said power-saving mode when said second input value is in a specified status.
14. The method according to claim 13 wherein said second input value is a flag and said specified status is one of a true and a false status.
15. The method according to claim 1 further comprising steps of:
comparing a third input value with a third reference value when said first input value is different from said first reference value; and
determining a port disable mode and having said peripheral interface device enter said power-saving mode in response to a comparing result indicating that said third input value is substantially equal to said third reference value.
16. The method according to claim 15 wherein said third input value is a counting value generated in response to a system clock, and said third reference value is a constant value.
17. The method according to claim 16 wherein said third input value is zeroed when said third input value is substantially equal to said third reference value, and accumulatively updated when said third input value is different from said third reference value.
18. The method according to claim 15 wherein said port disable mode is determined according to a bias bit and a connection bit.
19. The method according to claim 18 wherein said port disable mode is determined when at least one of said bias bit and said connection bit are under a disable state.
20. The method according to claim 19 wherein a port enable mode is determined when said bias bit and said connection bit are both under an enable state.
21. The method according to claim 15 wherein said peripheral interface device includes a plurality of ports, and said power-saving mode is entered when all of said ports are under said port disable mode.
22. The method according to claim 15 further comprising steps of:
detecting a status of a fourth input value when said third input value is substantially equal to said third reference value; and
prohibiting said peripheral interface device from entering said power-saving mode when said fourth input value is in a specified status.
23. The method according to claim 22 wherein said fourth input value is a flag and said specified status is one of a true and a false status.
24. A method for enabling a power-saving mode for an electronic apparatus, said electronic apparatus being electrically connected to a peripheral device via a peripheral interface device with at least one port, said method comprising steps of:
comparing a first input value with a first reference value;
determining a port situation index according to a comparing result of said first input value and said first reference value; and
having said peripheral interface device enter a power-saving mode when said port situation index indicates an inactive transmission state.
25. The method according to claim 24 wherein said port situation index is determined according to a bias bit and a connection bit.
26. The method according to claim 25 wherein said port situation index indicates a port disable mode when at least one of said bias bit and said connection bit are under a disable state.
27. The method according to claim 26 wherein said power-saving mode is entered when all of said ports of said peripheral interface device are under said port disable mode.
28. The method according to claim 25 wherein said port situation index indicates a port enable mode when said bias bit and said connection bit are both under an enable state.
29. The method according to claim 24 further comprising steps of:
detecting a status of a second input value when said first input value is substantially equal to said first reference value; and
prohibiting said peripheral interface device from entering said power-saving mode when said second input value is in a specified status.
30. The method according to claim 29 wherein said second input value is a flag and said specified status is one of a true and a false status.
31. The method according to claim 24 further comprising steps of:
comparing a third input value with a third reference value; and
determining a transmission inactive mode and having said peripheral interface device enter said power-saving mode in response to a comparing result indicating that said third input value and said third reference value.
32. The method according to claim 31 wherein said first and third input values are counting values generated in response to a system clock, and said first and third reference values are constant values.
33. The method according to claim 31 wherein said transmission inactive mode is determined when all transmission-state bits are in a disable state.
34. The method according to claim 31 further comprising steps of:
detecting a status of a fourth input value when said third input value is substantially equal to said third reference value; and
prohibiting said peripheral interface device from entering said power-saving mode when said fourth input value is in a specified status.
35. The method according to claim 34 wherein said fourth input value is a flag and said specified status is one of a true and a false status.
US10/290,131 2002-02-01 2002-11-07 Method for enabling power-saving mode Abandoned US20030149903A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/270,810 US7467315B2 (en) 2002-02-01 2005-11-09 Method for enabling power-saving mode

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW091101721A TW561332B (en) 2002-02-01 2002-02-01 Method for determining power-saving mode
TW091101721 2002-02-01

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/270,810 Continuation-In-Part US7467315B2 (en) 2002-02-01 2005-11-09 Method for enabling power-saving mode

Publications (1)

Publication Number Publication Date
US20030149903A1 true US20030149903A1 (en) 2003-08-07

Family

ID=27657711

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/290,131 Abandoned US20030149903A1 (en) 2002-02-01 2002-11-07 Method for enabling power-saving mode
US11/270,810 Expired - Lifetime US7467315B2 (en) 2002-02-01 2005-11-09 Method for enabling power-saving mode

Family Applications After (1)

Application Number Title Priority Date Filing Date
US11/270,810 Expired - Lifetime US7467315B2 (en) 2002-02-01 2005-11-09 Method for enabling power-saving mode

Country Status (2)

Country Link
US (2) US20030149903A1 (en)
TW (1) TW561332B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040163004A1 (en) * 2003-02-14 2004-08-19 James Kardach Method and apparatus for a user to interface with a mobile computing device
US20040162922A1 (en) * 2003-02-14 2004-08-19 Kardach James P. Non main CPU/OS based operational environment
US20060036887A1 (en) * 2003-02-14 2006-02-16 Kardach James P Computing system with operational low power states
US20060212733A1 (en) * 2002-08-14 2006-09-21 Hamilton Tony G Method and apparatus for a computing system having an active sleep mode CPU that uses the Cache of a normal active mode CPU
US20080049780A1 (en) * 2006-08-25 2008-02-28 Emcore Corp. XFI-XAUI integrated circuit for use with 10GBASE-LX4 optical transceivers
US20090274288A1 (en) * 2005-09-21 2009-11-05 Achim Ackermann-Markes Device and Method for Energy-Saving Operation of a Communication Terminal

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI256236B (en) * 2003-12-12 2006-06-01 Mitac Int Corp Power saving control method for radio communication module
US7681051B2 (en) * 2006-08-30 2010-03-16 Agere Systems Inc. Transitioning of a port in a communications system from an active state to a standby state
US20080162952A1 (en) * 2007-01-03 2008-07-03 John David Landers Managing power usage in a data processing system by changing the clock speed of a processing unit
US8504115B2 (en) * 2008-11-21 2013-08-06 Plantronics, Inc. Automatic sidetone control
US7871278B1 (en) 2009-12-15 2011-01-18 International Business Machines Corporation Connector blocking with automatic power management and balancing
US8787365B2 (en) 2012-01-21 2014-07-22 Huawei Technologies Co., Ltd. Method for managing a switch chip port, main control board, switch board, and system
JP2014115687A (en) * 2012-12-06 2014-06-26 Canon Inc Data processing apparatus, method for controlling data processing apparatus, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4980836A (en) * 1988-10-14 1990-12-25 Compaq Computer Corporation Apparatus for reducing computer system power consumption
US6125450A (en) * 1996-12-19 2000-09-26 Intel Corporation Stop clock throttling in a computer processor through disabling bus masters
US6169746B1 (en) * 1997-10-15 2001-01-02 Sharp Kabushiki Kaisha Signal transmission system for high speed serial bus
US6604201B1 (en) * 1998-10-28 2003-08-05 Matsushita Electric Industrial Co., Ltd. Network unit with power saving mode inhibit based on interconnection relationship to neighboring nodes which is stored on the unit
US6760852B1 (en) * 2000-08-31 2004-07-06 Advanced Micro Devices, Inc. System and method for monitoring and controlling a power-manageable resource based upon activities of a plurality of devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11184554A (en) * 1997-12-24 1999-07-09 Mitsubishi Electric Corp Clock control type information processor
US6919979B2 (en) 2002-07-25 2005-07-19 Canon Kabushiki Kaisha Optical scanning apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4980836A (en) * 1988-10-14 1990-12-25 Compaq Computer Corporation Apparatus for reducing computer system power consumption
US6125450A (en) * 1996-12-19 2000-09-26 Intel Corporation Stop clock throttling in a computer processor through disabling bus masters
US6169746B1 (en) * 1997-10-15 2001-01-02 Sharp Kabushiki Kaisha Signal transmission system for high speed serial bus
US6604201B1 (en) * 1998-10-28 2003-08-05 Matsushita Electric Industrial Co., Ltd. Network unit with power saving mode inhibit based on interconnection relationship to neighboring nodes which is stored on the unit
US6760852B1 (en) * 2000-08-31 2004-07-06 Advanced Micro Devices, Inc. System and method for monitoring and controlling a power-manageable resource based upon activities of a plurality of devices

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212733A1 (en) * 2002-08-14 2006-09-21 Hamilton Tony G Method and apparatus for a computing system having an active sleep mode CPU that uses the Cache of a normal active mode CPU
US8301916B2 (en) 2002-08-14 2012-10-30 Intel Corporation Method and apparatus for a computing system having an active sleep mode CPU that uses the cache of a normal active mode CPU
US20100250989A1 (en) * 2002-08-14 2010-09-30 Hamilton Tony G Method and apparatus for a computing system having an active sleep mode cpu that uses the cache of a normal active mode cpu
US7734936B2 (en) 2002-08-14 2010-06-08 Intel Corporation Method and apparatus for a computing system having an active sleep mode CPU that uses the cache of a normal active mode CPU
US7114090B2 (en) 2003-02-14 2006-09-26 Intel Corporation Computing system with operational low power states
US8166325B2 (en) 2003-02-14 2012-04-24 Intel Corporation Non main CPU/OS based operational environment
US20040163004A1 (en) * 2003-02-14 2004-08-19 James Kardach Method and apparatus for a user to interface with a mobile computing device
US7254730B2 (en) 2003-02-14 2007-08-07 Intel Corporation Method and apparatus for a user to interface with a mobile computing device
US10078363B2 (en) 2003-02-14 2018-09-18 Intel Corporation Non main CPU/OS based operational environment
US7406610B2 (en) 2003-02-14 2008-07-29 Intel Corporation Computing system with low power states and proxy for integration with legacy application software
US7421597B2 (en) 2003-02-14 2008-09-02 Intel Corporation Computing system with operational low power states
US7428650B2 (en) 2003-02-14 2008-09-23 Intel Corporation Non main CPU/OS based operational environment
US20090019185A1 (en) * 2003-02-14 2009-01-15 Kardach James P Non Main CPU/OS Based Operational Environment
US9305562B2 (en) 2003-02-14 2016-04-05 Intel Corporation Non main CPU/OS based operational environment
US20060143487A1 (en) * 2003-02-14 2006-06-29 Kardach James P Computing system with operational low power states
US9015511B2 (en) 2003-02-14 2015-04-21 Intel Corporation Non main CPU/OS based operational environment
US20060036887A1 (en) * 2003-02-14 2006-02-16 Kardach James P Computing system with operational low power states
US7080271B2 (en) * 2003-02-14 2006-07-18 Intel Corporation Non main CPU/OS based operational environment
US20040162922A1 (en) * 2003-02-14 2004-08-19 Kardach James P. Non main CPU/OS based operational environment
US8522063B2 (en) 2003-02-14 2013-08-27 Intel Corporation Non main CPU/OS based operational environment
US8374329B2 (en) 2005-09-21 2013-02-12 Siemens Enterprise Communications Gmbh Co. Kg Device and method for energy-saving operation of a communication terminal
US20090274288A1 (en) * 2005-09-21 2009-11-05 Achim Ackermann-Markes Device and Method for Energy-Saving Operation of a Communication Terminal
US7734183B2 (en) * 2006-08-25 2010-06-08 Emcore Corporation XFI-XAUI integrated circuit for use with 10GBASE-LX4 optical transceivers
US20080049780A1 (en) * 2006-08-25 2008-02-28 Emcore Corp. XFI-XAUI integrated circuit for use with 10GBASE-LX4 optical transceivers

Also Published As

Publication number Publication date
US20060112289A1 (en) 2006-05-25
US7467315B2 (en) 2008-12-16
TW561332B (en) 2003-11-11

Similar Documents

Publication Publication Date Title
US7467315B2 (en) Method for enabling power-saving mode
US6442443B1 (en) Information processing apparatus and power saving apparatus
EP0787392B1 (en) System and method for remote wake-up
US6748548B2 (en) Computer peripheral device that remains operable when central processor operations are suspended
US8595533B2 (en) Power management system, method thereof and storage medium
US7627696B2 (en) Electronic device, method for controlling the same, information processing apparatus, and computer program
KR100488088B1 (en) The power management method of portable computer
US8775704B2 (en) Method and system for communication between a secondary processor and an auxiliary display subsystem of a notebook
US5630145A (en) Method and apparatus for reducing power consumption according to bus activity as determined by bus access times
US7028220B2 (en) Methods for saving data on the basis of the remaining capacity of a battery in a suspend mode and resuming operations using the saved data
US7945796B2 (en) System for controlling power supplies to an external apparatus via a connector based on user setting information
US6802018B2 (en) Method and apparatus to directly access a peripheral device when central processor operations are suspended
US7502635B1 (en) Method and computer for remote communication while operating in a power-saving mode
US9348718B2 (en) Apparatus and method for computer debug
US7886100B2 (en) Information processing apparatus and SMI processing method thereof
US20020124125A1 (en) Method and apparatus to permit a peripheral device to become the default system bus master
US10571992B2 (en) Electronic device having a controller to enter a low power mode
US7243249B1 (en) Method and apparatus for facilitating power state control and awareness of an autonomous subsystem in a computer based system
JP2002223527A (en) Electronic apparatus and its power control method
US20040215867A1 (en) Control chip, circuit and method thereof for inhibiting bus cycle
US20240094795A1 (en) Computing system power-on using circuit
US7058836B2 (en) Method and apparatus facilitating direct access to a parallel ATA device by an autonomous subsystem
JP2560427B2 (en) IC card
KR20050120161A (en) Apparatus and method for controlling status battery in low voltage
CN115695057A (en) Power-on method and power-on device

Legal Events

Date Code Title Description
AS Assignment

Owner name: VIA TECHNOLOGIES, INC., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CHANG, YU-WEI;REEL/FRAME:013489/0137

Effective date: 20021014

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION