Patent ID: 8131895

Claim:
A method of managing interaction between a host subsystem and a peripheral device in communication with the host subsystem via a peripheral bus, comprising the steps of: the peripheral device writing a wakeup event into an intermediary event queue, the intermediary event queue being accessible to the host subsystem and having associated therewith a read pointer and a write pointer, and in conjunction therewith writing a first event of a first type into a first event queue accessible to the host subsystem, the wakeup event identifying the first event queue; the peripheral device, in conjunction with its writing of the first event into the first event queue, entering a wakeup assertions disabled state in which the peripheral device does not write any wakeup events into the intermediary queue in conjunction with its writing of further events into the first event queue; the peripheral device writing a second event into the first event queue while the peripheral device is in the wakeup assertions disabled state; the host subsystem, in response to retrieval of the wakeup event from the intermediary event queue, activating a first event handler; and the first event handler consuming at least the first event of a first type from the first event queue.