Phidget Install in Linux - gkgkgk1215/else GitHub Wiki
-
Reference: https://www.phidgets.com/docs/OS_-_Linux#Non-Root-1 https://www.phidgets.com/docs/Phidgets_Drivers
-
Code Samples in Python: https://www.phidgets.com/?view=code_samples&lang=Python
-
Install Python module
conda activate minho
pip install Phidget22
- To install libphidget22,
curl -fsSL https://www.phidgets.com/downloads/setup_linux | sudo -E bash -
sudo apt-get install -y libphidget22
- Udev Rules:
sudo gedit /etc/udev/rules.d/99-libphidget22.rules
Put the following two lines
All current and future Phidgets - Vendor = 0x06c2, Product = 0x0030 - 0x00af
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="06c2", ATTRS{idProduct}=="00[3-a][0-f]", MODE="666"
Where mode 666 means every user has permission to read and write to the specified file/device. You need to then move this file to the following path
Restart the computer!