Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vcs:controller-disconnects [2026/10/27 19:36] – cxie_go-ci.comvcs: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:ip-connect|Connecting the Spider System to the PC]] first. 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:ip-connect|Connecting the Spider System to the PC]] first.
- 
-===== 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**, for example **Ethernet 2**, not the device name. 
-  - Click **Start** and type **PowerShell**. Right-click **Windows PowerShell**, click **Run as administrator**, and click **Yes**. 
-  - Type this line, with your adapter name between the quotes, and press **Enter**: ''%%$name = 'Ethernet 2'%%'' 
-  - 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 '^\*?(EEE|AdvancedEEE|EnableGreenEthernet|GreenEthernet|SelectiveSuspend|PowerSavingMode|SipsEnabled|ULPMode)$' | Set-NetAdapterAdvancedProperty -RegistryValue 0 -NoRestart 
-$ids = @(); $id = (Get-NetAdapter -Name $name).PnPDeviceID 
-while ($id -and ($ids.Count -eq 0 -or $id -like 'USB\*')) { $ids += $id; $id = (Get-PnpDeviceProperty -InstanceId $id -KeyName DEVPKEY_Device_Parent).Data } 
-Get-CimInstance -Namespace root\wmi -ClassName MSPower_DeviceEnable | Where-Object { ($_.InstanceName -replace '_0$') -in $ids } | Set-CimInstance -Property @{ Enable = $false } 
-powercfg /setacvalueindex SCHEME_CURRENT 2a737441-1930-4402-8d77-b2bebba308a3 48e6b7a6-50f5-4782-a5d4-53bb8f07e226 0 
-powercfg /setacvalueindex SCHEME_CURRENT SUB_SLEEP STANDBYIDLE 0 
-powercfg /setacvalueindex SCHEME_CURRENT SUB_SLEEP HIBERNATEIDLE 0 
-powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 0 
-powercfg /setactive SCHEME_CURRENT 
-</code> 
- 
-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:pasted:20261027-195344.png}}
  
 ===== 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:pasted:20261027-195517.png}}
-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**, check it in Control Panel: +{{controller-disconnects:pasted:20261027-194601.png}} 
- +The screen can still turn off. Only sleep must be **Never**.
-  - Press **Windows + R**, type **powercfg.cpl**, and press **Enter**. +
-  - 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 must be **Never**. +
- +
-On a laptop that runs with the lid closed, also set the lid action: +
- +
-  - Press **Windows + R**, type **powercfg.cpl**, and press **Enter**. +
-  - 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? Send a Diagnostic Report =====+===== Still Disconnecting? Contact Support ===== 
 + 
 +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:edmlog|Sending the Tech Support Log File]]).+  * The date and time of the disconnect. 
 +  * The device name of the adapter that connects to the Spider. 
 +  * The EDM log files (see [[general:edmlog|Sending the Tech Support Log File]]).
  
 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.