A few quick notes on the udev rules install script.
The install command looks like this:
cat /tmp/.mount_Logic-onX696/resources/linux-x64/99-SaleaeLogic.rules | sudo tee /etc/udev/rules.d/99-SaleaeLogic.rules > /dev/null && echo "finished installing /etc/udev/rules.d/99-SaleaeLogic.rules"
When run, that command will prompt for the root password. once entered, it will create the file with the correct contents, which can be verified with:
cat /etc/udev/rules.d/99-SaleaeLogic.rules
Content:
# Saleae Logic Analyzer
# This file should be installed to /etc/udev/rules.d so that you can access the Logic hardware without being root
#
# type this at the command prompt: sudo cp 99-SaleaeLogic.rules /etc/udev/rules.d
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="0925", ATTR{idProduct}=="3881", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="21a9", ATTR{idProduct}=="1001", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="21a9", ATTR{idProduct}=="1003", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="21a9", ATTR{idProduct}=="1004", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="21a9", ATTR{idProduct}=="1005", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="21a9", ATTR{idProduct}=="1006", MODE="0666
However, the Logic 2 software must be running when the command is run, otherwise the source file will no longer exist. This is because our application is packaged as an AppImage, the contents of which are only available while the app is running.
Root permissions are required because the udev rules directory is by default read-only.
We frequently perform this ourselves, and we do most of our Linux testing on Ubuntu 22.04 these days.
@b.hughes1, because our app is packaged as an AppImage, there is no installation step. It can be run directly once execute permissions have been granted with chmod +x ...
.