A computer BIOS stores a value indicative of which of several hardware
components has caused the computer to return to an active state. The OS
is configured, as part of a system boot or other return to an active
state, to retrieve the value stored by the BIOS. The OS compares the
value stored by the BIOS with multiple values, each of the multiple
values corresponding to a separate hardware component. When the OS
identifies a value corresponding to the value stored by the BIOS, one or
more programs associated with the identified value are launched.