From c431309019ceb8f62442e78218ad6530b074b674 Mon Sep 17 00:00:00 2001 From: Norbert Takacs Date: Sun, 24 Mar 2024 21:20:51 +0100 Subject: [PATCH] Update README.md udev rules Signed-off-by: Norbert Takacs --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index effdaa9..a42a676 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,24 @@ If you have any errors during the plugin load or run please check the main X-Pla Get the latest release from [github](https://github.com/norberttak/XPanel/releases) Copy the xpanel folder into your X-Plane plugin directory. +For the Saitek devices you need to set udev rules: +``` +/etc/udev/rules.d/99-saitek.rules + +KERNEL=="hidraw*", ATTRS{idProduct}=="0d67", ATTRS{idVendor}=="06a3", MODE="0666", SYMLINK+="saitekswitchpanel" +KERNEL=="hidraw*", ATTRS{idProduct}=="0d05", ATTRS{idVendor}=="06a3", MODE="0666", SYMLINK+="saitekradiopanel" +KERNEL=="hidraw*", ATTRS{idProduct}=="0d06", ATTRS{idVendor}=="06a3", MODE="0666", SYMLINK+="saitekmultipanel" +BUS=="usb", ATTRS{idProduct}=="0d05", ATTRS{idVendor}=="06a3", MODE="0666" +BUS=="usb", ATTRS{idProduct}=="0d06", ATTRS{idVendor}=="06a3", MODE="0666" +BUS=="usb", ATTRS{idProduct}=="0d67", ATTRS{idVendor}=="06a3", MODE="0666" +``` + If you have an Arduino based board you need to add the appropriate udev rules to grant device access permissions, for example: ``` /etc/udev/rules.d/99-leonardo.rules: -SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="8036", MODE:="0666" +KERNEL=="hidraw*", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="8036", MODE:="0666" +BUS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="8036", MODE="0666" ```