USB Hub Map: Hub Power Switch and Sort by USB Port
Ask AI
Ready taskDo it with me, step by step
Chat assistants
Open in ChatGPTNew tabOpen in ClaudeNew tabCoding agents
Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the webCopy
View as MarkdownPlain text for AI toolsSee the prompt
Read https://xproxy.io/document/usb-hub-map.md, the XProxy guide "USB Hub Map: Hub Power Switch and Sort by USB Port". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now). Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.
The app opens with the prompt filled in. Nothing runs until you press Enter.
XProxy 21.3.50+Available from XProxy 21.3.50.How to update →
See every USB hub of your box as a picture, with a colour for each modem. Switch a hub's power on and off from the panel without walking to the rack, and give every USB port its own fixed position.
You need: the hub map and sorting by USB port need nothing extra. To switch power you also need a Smart Life switch (plug, power strip or relay) on the same network as the box, with the hub plugged into it. The map came with XProxy 21.3.50, sorting by USB port with 21.3.2. Update first with Update XProxy.
In short
Each port shows its position, its status and its modem. You find a dongle in the rack by its row in the list.
Cut the power of a hung hub, or power cycle it. Every step asks first and tells you how many proxies it touches.
With USB port sorting, a position belongs to a port. Swap a dead dongle and the new one gets the same position and proxy port.
Use the hub map
Step 1 of 8
Open Proxy Management. Next to Sorting modems, click USB port 1. The panel asks you to confirm and restarts the application. Connections drop for a moment.
From now on every position belongs to a USB port, not to a modem. Swap a dongle and the new one takes the position and the proxy port of the old one. Each row shows where its modem sits, for example Hub 1 · 1 3. Click it to see that port on the map.
Click Hub map 2 to open the map.
When to switch a hub's power
- A hub stops answering: its modems are all Disconnected at once. A power cycle restarts the hub and every modem on it.
- You manage a rack in another room or another site and cannot press the button yourself.
- You want to take one hub offline for the night, or to move modems, without cutting the others.
It cuts power to the whole hub, or to the whole side of a 32-port hub, not to one modem.
What it can and cannot do
| Topic | What to know |
|---|---|
| Who can use it | Any plan. The hub map, the power menu and USB port sorting have no plan check. The positions you can give out follow the number of modems your plan allows. |
| Which switches | Smart Life switches that the box finds on its own network. Switches that are not on the network of the box show as not found. |
| Which hubs | Any hub. The XProxy 32-port hub has two power sides, Left (ports 1-16) and Right (17-32), each with its own link. Every other hub has one power input, one link. |
| What a power cut does | Every modem on that hub or side loses power. The panel tells you how many proxies it is before you confirm. |
| What a power cycle does | Off, then on after about 15 seconds. The switch counts the seconds itself when it can. |
| When it is refused | No switch is linked to that hub side, the switch cannot be reached, or a firmware flash is running (off and cycle only). |
| How fresh the state is | The map checks the hubs every 2 seconds and the switches about every 10 seconds, only while the map is open. |
Sorting by USB port
The other modes follow the modem: Manual freezes today's positions, Label sorts by the label on the dongle, IMEI by IMEI. USB port follows the socket.
- Every hub gets a block of consecutive positions, in the order of the hubs on the map. A port gets block start + printed port number - 1. Hub 1 with Ports used 20 takes positions 1 to 20. Hub 2 starts at 21.
- Every port of a block keeps its position, even when it is empty. A modem you plug in later takes the position of its port at once, with no restart.
- A modem that is on a port above its hub's block, on a USB port that is not on a hub, or not on USB, comes after all the blocks. Use Keep N ports to bring a port into its block.
- Saving a new order or new Ports used can move modems to other positions. The panel lists the moves, and the application restarts when you accept.
Positions decide proxy ports, so a fixed position gives a fixed port: see Proxy settings for the starting port.
Something not working?
| You see | What to do |
|---|---|
| The Hub map shows no hub: No USB hub found yet | Plug a hub into the box, or turn its power on in Power switches if it is a hub you linked before. |
| A modem sits on a port but has no number | It shows Starting for up to about a minute while it boots and gets its position. If it stays, look at the slots bar in Arrange: the box may have no position left for it. |
| Hubs need N slots, this box has M | Lower Ports used of one or more hubs in Arrange until the bar fits. |
| A switch is under Not found on this network | Plug it in, check its Wi-Fi, and put it on the same network as the box. The list refreshes by itself. |
| Not reachable next to a switch | The box found it earlier but cannot talk to it now. Check its power and Wi-Fi. |
| Find automatically says No hub port lost its device | That outlet does not feed a hub with modems in it. Test the next outlet, or link it yourself with Choose myself. |
| More than one hub side lost power, not linked | Two hub sides hang on one outlet. Link them by hand with Choose myself. |
| The power menu says No power switch is linked to this part of the hub yet | Click Link on the hub and pick its outlet. |
| Hub numbers or positions look wrong after a move | Hub numbers follow the order you set in Arrange. A hub keeps its number even when it is away, until you click Forget. |

