Bobo_E
Newbie level 3
Hi
Could someone please explain to me how a self-powered usb hub with a power switch detects that a device has been plugged to one of its ports? Is it right that a USB hub, on its own without using a power switch, detects a device by monitoring the voltage on the data lines? The hub has 15k pull-down resistors on data lines whilst the device has 1.5k pull-up on one of the data lines so when the device is connected then the power is first applied to it, therefore, also to the 1.5k pull-up resistor which then creates a voltage divider with the 15k pull-down resistors. That is how the hub detects the device without a power switch.
Getting to the point...Having a power switch (activated by the hub once the device is detected) means that the power is not applied to the device straight away when it is connected, therefore, how is it detected by the hub in the first place so that the hub can activate the switch?
Could someone please explain to me how a self-powered usb hub with a power switch detects that a device has been plugged to one of its ports? Is it right that a USB hub, on its own without using a power switch, detects a device by monitoring the voltage on the data lines? The hub has 15k pull-down resistors on data lines whilst the device has 1.5k pull-up on one of the data lines so when the device is connected then the power is first applied to it, therefore, also to the 1.5k pull-up resistor which then creates a voltage divider with the 15k pull-down resistors. That is how the hub detects the device without a power switch.
Getting to the point...Having a power switch (activated by the hub once the device is detected) means that the power is not applied to the device straight away when it is connected, therefore, how is it detected by the hub in the first place so that the hub can activate the switch?