Skip to main content
Skip table of contents

Q&A

1. How can I enable virtualization?

  • How to Enable Virtualization in BIOS?

  1. Reboot the computer

  2. While the system is restarting from a black screen, enter BIOS by pressing the hotkey. The hotkeys differ depending on the brand of the computer used. Usually, F1, F2, F3, F10, Esc, or Delete keys are the hotkeys to enter BIOS.

  3. Navigate to Advanced Tab and press Enter to continue

  4. Select Virtualization and Enable

  5. Save changes and reboot the computer

  6. BIOS can also be accessed through Windows in Settings.

  • How to Enable Virtualization without BIOS?

To enable Virtualization without opening BIOS, follow these steps:

  1. Navigate to the Security tab and press Enter on CPU Setup.

  2. Select Intel(R) Virtualization Technology and press Enter.

  3. Choose Enable and press Enter.

  4. Press F10.

  5. Press Enter to select Yes to save the settings and Boot into Windows.

  • How to Enable Virtualization in Windows 10?

  1. Go to Windows Settings.

  2. Click on Update and Security.

    external_1004.png

  3. Click on Restart Now from the Recovery Tab to enter Windows Recovery Environment.

    external_Enable_Virtualization_1.png

  4. Click TroubleshootAdvanced UEFI Firmware Settings.

  5. To continue, click Restart.

  6. BIOS Settings will be displayed. Select Virtualization and enable it.

2. WSL2 installation is incomplete

If the error “WSL 2 installation is incomplete” occurs in Docker Desktop, you should perform the following methods:

  • Step 1. Run Command Prompt .

    external_image-20221221-065308.png

    cmd or Windows PowerShell

  • Step 2. Enter the command wsl --update

3. I can’t run Dart-Services in Mac OS

If you cannot click to run the app in Mac OS, please follow the steps below.

  • Step 1. Open the Terminal.

  • Step 2. Input command in the below and then Dr.Dart-Services will be executed.

CODE
/Applications/Dr.Dart-Services.app/Contents/MacOS/Dr.Dart-Services

4. How can I use USB Serial Ports in Dart-Service?

On Windows OS, you can establish a USB Serial connection using the Dart-Services simulator. Mac OS is not supported.

If you use Serial(USB), follow the guide below.

1) Download Serial Setup

Download dart_serial_setup_windows.zip for using USB port.

File Modified

ZIP Archive dart_serial_setup_windows.zip

Apr 08, 2025

2) Install Ubuntu and usbipd

  1. Unzip serial_setup_windows.zip

  2. Execute setup_win_env.bat file

    image-20250407-232335.png
  3. In the installation screen, input Y key and Enter key to agree to the terms

    image-20250407-232412.png
  4. Wait for minutes while the package installation proceeds.

    image-20250407-232843.png

3) USB attach

If you need to use USB port for Serial or Modbus,

Reference to the official Microsoft documentation on WSL.

  1. Open Command Prompt as Administrator

  2. Enter command for checking the List all of the USB devices connected to Windows.

    CODE
    usbipd wsl list
    image-20250408-002029.png

  3. Enter command for selecting the bus ID of the device you’d like to attach to WSL and run this command.

    CODE
    usbipd bind --busid <BUSID>
    usbipd attach --wsl --busid <busid>

    e.g.
    usbipd bind --busid 4-3
    usbipd attach --wsl --busid 4-3

    image-20250408-002058.png

When using a USB hub to connect devices, there might be compatibility issues with WSL2.

If you have 'usbipd: error: There is no WSL 2 distribution running; keep a command prompt to a WSL 2 distribution open to leave it running.' error.

  1. Enter the below commands

  2. Open new Command Prompt as Administrator

  3. Retry usbipd attach command.

CODE
wsl -l -v
wsl --distribution Ubuntu-20.04-dra
  1. Enter the WSL terminal (wsl --distribution Ubuntu-20.04-dra) and input the following command.

    CODE
    wsl --distribution Ubuntu-20.04-dra
    CODE
    sudo modprobe usbserial
    sudo modprobe ftdi_sio
    sudo modprobe cp210x
    image-20250408-003910.png

  2. After verifying that ttyUSB0 has been created, adjust its permissions by entering the following command.

    CODE
    ls -l /dev/ttyUSB*
    chmod -R 777 /dev/ttyUSB0

    image-20250408-012826.png

If the USB port does not appear when executing the command ls -l /dev/ttyUSB*, you can try unplugging the USB device and plugging it back in, or using a different port. When switching to a different port, make sure to unbind and detach the existing device using the following steps.

  • usbipd: info: Device with busid '2-6' was already shared.

CODE
usbipd unbind --busid 2-6
  • usbipd: info: Device with busid '2-6' was already not attached.

CODE
usbipd detach --busid 2-6


If you have an error, please see the below.

Error 1. The selected WSL distribution is using WSL 1, but WSL 2 is required.

  • Step 1. Enter the following command into the terminal to select WSL2.

CODE
wsl --set-version Ubuntu-20.04 2

Error 2. WSL ‘usbip’ client not correctly installed.

external_image-20230220-074142.png
external_image-20230224-073927.png
  • Step 2. Enter the following commands sequentially

CODE
sudo apt-get update
sudo apt install linux-tools-virtual hwdata
sudo update-alternatives --install /usr/local/bin/usbip usbip `ls /usr/lib/linux-tools/*/usbip | tail -n1` 20

Error 3. When USB Port(e.g. ttyUSB0) is not visible on Ubuntu

This issue arises from changes in WSL and usbipd, which are beyond our control. While not a perfect solution, a user on Dart-Forum has shared that modifying the kernel settings as described in the following link can help address the issue.

5. How can I use TCP/IP in Dart-Service?

For TCP/IP communication with the host pc, firewall connection permission settings are required.

  • Step 1. Enter Control PanelSystem and SecurityWindows Defender Firewall.

  • Step 2. Go to Advanced settings on the left.

external_image-20230411-015401.png
  • Step 3. Add a new rule equally to the Inbound Rules and the Outbound Rules.

external_image-20230411-015743.png
  • Step 4. Select Pule Type : Port

external_image-20230411-015928.png
  • Step 5. Set the port number or range that you want to use.

external_image-20230411-020224.png
  • Step 6. Select Allow the connection.

external_image-20230411-020307.png
  • Step 7. Fill in the desired Name and Description, then click Finish button.

external_image-20230411-020352.png

Note.

This guide does not have screenshot images to register outbound rules. Be sure to register outbound rules in the same way as inbound rules.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.