Method and system for automatic peripheral device identification
First Claim
1. A method of communicating with a peripheral device associated with a computer system, said method comprising:
- triggering a signal responsive to a peripheral device being coupled to a communications port of said computer system;
responsive to said signal, posting a notification message to alert a notification handler, wherein said posting comprises;
responsive to said signal, determining if said peripheral device is among a compliant class of peripheral devices; and
posting said notification message if said peripheral device is determined to be among said compliant class;
automatically opening said communications port if said communications port is contemporaneously closed;
transmitting a query to said peripheral device; and
responsive to an answer to said query, posting an identification of said peripheral device. within said notification handler.
8 Assignments
0 Petitions
Accused Products
Abstract
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.
24 Citations
13 Claims
-
1. A method of communicating with a peripheral device associated with a computer system, said method comprising:
-
triggering a signal responsive to a peripheral device being coupled to a communications port of said computer system; responsive to said signal, posting a notification message to alert a notification handler, wherein said posting comprises; responsive to said signal, determining if said peripheral device is among a compliant class of peripheral devices; and posting said notification message if said peripheral device is determined to be among said compliant class; automatically opening said communications port if said communications port is contemporaneously closed; transmitting a query to said peripheral device; and responsive to an answer to said query, posting an identification of said peripheral device. within said notification handler. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system comprising a processor coupled to a bus;
- a memory coupled to said bus; and
a communications port coupled to bus wherein said memory comprises instructions that when executed implement a method of communicating with a peripheral device, said method comprising;triggering a signal responsive to a peripheral device being coupled to said communications port; responsive to said signal posting a notification message to alert a notification handler, wherein said posting comprises; responsive to said signal, determining if said peripheral device is among a compliant class of peripheral devices; and posting said notification message if said peripheral device is determined to be among said compliant class; automatically opening said communications port if said communications port is contemporaneously closed; transmitting a query to said peripheral device; and responsive to an answer to said query, posting an identification of said peripheral device. - View Dependent Claims (9, 10, 11, 12, 13)
- a memory coupled to said bus; and
Specification