Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vcs:controller-disconnects [2026/10/27 19:36] – cxie_go-ci.com | vcs:controller-disconnects [2026/10/27 20:25] (current) – cxie_go-ci.com | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| You can usually fix this yourself with the steps below. Do not make these changes while a test is running. If you have not set up the network connection yet, see [[general: | You can usually fix this yourself with the steps below. Do not make these changes while a test is running. If you have not set up the network connection yet, see [[general: | ||
| - | |||
| - | ===== Change the Settings with a PowerShell Script ===== | ||
| - | |||
| - | This is the fastest fix. The script makes the same changes as the manual steps below, on the adapter that connects to the Spider: | ||
| - | |||
| - | * Turns off Energy-Efficient Ethernet, Green Ethernet, and the other standard power-saving properties. | ||
| - | * Clears **Allow the computer to turn off this device to save power** for the adapter, and for the USB hubs it is connected through. | ||
| - | * When the PC is plugged in: turns off USB selective suspend, sets sleep and hibernate to **Never**, and sets closing the lid to **Do nothing**. | ||
| - | |||
| - | Close EDM and do not run a test while you run the script. | ||
| - | |||
| - | - Find the name of the adapter that connects to the Spider (see the first part of **Turn Off Power Saving on the Adapter** below). Use the name in **Network Connections**, | ||
| - | - Click **Start** and type **PowerShell**. Right-click **Windows PowerShell**, | ||
| - | - Type this line, with your adapter name between the quotes, and press **Enter**: '' | ||
| - | - Copy the block below, paste it into the PowerShell window, and press **Enter**. | ||
| - | - If PowerShell shows red error text, change that setting with the manual steps below. | ||
| - | - Restart the PC. | ||
| - | |||
| - | <code powershell> | ||
| - | Get-NetAdapterAdvancedProperty -Name $name | Where-Object RegistryKeyword -match ' | ||
| - | $ids = @(); $id = (Get-NetAdapter -Name $name).PnPDeviceID | ||
| - | while ($id -and ($ids.Count -eq 0 -or $id -like ' | ||
| - | Get-CimInstance -Namespace root\wmi -ClassName MSPower_DeviceEnable | Where-Object { ($_.InstanceName -replace ' | ||
| - | powercfg / | ||
| - | powercfg / | ||
| - | powercfg / | ||
| - | powercfg / | ||
| - | powercfg /setactive SCHEME_CURRENT | ||
| - | </ | ||
| - | |||
| - | If your company does not allow PowerShell scripts, or you want to change the settings yourself, use the manual steps below. You can also use them to undo any change the script made. | ||
| ===== Turn Off Power Saving on the Adapter ===== | ===== Turn Off Power Saving on the Adapter ===== | ||
| Line 56: | Line 25: | ||
| - Right-click the adapter and click **Properties**. | - Right-click the adapter and click **Properties**. | ||
| - Click the **Advanced** tab. | - Click the **Advanced** tab. | ||
| - | - For each property in the table below that is in the list, select it and set **Value** to **Disabled** (or **Off**). | + | - For each property in the table below that is in the list, select it and set **Value** to **OFF**. |
| - Click **OK**. | - Click **OK**. | ||
| ^ Property (names vary by driver) ^ Set to ^ | ^ Property (names vary by driver) ^ Set to ^ | ||
| - | | **Energy-Efficient Ethernet** / **EEE** | Disabled | + | | **Energy-Efficient Ethernet** / **EEE** | OFF | |
| | **Advanced EEE** | OFF | | | **Advanced EEE** | OFF | | ||
| | **Green Ethernet** | OFF | | | **Green Ethernet** | OFF | | ||
| Line 91: | Line 60: | ||
| You do not need to change USB hubs that the adapter is not connected to. | You do not need to change USB hubs that the adapter is not connected to. | ||
| + | {{controller-disconnects: | ||
| ===== Turn Off USB Selective Suspend ===== | ===== Turn Off USB Selective Suspend ===== | ||
| Line 102: | Line 72: | ||
| - Set **Plugged in** to **Disabled**. | - Set **Plugged in** to **Disabled**. | ||
| - Click **OK**. | - Click **OK**. | ||
| - | + | {{controller-disconnects: | |
| - | If **USB settings** is not in the list, use the PowerShell script above. It changes this setting directly. | + | |
| ===== Stop the PC from Sleeping ===== | ===== Stop the PC from Sleeping ===== | ||
| Line 112: | Line 81: | ||
| - If there is a hibernate setting, set it for **Plugged in** to **Never**. | - If there is a hibernate setting, set it for **Plugged in** to **Never**. | ||
| - | If there is no hibernate setting in **Settings**, | + | {{controller-disconnects: |
| - | + | The screen can still turn off. Only sleep must be **Never**. | |
| - | | + | |
| - | - Next to the selected power plan, click **Change plan settings**. | + | |
| - | - Click **Change advanced power settings**. | + | |
| - | - Expand **Sleep** > **Hibernate after**. | + | |
| - | - Set **Plugged in** to **Never** (or **0**). | + | |
| - | - Click **OK**. | + | |
| - | + | ||
| - | The screen can still turn off. Only sleep and hibernate | + | |
| - | + | ||
| - | On a laptop that runs with the lid closed, also set the lid action: | + | |
| - | + | ||
| - | - Press **Windows + R**, type **powercfg.cpl**, | + | |
| - | - Click **Choose what closing the lid does**. | + | |
| - | - Set **When I close the lid** > **Plugged in** to **Do nothing**. | + | |
| - | - Click **Save changes**. | + | |
| - | + | ||
| - | Keep a laptop plugged in during long tests. These settings apply only when it is plugged in. | + | |
| - | + | ||
| - | If a setting is missing, cannot be changed, or changes back by itself, it may be set by your company IT policy. Contact your IT department. | + | |
| ===== Check That the Fix Worked ===== | ===== Check That the Fix Worked ===== | ||
| - Restart the PC. | - Restart the PC. | ||
| - | - Run a test under the same conditions as the test that failed: the same adapter, dock, and USB port, the same test length, and the same lid position. | + | - Run a test under the same conditions as the test that failed: the same adapter, dock, and USB port, and the same test length. |
| - Do not use the PC for other work during this test. | - Do not use the PC for other work during this test. | ||
| - Confirm that the test finished without a disconnect. | - Confirm that the test finished without a disconnect. | ||
| - | ===== Still Disconnecting? | + | ===== Still Disconnecting? |
| + | |||
| + | If the Spider still disconnects after you try these steps, email Crystal Instruments support at **support@go-ci.com**. Include: | ||
| - | If the Spider still disconnects after you try these steps, collect a diagnostic report and send it to Crystal Instruments support at **support@go-ci.com**. If you can, also send the EDM log files (see [[general: | + | |
| + | | ||
| + | * The EDM log files (see [[general: | ||
| If you can, also try a different USB-to-Ethernet adapter or the PC's built-in Ethernet port. | If you can, also try a different USB-to-Ethernet adapter or the PC's built-in Ethernet port. | ||