Computers (e.g., desktops, notebooks, etc.) commonly include an optical disk drive that reads optical media. Optical disk drives are connected to the host computer via an interface. One type of interface used to connect an optical disk drive (ODD) to a host computer is a serial ATA, or SATA, bus.
The following description includes discussion of figures having illustrations given by way of example of implementations of embodiments of the invention.
Many optical disk drives, or ODDs, including tray-loading ODDs, eject media either by issuing a software eject command to the ODD or by use of an electrical eject switch on the ODD itself that serves as an internal drive notification of an eject request by a user. In systems that use a SATA (serial advanced technology attachment) bus, power consumption by the ODD can be managed via an interface power management (IPM) or similar protocol; however, power conservation is often limited given that SATA link detection circuitry remains active to preserve the ability to communicate with the host computer in response to an eject request. To maintain the active SATA link, a minimum (non-zero) power usage quantity is specified for the system.
In contrast to the systems described above, various embodiments described herein achieve power consumption savings by placing an optical disk drive (ODD) eject switch on the host computer as opposed to putting it directly on the ODD itself. In certain embodiments, when a user enables the ODD eject switch on the host computer, the switch drives an electrical signal to ground. If power is enabled to the ODD and the SATA bus is active, then grounding of the electrical switch (e.g., by a user's enablement of the switch) is passed directly to the ODD via the SATA bus. In various embodiments, the grounding signal is passed to the ODD via a single pin on the SATA bus. The signal passed to the ODD notifies the ODD to eject media (e.g., eject the ODD tray).
If power to the ODD is disabled and/or the SATA bus is not active when the ODD eject switch is enabled, the grounding of the ODD eject switch notifies the host computer that an ODD media eject request has been made. In response, the host computer enables power to the ODD and issues a command to the ODD to eject media (e.g., via the eject tray).
Interface 130 communicatively connects host 110 to ODD 120. Examples of suitable interfaces include, but are not limited to SATA (serial advanced technology attachment) buses, parallel ATA (PATA) buses, and other interfaces capable connecting a host (e.g., host bus adapter) to a mass storage device (e.g., hard disk drive, optical drive, etc.). In various embodiments, host 110 and ODD 120 are communicatively connected via a single pin on interface 130. For example, a SATA bus might connect host 110 and ODD 120 via the SATA Manufacturing Diagnostic pin. Other suitable pins and/or more pins could be used in different embodiments.
In various embodiments, an ODD eject switch 112 is located on the host side of interface 130. ODD eject switch 112 could be located on or integrated with host 110 or it could be communicatively connected with host 110. Interface 130 serves as a logical barrier between ODD eject switch 112 and ODD 120. In other words, any signal and/or communication from ODD eject switch 112 to ODD 120 passes through interface 130. By logically and/or physically locating ODD eject switch 112 on the host side of interface 130, power to ODD drive 120 (e.g., from interface 130) may be cut off when ODD drive 120 is not active (e.g., reading/playing optical media, etc.).
When power to ODD 120 is active, an assertion of ODD eject switch 112 triggers a media ejection mechanism of ODD 120 via interface 130. The media ejection mechanism could be a tray-loading mechanism, a slot-loading mechanism, or other suitable ejection mechanism.
Interface 230 communicatively connects host 210 to ODD 220. Examples of suitable interfaces include, but are not limited to SATA (serial advanced technology attachment) buses, parallel ATA (PATA) buses, and other interfaces capable connecting a host (e.g., host bus adapter) to a storage device (e.g., hard disk drive, optical drive, etc.). In various embodiments, host 210 and ODD 220 are communicatively connected via a single pin on interface 230. For example, a SATA bus might connect host 210 and ODD 220 via the SATA Manufacturing Diagnostic pin. Other suitable pins and/or more pins could be used in different embodiments.
In various embodiments, an ODD eject switch 212 is located on the host side of interface 230. ODD eject switch 212 could be located on or integrated with host 210 (as shown) or it could be communicatively connected with host 210 (e.g., external to host 210). By having a direct connection with host 210, ODD eject switch has power when host 210 has power.
Interface 230 acts as a logical barrier between ODD eject switch 212 and ODD 220. By logically and/or physically locating ODD eject switch 212 on the host side of interface 230, power to ODD drive 220 (e.g., from interface 230) may be cut off when ODD drive 220 is not active (e.g., reading/playing optical media, etc.).
When power to ODD 220 is active, an assertion (e.g., by a user) of ODD eject switch 212 triggers a media ejection mechanism of ODD 220 via interface 230. The media ejection mechanism on ODD 220 could be a tray-loading mechanism, a slot-loading mechanism, or other suitable ejection mechanism.
If ODD 220 is in a zero-power state (e.g., below a power threshold required for a minimum operational state), an assertion of ODD eject switch 212 triggers ODD power module 216 change the power state of ODD 220. In other words, an assertion of eject switch 212 causes ODD power module 216 to enable power to ODD 220. Once power is enabled to ODD 220, ODD eject module 218 sends a signal and/or software command to ODD 220 to trigger the eject mechanism on ODD 220, as described above. ODD eject module 218 may trigger the eject mechanism in direct response to detecting power enablement by ODD power module 216. Alternatively, ODD eject module 218 may trigger the eject mechanism on ODD 220 in response to detecting assertion of ODD eject switch 211 (e.g., perhaps by delaying the eject trigger signal/command for a period of time'to first allow ODD power module 216 to enable power to ODD 220).
In conventional systems, terminating power to the optical disk drive prevents the eject switch located on the optical disk drive from triggering a media ejection (e.g., ejecting a media tray). However, in the various embodiments describe herein, the ODD eject switch may be located on or directly connected to the host, allowing the host to detect assertion of the eject switch and re-establish power to the ODD for media ejection. By providing the flexibility to enable/disable power to the ODD, various embodiments are able to achieve power consumption savings for the system without sacrificing functionality of the optical disk drive.
In various embodiments, the system detects 410 enablement of the ODD eject switch, for example, at the host. The system then determines 420 whether power is enabled to the ODD. If power is enabled to the ODD, then enablement of the ODD eject switch causes the ODD to engage 450 a media eject mechanism on the ODD. If, however, power is not enabled to the ODD, then enablement of the ODD eject switch causes the system to enable 430 power to the optical disk drive. For example, an ODD power control module on the host could detect enablement of the ODD eject switch and, in response, enable power to the ODD. Once power is active to the ODD, the system issues 440 an eject command to the ODD. The eject command (e.g., a software command, a hardware signal, or the like) causes engagement of the media eject mechanism on the ODD. If there was no power to the ODD when the ODD eject switch was enabled, then the associated eject signal associated with that enablement will have been lost. This problem is overcome by issuing the eject command from the host once the power has been activated to the ODD.
Various modules described with respect to
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US10/22577 | 1/29/2010 | WO | 00 | 1/18/2012 |