From bbcdff6f67bdf821d0fb39d5cb348e5224c898e5 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Sat, 27 Jun 2020 00:19:16 +0200 Subject: [PATCH] Update the udev rules to tag devices as uaccess and seat In order to be able to access the devices as the at-seat user, without having to fiddle with distro-specific permissions and groups, we need to tag it both `uaccess` and `seat`, and have the rule sorted before the one that applies permissions based on these tags. As such, the file had to be renamed as well. Signed-off-by: Gergely Nagy --- bin/find-device-port-linux-udev | 3 +-- docs/setup_toolchain.md | 22 +++++++++++----------- etc/60-kaleidoscope.rules | 16 ++++++++++++++++ etc/99-kaleidoscope.rules | 4 ---- 4 files changed, 28 insertions(+), 17 deletions(-) create mode 100644 etc/60-kaleidoscope.rules delete mode 100644 etc/99-kaleidoscope.rules diff --git a/bin/find-device-port-linux-udev b/bin/find-device-port-linux-udev index e74c1a8c..5d00c7a6 100644 --- a/bin/find-device-port-linux-udev +++ b/bin/find-device-port-linux-udev @@ -70,7 +70,7 @@ for my $path (@paths) { } if ( $devices{$path}{'ID_MM_CANDIDATE'}) { - my $rules = "$Bin/../etc/99-kaleidoscope.rules"; + my $rules = "$Bin/../etc/60-kaleidoscope.rules"; print_warning <