Install USB drivers

You are here:
Estimated reading time: 3 min

KTDG102 Dongle is a USB Composite Device that combines three different USB Interface Classes: Device Firmware Upgrade (DFU), Virtual Serial (CDC-ACM) and Ethernet over USB (CDC-ECM).

KiNOS provides a standard USB CDC-ECM Class Device and as a result it does not require external drivers to run on Linux and Mac OS X, but Windows does not support USB ECM mode natively and thus requires a third party driver which is out of scope for Kirale Technologies.
KTDG102 Dongle is shipped with no pre-loaded firmware, thus it runs in DFU mode (Bootloader) until a valid firmware image is loaded.

Find your operating system below and follow the instructions.

 

Windows

To top

Windows systems require (the very first time) to manually install USB drivers for KTDG102 Dongle. Luckily, there is a free tool that will do the job. Please follow the next steps.

Step 1

Plug a Dongle into a free USB port of your computer. If a valid firmware image has not been loaded yet, the Dongle’s LED will begin blinking fast. This indicates that it is in DFU mode and is waiting for firmware update. Device Manager will display the device as KiNOS Boot DFU and will put it in the Other devices branch.

By the contrary, if the LED is blinking slowly that means that a valid firmware has been loaded and KiNOS is running normally. In this case Device Manager will display two devices, KiNOS DFU and KiNOS Virtual COM and will also put them in the Other devices branch.

Step 2

Download Zadig free tool from its official website. This application is meant to install a libusb compatible driver for a device that does not have such a driver installed yet.

Launch Zadig (it doesn’t need installation). In case it triggers a UAC (User Account Control) prompt, you should answer Yes.

Step 3

With the application running you should see KiNOS interfaces appear in the dropdown list depending on Dongle’s current operation mode (click on the dropdown to see all devices).

You can also plug the USB device after Zadig is running, as the list is refreshed automatically.
If you cannot see the device listed, then it probably means that it already has a driver installed. To see USB devices that already have a driver installed, go to the Options menu and select List All Devices.

The Vendor ID (VID, here 0x2DEF), Product ID (PID, here 0x0102 or 0x0000) and optionally Interface ID (MI) are also displayed under USD ID for your reference. If you hover your mouse cursor over the Vendor ID, you should get the full name of the Vendor displayed (here Kirale Technologies).

Step 4

Follow the next instructions as appropriate depending on Dongle’s current operation mode.

KiNOS DFU mode

Select KiNOS Boot DFU from the dropdown list, select libusbK driver and click Install/Replace Driver.

The process should only take a second and result in a success message.

Now, in Device Manager, the KiNOS Boot DFU should show up like this:

KiNOS Run-Time mode

Select KiNOS DFU (Interface 0) from the dropdown list, select libusbK driver and click Install/Replace Driver.

The process should only take a second and result in a success message.

Then select KiNOS Virtual COM (Interface 1) from the dropdown list, select USB Serial (CDC) driver and click Install/Replace Driver.

The process should only take a second and result in a success message.

Now, in Device Manager, the KiNOS interfaces should show up like this:

Note the serial port number that Windows assigns to Dongle, in this example COM14.

 

Linux

To top
Specific driver installation is not needed for Linux-based systems with kernel versions newer than 2.6.22.
USB CDC-ECM interface is disabled by default. You can turn it on by command line. For more details, see KSH Reference Guide.

To find the serial port number and Ethernet interface, plug Dongle into a free USB port of your computer then open a terminal and type the following as displayed below.

#dmesg | tail
[ 15.938012] usb 2-2.1: new full-speed USB device number 4 using uhci_hcd
[ 16.250532] usb 2-2.1: New USB device found, idVendor=2def, idProduct=0102
[ 16.250535] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 16.250537] usb 2-2.1: Product: KTWM102 Module
[ 16.250539] usb 2-2.1: Manufacturer: Kirale Technologies
[ 16.250540] usb 2-2.1: SerialNumber: 8404D2000000041A
[ 16.275551] cdc_acm 2-2.1:1.1: ttyACM0: USB ACM device
[ 16.277284] usbcore: registered new interface driver cdc_acm
[ 16.277285] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 16.300075] cdc_ether 2-2.1:1.3 eth0: register ‘cdc_ether’ at usb-0000:02:00.0-2.1, CDC Ethernet Device, 84:04:d2:00:04:1a
[ 16.300479] usbcore: registered new interface driver cdc_ether
[ 16.312233] cdc_ether 2-2.1:1.3 enx8404d200041a: renamed from eth0
$ls /dev/ttyACM*
/dev/ttyACM0

 

Mac OS X

To top
Specific driver installation is not needed for Mac OS X systems from version 10.4 (Tiger).
USB CDC-ECM interface is disabled by default. You can turn it on by command line. For more details, see KSH Reference Guide.

To find the serial port number and Ethernet interface, plug Dongle into a free USB port of your computer then open a terminal and type the following as displayed below.

$networksetup -listallhardwareports
Hardware Port: KTWM102 Module
Device: en4
Ethernet Address: 84:04:d2:00:04:1a
$ls /dev/tty.usbmodem*
/dev/tty.usbmodem1412