Method and
system for latency-independent
peripheral device identification. In one embodiment, a computer
system receives an interrupt from a
peripheral device coupled to a computer
system communications port. In response, an interrupt notification message is posted alerting a notification handler running on the system. It is determined whether the interrupt is indicates
peripheral class compliance. In one embodiment, communications port device sense pin
voltage is determinative. If the interrupt indicates peripheral class compliance and the communications port is inactive, the port is opened, and inquiry sent to the peripheral device via the
open port. The computer system then waits for response from the peripheral device. If response is received within a predetermined time, identification is posted based on the response, including peripheral device classification information, so that a
software handler registered with the
operating system can
handle the identification message when received. Thus, this embodiment imposes no time-critical interrupt response.