host (Host detection)
The hub monitors the host USB socket for an attached host computer. In auto mode if the product detects a host it will change to sync mode.
The host command can be used to determine if a host computer is attached. It can also be used to prevent the hub from automatically changing modes.
Syntax: (see Command structure)
host [mode]
Table for mode in the Universal Firmware
Mode | Description |
---|---|
auto | The mode of all populated ports changes automatically when a host is connected or disconnected |
manual |
Only commands can be used to change modes. The presence or absence of a host will not change the mode |
Table for mode in the PDSync and TS3-C10 Firmware
Mode | Description |
---|---|
auto | The ports will enable sync connectivity as the host comes and goes. Charging is always enabled unless the port is turned off. |
off | If the host is no longer detected, all charging ports will be turned off. |
Response if parameter is supplied: (see Response structure)
>>
Response if no parameter is supplied:
Present: (value) Mode change: (value)
Parameter | Description | Value |
---|---|---|
Present | Whether a host is present or not | Yes / No |
Mode change | The mode the hub is in | Auto / Manual |
Table for present in all firmware
Present | Description |
---|---|
yes | host is detected |
no | host is not detected |
Notes
-
The presence of the host computer is still reported if the mode is set to manual.
-
On charge only products the host command is present, but as the products are charge only and cannot obtain device information the command is redundant.
-
Only the U8S can report the host to be not present as it is the only product that has a separate control and host connection.
-
The default host mode is auto for all products.
Examples
To set host mode to manual:
host manual >>
To determine if a host is present, and the get the mode:
host Present: no Mode change: auto >>
And with a host attached:
host Present: yes Mode change: auto >>