How To Wiki
Advertisement

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. 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
  5. Shutdown the Windows virtual machine
  6. Plug in the USB Oscilloscope
  7. Click Settings for the Virtual machine
  8. Click USB
  9. Check Enable USB Controller
  10. Click Add filter from Device
  11. Click Unknown device 0547:1006 [0001]
  12. Boot the virtual machine
  13. Install the software, and drivers
    • 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
  14. Shutdown the Virtual machine, the oscilloscope's LED should still be blinking.
  15. Add another USB Filter
    1. Click Settings for the Virtual machine
    2. Click USB
    3. Check Enable USB Controller
    4. Click Add filter from Device
    5. Click Anchor Chips EZ-USB Device [0001]
  16. Boot up the Virtual machine
  17. Install the drivers, when it asks
  18. run the software and it should work

Method 2: Openhantek (Linux program)[]

Requirements
Download
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

Method 3: Labview and Hantek Second Design software[]

untested

  • You can use Linux version of Labview
    and
  • Hantek DSO2100 USB Second Design software

References[]

Advertisement