Claims
- 1. A method of selecting one and only one a pointing device in a computer comprising a CPU and a coprocessor, and having an embedded pointing device connected thereto, the method comprising the steps of:
- responsive to a reconfiguration event, identifying all pointing devices connected to the computer;
- subsequent to the step of identifying, resetting all the identified pointing devices;
- subsequent to the step of resetting, selecting one of the identified pointing devices, said step of selecting further comprising:
- if an external pointing device is connected to the computer, selecting the external pointing device; and
- if an external pointing device is not connected to the computer, selecting the embedded pointing device;
- setting the state of the selected pointing device to that of the previously selected pointing device; and
- if the selected pointing device does not respond to the step of setting, selecting another one of the identified pointing devices and setting the other selected pointing device to that of the previously selected pointing device,
- wherein said reconfiguration event comprises connection of the external pointing device to or disconnection of the external pointing device from the computer.
- 2. The method of claim 1, wherein the step of setting comprises the following steps by the coprocessor:
- receiving a command from the CPU;
- recording the command;
- sending the command to the selected pointing device; and
- responsive to a failure of the sending step, recording the failure.
- 3. The method of claim 1, wherein the reconfiguration event comprises the following steps by the coprocessor:
- periodically sending an echo command to the pointing device; and
- upon a failure of the sending step, recording the failure and choosing another one of the identified pointing devices and setting the other pointing device to the correct state.
- 4. The method of claim 1, wherein the step of setting comprises receiving a BAT (Basic Assurance Test) completion code as the first byte of a data packet.
- 5. The method of claim 1, wherein the step of setting comprises receiving data from one of the pointing devices other than the selected pointing device.
- 6. In a computer having a first processor and a second processor and having an embedded pointing device connected thereto, a method of enabling the second processor to selectively activate one of the embedded pointing device and an external pointing device connected to the computer, the method comprising the steps of:
- determining whether an external pointing device is connected to the computer;
- responsive to a determination that an external pointing device is connected to the computer, activating the external pointing device;
- responsive to a determination that an external pointing device is not connected to the computer, activating the embedded pointing device; and
- responsive to a reconfiguration event, activating the other one of the embedded and external pointing devices;
- wherein the reconfiguration event comprises receiving an unreliable data stream from the selected one of the pointing devices.
- 7. The method of claim 6 further comprising the steps of:
- if the activated one of the pointing devices does not respond to signaling, activating the other one of the pointing devices.
- 8. The method of claim 6 wherein each of the pointing devices assumes a plurality of different states in response to commands from the computer, the method further comprising the steps of:
- tracking the effect that each command would have on the inactivated one of the pointing devices; and
- upon activation of the previously inactivated one of the pointing devices setting the previously inactivated one of the pointing devices to the state in which it would have been if it had always been selected.
- 9. The method of claim 6 wherein only one of the input devices is activated at any single time.
- 10. A computer comprising:
- an embedded pointing device;
- a port for enabling the connection of an external pointing device to the computer;
- a central processor; and
- an interface device for selectively interfacing the first and second input device with the central processor by performing the steps of:
- determining whether an external pointing device is connected to the computer;
- responsive to a determination that an external pointing device is connected to the computer, activating the external pointing device;
- responsive to a determination that an external pointing device is not connected to the computer, activating the embedded pointing device; and
- responsive to a reconfiguration event, activating the other one of the embedded and external pointing devices;
- wherein the reconfiguration event comprises receiving an unreliable data stream from the selected one of the pointing devices.
Parent Case Info
This is a continuation of application Ser. No. 08/514,215 filed on Aug. 11, 1995, abandoned.
US Referenced Citations (9)
Continuations (1)
|
Number |
Date |
Country |
Parent |
514215 |
Aug 1995 |
|