Information processing apparatus and configuring method
View Patent ↗According to one embodiment, an information processing apparatus includes a monitoring module which periodically transmits a message to a device driver which controls a device controller in accordance with an instruction issued by a program executed by a CPU to drive a peripheral device, and initializes the device driver when a response to the message is not issued received. The information processing apparatus further includes a setting module which sets an interval of transmission of the message based on a predetermined rule.
1. An information processing apparatus comprising:
a central processing unit (CPU);
a device controller configured to control a peripheral device;
a device driver configured to cause the device controller to operate the peripheral device in accordance with a program executed by the CPU;
a monitoring module configured to periodically transmit a message to the device driver and to initialize the device driver when a response to the message is not received; and
a setting module configured to:
manage a first list indicating a program executed by the CPU immediately after an operating system is booted, and at least one second list indicating a program executed by the CPU when the device driver is initialized by the monitoring module;
select a program that is on the at least one second list and is not on the first list, as a program considered to cause initialization of the device driver; and
change an interval of transmission of the message from a first value defined as an initial setting value to a second value larger than the first value when execution of the selected program is started by the CPU.
2. The apparatus of claim 1 , wherein:
the device controller comprises a display controller, and
the device driver comprises a display driver.
3. A configuring method for an information processing apparatus, the method comprising:
periodically monitoring whether a display driver has generated a timeout and initializing the display driver when detecting that the timeout was
managing a first list indicating a program booted immediately after an operating system is booted and at least one second list indicating a program booted when the device driver is initialized by the monitoring function;
selecting a program that is on the at least one second list and is not on the first list as a program considered to cause initialization of the display driver; and
changing an interval of a monitoring operation by the monitoring function from a first value defined as an initial setting value to a second value larger than the first value when the selected program is booted.