File: 0022-udev-Use-uaccess-instead-of-group-mode.patch

package info (click to toggle)
airspyhf 1.6.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,036 kB
  • sloc: ansic: 3,915; sh: 18; xml: 18; makefile: 13
file content (20 lines) | stat: -rw-r--r-- 708 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 6d4469d80d4788bae24b8d5cb8558770f868ae2d Mon Sep 17 00:00:00 2001
From: Evan McClain <aeroevan@gmail.com>
Date: Mon, 10 Oct 2022 23:33:40 -0400
Subject: [PATCH 22/46] udev: Use uaccess instead of group/mode

Not all distributions have a plugdev group
---
 tools/52-airspyhf.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/52-airspyhf.rules b/tools/52-airspyhf.rules
index d7dee45..a61afb0 100644
--- a/tools/52-airspyhf.rules
+++ b/tools/52-airspyhf.rules
@@ -1 +1 @@
-ATTR{idVendor}=="03eb", ATTR{idProduct}=="800c", SYMLINK+="airspyhf-%k", MODE="660", GROUP="plugdev"
+ATTR{idVendor}=="03eb", ATTR{idProduct}=="800c", SYMLINK+="airspyhf-%k", TAG+="uaccess"
-- 
2.47.3