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.
===> The following configuration options are available for openhantek-3.4.1.r2:
HANTEK_AC=off: Allow AC input with a modified hardware
===> Use 'make config' to modify these settings
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.
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
misc/openhantek: Change to a more mantained fork OpenHantek/OpenHantek6022
This fork has some FreeBSD-specific patches in it.
Add the patch that removes libusb_set_auto_detach_kernel_driver because it
causes libusb_claim_interface to fail.
Made sure that it works with the DSO-6022BE device.
Fix build on GCC-based systems:
The compiler feature "cxx_range_for" is not known to CXX compiler "GNU"
version 4.2.1.
Approved by: portmgr (tier-2 blanket)