Claims
- 1. A method of determining the source of a fault within
a bus, the method comprising:
monitoring a bus; responsive to determining that a fault has occurred on the bus, resetting each switch on the bus; turning on a first switch connected to a bus driver; and determining whether the fault is encountered.
- 2. The method as recited in claim 1, further comprising:
responsive to determining that the fault is encountered again, identifying the source of the fault as one of the first switch, one or more devices connected to the bus via the first switch, and one or more bus connectors switched in by the turning on of the first switch.
- 3. The method as recited in claim 2, further comprising:
presenting the source of the fault to a user.
- 4. The method as recited in claim 1, further comprising:
responsive to a determination that the fault is not encountered after turning on the first switch, turning on a second switch; and determining whether the fault is encountered.
- 5. The method as recited in claim 4, further comprising:
responsive to determining that the fault is encountered again, identifying the source of the fault as one of the second switch, one or more devices connected to the bus via the second switch, and one or more bus connectors switched in by the turning on of the second switch.
- 6. The method as recited in claim 1, wherein the first switch is a first switch in a first branch of the bus and further comprising:
responsive to a determination that the fault is not encountered after turning on any of the switches in the first branch of the bus, turning on the first switch in a second branch of the bus; and determining whether the fault is encountered.
- 7. The method as recited in claim 1, wherein the bus is an inter integrated circuit bus.
- 8. The method as recited in claim 1, wherein resetting each switch comprises turning off each switch.
- 9. A computer program product in a computer readable media for use in a data processing system for determining the source of a fault within a bus, the computer program product comprising:
first instructions for monitoring a bus; second instructions, responsive to determining that a fault has occurred on the bus, for resetting each switch on the bus; third instructions for turning on a first switch connected to a bus driver; and fourth instructions for determining whether the fault is encountered.
- 10. The computer program product as recited in claim 9, further comprising:
fifth instructions, responsive to determining that the fault is encountered, for identifying the source of the fault as one of the first switch, one or more devices connected to the bus via the first switch, and one or more bus connectors switched in by the turning on of the first switch.
- 11. The computer program product as recited in claim 10, further comprising:
sixth instructions for presenting the source of the fault to a user.
- 12. The computer program product as recited in claim 9, further comprising:
fifth instructions, responsive to a determination that the fault is not encountered after turning on the first switch, for turning one a second switch; and sixth instructions for determining whether the fault is encountered.
- 13. The computer program product as recited in claim 12, further comprising:
seventh instructions, responsive to determining that the fault is encountered, for identifying the source of the fault as one of the second switch, one or more devices connected to the bus via the second switch, and one or more bus connectors switched in by the turning on of the second switch.
- 14. The computer program product as recited in claim 9, wherein the first switch is a first switch in a first branch of the bus and further comprising:
fifth instructions, responsive to a determination that the fault is not encountered after turning on any of the switches in the first branch of the bus, for turning on the first switch in a second branch of the bus; and sixth instructions for determining whether the fault is encountered.
- 15. The computer program product as recited in claim 9, wherein the bus is an inter integrated circuit bus.
- 16. The computer program product as recited in claim 9, wherein resetting each switch comprises turning off each switch.
- 17. A system of determining the source of a fault within a bus, the system comprising:
a fault monitor which for monitors a bus; a switch resetter which, responsive to a determination that a fault has occurred on the bus, which resets each switch on the bus; a fault isolator which turns on a first switch connected to a bus driver; and a fault determination unit which determines whether the fault is encountered.
- 18. The system as recited in claim 17, further comprising:
a fault locator which, responsive to determining that the fault is encountered, identifies the source of the fault as one of the first switch, one or more devices connected to the bus via the first switch, and one or more bus connectors switched in by the turning on of the first switch.
- 19. The system as recited in claim 18, further comprising:
a presentation unit which presents the source of the fault to a user.
- 20. The system as recited in claim 17, wherein:
the fault isolator, responsive to a determination that the fault is not encountered after turning on the first switch, turns on a second switch; and the fault determination unit determines whether the fault is encountered.
- 21. The system as recited in claim 20, wherein the fault locator, responsive to determining that the fault is encountered after turning on the second switch, identifies the source of the fault as one of the second switch, one or more devices connected to the bus via the second switch, and one or more bus connectors switched in by the turning on of the second switch.
- 22. The system as recited in claim 17, wherein:
the first switch is a first switch in a first branch of the bus; the fault isolator, responsive to a determination that the fault is not encountered after turning on any of the switches in the first branch of the bus, turns on the first switch in a second branch of the bus; and the fault determination unit determines whether the fault is encountered.
- 23. The system as recited in claim 17, wherein the bus is an inter integrated circuit bus.
- 24. The system as recited in claim 17, wherein resetting each switch comprises turning off each switch.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] The present application is related to co-pending U.S. patent application Ser. No. ______ (IBM Docket No. AUS920000754US1) entitled “I2C SELF BUS SWITCHING DEVICE” filed and to U.S. Patent Application Serial No. ______ (IBM Docket No. AUS920000756US1) entitled “Dynamically Allocating I2C Addresses Using Self Bus Switching Device” filed. The content of the above mentioned commonly assigned, co-pending U.S. Patent applications are hereby incorporated herein by reference for all purposes.