Open suisseWalter opened 6 years ago
I had the same problem with my 6022BL, i also dual boot, but that has nothing to do with the problem.
I solved this problem by using https://codeload.github.com/OpenHantek/openhantek/legacy.zip/master
It configures as a 6022BE, and seems to work fine (only scope not logic tested at the mo.)
edit:: should add I use Ubuntu 16.04.6 LTS. though I will test this on a 18 soon.
the steps I used..
sudo apt update && sudo apt install g++ cmake qttools5-dev qttools5-dev-tools libfftw3-dev binutils-dev libusb-1.0-0-dev libqt5opengl5-dev mesa-common-dev libgl1-mesa-dev libgles2-mesa-dev
open a terminal in the OpenHantek-openhantek-eb33325 folder. Then..
mkdir build cd build cmake ../ make -j sudo make install
cd openhantek
plug the scope in and run with.
./OpenHantek
good luck
Ray
You could try the latest version from my repo https://github.com/Ho-Ro/openhantek It has some improvements and a fully working custom FW for 6022BE and 6022BL.
I may give that a go, cheers Ho-Ro
Hi RayT76
the steps I used.. sudo apt update && sudo apt install g++ cmake qttools5-dev qttools5-dev-tools libfftw3-dev binutils-dev libusb-1.0-0-dev libqt5opengl5-dev mesa-common-dev libgl1-mesa-dev libgles2-mesa-dev
open a terminal in the OpenHantek-openhantek-eb33325 folder. Then..
mkdir build cd build cmake ../ make -j sudo make install
cd openhantek
plug the scope in and run with.
./OpenHantek
For testing purpose you can omit the step sudo make install
- only the udev rule must be in place (either in /etc/udev/rules.d
or /lib/udev/rules.d
) to enable the access rights for normal users on your computer - then you can execute the newly built file openhantek/OpenHantek
. If everything works fine I would recommend to build a .deb (as well as .rpm and .tar.gz) package file with sudo make package
and install it via `sudo apt install ./openhantek__amd64.deb`. Or put it into ~/bin (this works at least on debian systems, create the directory if it doesn't exist already) if you want to test the new version only for yourself.
Have fun!
I have the problem that Openhantek (2017-12 release) crashes on startup in Ubuntu 18.04. the first time I start it up there comes a windows where it shows me my device but says " upload failed" the terminal prints out:
and I can only close it. On the next start it will simply crash with the "std::runtime_error" when I replug the device the cycle starts again("upload failed")
according to this post: https://github.com/OpenHantek/openhantek/issues/188 It should be fixed with the Openhantek2 branch. But I can't build/Install it. the same goes for any newer branches. another option mentioned in the Post is to change some code in the main.hh file. I changed them and then installed it again*. it didn't change anything.
because I run it my pc in a dual boot configuration I still have the Windows Hantek driver installed in windows. do I need to remove it to use Openhantek in Linux?
I'm a complete Linux newcommer therefore I don't really know how to find out more about this error. But i'm happy to try to help find the error in any way I can.
Also how do I start it after the "make -j2" comand without installing it? Do I need to install it in a certain directory or is it fine the have the folder in the "~/Download" directory?
any help is really apreciated. walter
updated because I installed Ubuntu as dual boot. and gave up with virtualbox (where the problem was similar)