主权项 |
1. An information processing apparatus capable of Universal Serial Bus (USB)-connecting a device that is compatible with a USB connection, the information processing apparatus comprising:
a display unit configured to display a window with which a user can set a choice among (a) activation of a USB connection of an externally USB-connected device, and (b) inactivation of the USB connection of the externally USB-connected device, wherein, in a case where there are a plurality of externally USB-connected devices, the inactivation inactivates each of the plurality of externally USB-connected devices at once; and a registration unit configured (a) in a case when the activation is set via the window, to register, in a USB core driver in the information processing apparatus, both (i) a device driver corresponding to the externally USB-connected device and (ii) a device driver corresponding to an internally USB-connected device, such that both device drivers are registered at the same time, and (b) in a case when the inactivation is set via the window, (i) not to register, in the USB core driver, the device driver corresponding to the externally USB-connected device, and (ii) to register, in the USB core driver, the device driver corresponding to the internally USB-connected device, wherein the USB core driver specifies a device driver corresponding to a device from device drivers registered by the registration unit and activates the specified device driver, and wherein a processor is included in the information processing apparatus. |