You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the given rules do not work for ubuntu 18.04/
changing 60-hantek-6022-usb.rules to: ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="6022", MODE="660", GROUP="plugdev" ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="6022", MODE="660", GROUP="plugdev"
allows python3 to run without sudo. Without this change, you get:
Traceback (most recent call last): File "/media/mike/Storage/Programming/vscode python/python test/test.py", line 21, in <module> scope.open_handle() File "/usr/local/lib/python3.6/dist-packages/Python_Hantek_6022BE_Wrapper-0.0.2-py3.6.egg/PyHT6022/LibUsbScope.py", line 97, in open_handle self.device_handle = self.device.open() File "/usr/local/lib/python3.6/dist-packages/libusb1-1.7.1-py3.6.egg/usb1/__init__.py", line 2168, in open File "/usr/local/lib/python3.6/dist-packages/libusb1-1.7.1-py3.6.egg/usb1/__init__.py", line 133, in mayRaiseUSBError File "/usr/local/lib/python3.6/dist-packages/libusb1-1.7.1-py3.6.egg/usb1/__init__.py", line 125, in raiseUSBError usb1.USBErrorAccess: LIBUSB_ERROR_ACCESS [-3]
The text was updated successfully, but these errors were encountered:
the given rules do not work for ubuntu 18.04/
changing 60-hantek-6022-usb.rules to:
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="6022", MODE="660", GROUP="plugdev"
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b5", ATTRS{idProduct}=="6022", MODE="660", GROUP="plugdev"
allows python3 to run without sudo. Without this change, you get:
Traceback (most recent call last): File "/media/mike/Storage/Programming/vscode python/python test/test.py", line 21, in <module> scope.open_handle() File "/usr/local/lib/python3.6/dist-packages/Python_Hantek_6022BE_Wrapper-0.0.2-py3.6.egg/PyHT6022/LibUsbScope.py", line 97, in open_handle self.device_handle = self.device.open() File "/usr/local/lib/python3.6/dist-packages/libusb1-1.7.1-py3.6.egg/usb1/__init__.py", line 2168, in open File "/usr/local/lib/python3.6/dist-packages/libusb1-1.7.1-py3.6.egg/usb1/__init__.py", line 133, in mayRaiseUSBError File "/usr/local/lib/python3.6/dist-packages/libusb1-1.7.1-py3.6.egg/usb1/__init__.py", line 125, in raiseUSBError usb1.USBErrorAccess: LIBUSB_ERROR_ACCESS [-3]
The text was updated successfully, but these errors were encountered: