OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
Describe the bug
Installed OpenHantek deb package. Once started, the startup detects the device, but the OK button is grayed out. The SW starts OK if I start it as sudo user.
To Reproduce
Steps to reproduce the behavior:
Install OpenHantek on clean Ubuntu 21.04
Try to start the SW
The device (6022BL) will be detected, but will not be able to start
Start the SW as sudo - the SW will start and the device will work normally
Expected behavior
I should be able to start the SW without sudo.
Screenshots
N/A
Computer environment (please complete the following information):
OpenHantek version: 20210714-7483fb2
OS: linux
Distribution, version: Ubuntu 21.04
Video hardware: Intel integrated VGA
OpenGL version: n/a
Qt version: n/a
C++ compiler version: n/a
Scope device (please complete the following information):
Device Hantek 6022BL
Program top line: OpenHantek6022 (3.2.4) - Device DSO-6022BL (FW0209)
Input signal: n/a
Probe setting: n/a
Additional context
I modified the udev rules and added the plugdev group for the device:
Describe the bug Installed OpenHantek deb package. Once started, the startup detects the device, but the OK button is grayed out. The SW starts OK if I start it as sudo user.
To Reproduce Steps to reproduce the behavior:
Expected behavior I should be able to start the SW without sudo.
Screenshots N/A
Computer environment (please complete the following information):
Scope device (please complete the following information):
Additional context I modified the udev rules and added the plugdev group for the device:
Hantek DSO-6022BL, without FW, with FW
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="602a", TAG+="uaccess", TAG+="udev-acl", GROUP="plugdev" SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="602a", TAG+="uaccess", TAG+="udev-acl", GROUP="plugdev"
After re-triggering udev, the device starts no problem now without sudo.