OpenHantek / OpenHantek6022

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!
GNU General Public License v3.0
868 stars 153 forks source link

udev rules installed in the wrong place by .deb #133

Closed Ubergeekian closed 4 years ago

Ubergeekian commented 4 years ago

Describe the bug On installation from openhantek_20200930-16a52e8_amd64.deb, 60-hantek.rules is placed in /usr/lib/udev/rules.d and needs to be moved to /lib/udev/rules.d otherwise there is a permissions error failure when OpenHantek tries to upload firmware.

There is a warning that the rules need to be in the right place, but this only shows if the oscilloscope is not plugged in when OpenHantek starts.

To Reproduce Install software. Plug in oscilloscope Start OpenHantek

Expected behavior I expect the firmware to upload.

Screenshots If applicable, add screenshots or a video to help explain your problem.

Computer environment (please complete the following information):

Scope device (please complete the following information):

Additional context

I suggest that either the note about putting the rules file in the right pl;ace displays even if the oscilloscope is plugged in (perhaps if firmware upload fails) or that it gets installed in the right place to start with.