How to use the Hantek DSO-2100 USB oscilloscope in Linux

Hantek makes a PC-based oscilloscopes DSO-2100 USB oscilloscope, sometimes manufactured under the following names Voltcraft/Darkwire/Protek/Acetech. Hantek doesn't officially support Linux but there are a couple of ways use it with all features.

This howto may or may not work with other Hantek oscilloscopes, such as DSO-2090, DSO-2150, DSO-2250, DSO-5200A etc. If you get one to work please note it and any changes you needed to make.

Method 1: Hantek official software via Virtual Machine

 * Using VirtualBox
 * 1) Install VirtualBox binary version
 * 2) Install a version of Windows
 * 3) Download Hantek software in the virtual machine, or get them off your Oscilloscope's driver CD
 * 4) * http://www.hantek.com.cn/english/down_list.asp?unid=8
 * 5) * mirror: http://www.mediafire.com/?ndinuijdzdt
 * 6) Decompress the software, but don't install it yet. Its a rar file so you need to install a decompression program, such as Winrar, or AlZip
 * 7) Shutdown the Windows virtual machine
 * 8) Plug in the USB Oscilloscope
 * 9) Click Settings for the Virtual machine
 * 10) Click USB
 * 11) Check Enable USB Controller
 * 12) Click Add filter from Device
 * 13) Click Unknown device 0547:1006 [0001]
 * 14) Boot the virtual machine
 * 15) Install the software, and drivers
 * 16) * This should turn one the oscilloscope (blinking blue LED), but it wont work yet. The driver uploads firmware to the oscilloscope and changes its properties somehow
 * 17) Shutdown the Virtual machine, the oscilloscope's LED should still be blinking.
 * 18) Add another USB Filter
 * 19) Click Settings for the Virtual machine
 * 20) Click USB
 * 21) Check Enable USB Controller
 * 22) Click Add filter from Device
 * 23) Click Anchor Chips EZ-USB Device [0001]
 * 24) Boot up the Virtual machine
 * 25) Install the drivers, when it asks
 * 26) run the software and it should work

Method 2: Openhantek (Linux program)

 * Requirements
 * Qt4
 * http://qt.nokia.com/
 * fftw
 * http://www.fftw.org/
 * fxload
 * http://linux-hotplug.sourceforge.net/
 * Hantek driver
 * DSO-2090 - http://www.hantek.com.cn/english/down_list.asp?unid=12


 * Download
 * OpenHantek
 * http://sourceforge.net/projects/openhantek/files/openhantek/
 * dsoextractfw
 * http://sourceforge.net/projects/openhantek/files/dsoextractfw/


 * Install
 * Extract openhantek-*.tar.bz2
 * Enter directory
 * cd OpenHantek/
 * Compile
 * qmake
 * make
 * make install
 * Extract dsoextractfw-*.tar.bz2
 * Enter directory
 * cd dsoextractfw
 * Compile
 * ./configure
 * make
 * make install
 * cp 90-hantek-dso.rules /etc/udev/rules.d/
 * Extract Hantek driver
 * Rename drivers to have all caps
 * mv DSO20901.sys DSO20901.SYS
 * mv DSO20902.sys DSO20902.SYS
 * Run dsoextractfw in the directory with the drivers to create the hex files
 * mkdir /usr/local/share/hantekdso/
 * mv *.hex /usr/local/share/hantekdso/


 * More information
 * Official website
 * http://www.openhantek.org/

Method 3: Labview and Hantek Second Design software
untested
 * You can use Linux version of Labview
 * and
 * Hantek DSO2100 USB Second Design software
 * link