USB Serial Ports Detach from WSL2


Toml_12953

Member
Local time
11:48 PM
Posts
3
OS
Windows 11
I have a USB to RS-232 unit with eight ports. I can attach its ports to WSL2 and see all eight ports as ttyUSB0 - ttyUSB7. After a while however, the ports disappear from WSL2! I have to reattach them in PowerShell using usbipd. Is there any way to keep the ports attached to WSL2?
 
Windows Build/Version
Windows 11 Version 22H2 (OS Build 23606.1000)

My Computer My Computer

At a glance

Windows 11Intel Core i9 3.5GHz128GBNVIDIA GeForce RTX Super
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Homebrew
CPU
Intel Core i9 3.5GHz
Motherboard
ASUS B560
Memory
128GB
Graphics Card(s)
NVIDIA GeForce RTX Super
Sound Card
built into motherboard
Monitor(s) Displays
2 Dell P2721Q monitors
Screen Resolution
4K
Not having a make and model number of the adapter makes it hard to visualize it, have seen single-port cables. One thing to check is that Power Options are not turning off the USB ports on the computer if not seeing activity.
 

My Computers My Computers

  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 11th Gen. 2.40GHz12GB
    OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 10th Gen. 2.90GHz16GBOnboard, no VGA, using a DisplayPort-to-VGA a...
    Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
It's a Gearmo GM-FTDI8X-M. There are no power options for it in Device Manager. As long as I just minimize and don't close the WSL window the connection persists so I guess that's what I'll do.
 

My Computer My Computer

At a glance

Windows 11Intel Core i9 3.5GHz128GBNVIDIA GeForce RTX Super
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Homebrew
CPU
Intel Core i9 3.5GHz
Motherboard
ASUS B560
Memory
128GB
Graphics Card(s)
NVIDIA GeForce RTX Super
Sound Card
built into motherboard
Monitor(s) Displays
2 Dell P2721Q monitors
Screen Resolution
4K
The Power Options used to be in Control Panel but now in Settings, Power. Main thing is for keeping the computer's USB ports active so the devices plugged into them keep working.

I don't see a power unit in this image, can't determine if it uses commercial power or relies only on USB ports.

1703351074296.png
 

My Computers My Computers

  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 11th Gen. 2.40GHz12GB
    OS
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • At a glance

    Win11 Pro RTM Version 24H2 Build 26100.4202Intel Core i5 10th Gen. 2.90GHz16GBOnboard, no VGA, using a DisplayPort-to-VGA a...
    Operating System
    Win11 Pro RTM Version 24H2 Build 26100.4202
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
Back
Top Bottom