If various USB communication operations are to be performed via a user interface on the host device, however, it is desirable to determine to which of the devices 1 and 2 to assign the host function by taking into account the operability of input devices, output devices, and other devices provided in the respective devices.