BSD Ports

misc/openhantek 3.4.1.r2 FreeBSD

Digital Software Oscilloscope (DSO) software for Hantek oscilloscopes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
b2935ebea2
License
GPLv3
Categories
misc
Package size
492.5 KiB, 1331.9 KiB installed

Description

OpenHantek is a free software for Hantek and compatible (Voltcraft/Darkwire/Protek/Acetech) USB digital signal oscilloscopes.

It has started as an alternative to the official Hantek DSO software for Linux users. Nowadays it works under Microsoft Windows and Apple Mac OS as well.

It supported devices: DSO2xxx Series, DSO52xx Series.

Install

Binary package:

pkg install openhantek

From the ports tree:

cd /usr/ports/misc/openhantek/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	openhantek>0:misc/openhantek

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.4.1.r23.4.1.r2-3.3.33.4.1.r2
FreeBSD:14:quarterly3.4.1.r23.4.1.r2n/a3.3.33.4.1.r2
FreeBSD:15:latest3.4.1.r23.4.1.r2n/a3.3.3-
FreeBSD:15:quarterly3.4.1.r23.4.1.r2n/an/an/a
FreeBSD:16:latest3.4.1.r23.4.1.r2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 134

The first 100 are listed.

Run dependencies 120

The first 100 are listed.

No port depends on this one.

Configuration

Options name: misc_openhantek

OptionDefaultDescription
HANTEK_ACoffAllow AC input with a modified hardware
USES
cmake desktop-file-utils gl localbase qt:6
Service scripts
none

Message after installing

You installed OpenHantek: the client for Hantek PC-oscilloscope.

In order for OpenHantek to work you need:
1. Have a compatible device: DSO-6022, DSO-2020, etc.
2. Make sure that your USB device has permissions for your user.
   You can achieve this by adding records like this to your
   /etc/devd.conf:

notify 100 {
	match "system"		"USB";
	match "subsystem"	"DEVICE";
	match "type"		"ATTACH";
	match "vendor"	"0x04b4";
	match "product"	"0x6022";
	action "/usr/sbin/chown {your-user} /dev/usb/`echo $cdev | sed s/ugen//`.*";
};

The "action" above doesn't use $device-name due to:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242111

Also please note that devices like this have two vendor/product id
combinations, before and after loading the firmware, hence two
commands above.

Files

distinfo 1
FileSizeSHA256
OpenHantek-OpenHantek6022-3.4.1-rc2_GH0.tar.gz2.1305628e+07fecf263f0706634109f2db3aa555f92ac51121fac7d84c751e70659a984a4df6

Commit history 1

DateCommitCreditsLog message
b2935ebea2 Yuri Victorovich misc/openhantek: update 3.4.0-2026-10-16 → 3.4.1.r2