Identification of option cards using multiple voltage inputs
View Patent ↗An example computing device includes: an option card receptacle to receive an option card; a controller interconnected with the option card receptacle, the controller to: apply a first voltage input to the option card in the option card receptacle and detect a first output from the option card; apply a second voltage input to the option card in the option card receptacle and detect a second output from the option card; determine an identifier of the option card based on a combination of the first output and the second output.
1 . A computing device comprising:
an option card receptacle to receive an option card;
a controller interconnected with the option card receptacle, the controller to:
apply a first voltage input to the option card in the option card receptacle and detect a first output value from the option card;
apply a second voltage input to the option card in the option card receptacle and detect a second output value from the option card, wherein the second voltage is distinct from the first voltage;
determine an identifier of the option card based on a combination of the first output value and the second output value; and
based on the identifier of the option card, configure the option card for the computing device.
2 . The computing device of claim 1 , wherein the first voltage input is applied to the option card when the computing device is in a first power state, and the second voltage input is applied to the option card when the computing device is in a second power state.
3 . The computing device of claim 2 , wherein the first power state comprises a sleep state and the second power state comprises a power-on state.
4 . The computing device of claim 1 , wherein the controller is to detect the first output value and the second output value at an analog-to-digital converter pin detecting first voltage values and second voltage values, respectively, output values from the option card.
5 . The computing device of claim 1 , wherein the controller is to retrieve a multi-state identifier mapping to determine the identifier of the option card when the first output value and the second output value are different.
6 . The computing device of claim 1 , wherein the controller is to retrieve a legacy identifier mapping to determine the identifier of the option card when the first output value and the second output value are the same.
7 . A computing device comprising:
an option card receptacle to receive an option card;
a controller interconnected with the option card receptacle, the controller to:
apply a first voltage input to the option card in the option card receptacle when the computing device is in a first power state and detect a first output value from the option card;
in response to the computing device transitioning to a second power state, apply a second voltage input to the option card in the option card receptacle and detect a second output value from the option card, wherein the second voltage is distinct from the first voltage;
determine an identifier of the option card based on a combination of the first output value and the second output value; and
based on the identifier of the option card, configure the option card for the computing device.
8 . The computing device of claim 7 , wherein the first and second output values represent voltage steps output from the option card.
9 . The computing device of claim 7 , wherein to determine the identifier, the controller is to:
identify a first range of a plurality of predefined ranges in which the first output value fails;
identify a second range of the plurality of predefined ranges in which the second output value fails; and
select an option card identifier corresponding to the first range and the second range as the identifier of the option card.
10 . The computing device of claim 9 , wherein the controller is to:
use a multi-state identifier mapping to select a multi-state option card identifier as the identifier of the option card when the first range and the second range are different; and
use a legacy identifier mapping to select a legacy option card identifier as the identifier of the option card when the first range and the second range are the same.