forked from pool/rtl-sdr
7473819adf
- Update to version (tag) 2.0.2 * lib: set SOVERSION back to 0 * r82xx: improve tuner precision and avoid redundant register writes for speed * fix: round gain input to nearest value * fix: set fc0012 gain to low on init * use library paths from pkg-config - version number set in CmakeList.txt is still 2.0.1, workaround added OBS-URL: https://build.opensuse.org/request/show/1181075 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl-sdr?expand=0&rev=29
272 lines
16 KiB
Diff
272 lines
16 KiB
Diff
From 9a2803f3d003b232e64a9d460d0ce0c78dc4f5b6 Mon Sep 17 00:00:00 2001
|
|
From: Martin Hauke <mardnh@gmx.de>
|
|
Date: Thu, 2 Nov 2023 20:27:06 +0100
|
|
Subject: [PATCH] Better udev handling
|
|
|
|
---
|
|
CMakeLists.txt | 69 +++++++++++++++++++++----
|
|
rtl-sdr.rules => rtl-sdr.rules.in | 84 +++++++++++++++----------------
|
|
2 files changed, 101 insertions(+), 52 deletions(-)
|
|
rename rtl-sdr.rules => rtl-sdr.rules.in (62%)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index bd7b143..50b7d13 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -106,16 +106,65 @@ add_custom_target(uninstall
|
|
########################################################################
|
|
# Install udev rules
|
|
########################################################################
|
|
-option(INSTALL_UDEV_RULES "Install udev rules for RTL-SDR" OFF)
|
|
-if (INSTALL_UDEV_RULES)
|
|
- install (
|
|
- FILES rtl-sdr.rules
|
|
- DESTINATION "/etc/udev/rules.d"
|
|
- COMPONENT "udev"
|
|
- )
|
|
-else (INSTALL_UDEV_RULES)
|
|
- message (STATUS "Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON")
|
|
-endif (INSTALL_UDEV_RULES)
|
|
+if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
+ SET(SYSTEM_IS_LINUX TRUE)
|
|
+ SET(UDEV_OPTION_DEFAULT ON)
|
|
+else()
|
|
+ SET(SYSTEM_IS_LINUX FALSE)
|
|
+ SET(UDEV_OPTION_DEFAULT OFF)
|
|
+endif()
|
|
+
|
|
+option(INSTALL_UDEV_RULES
|
|
+ "Install udev rules for the RTLSDR"
|
|
+ ${UDEV_OPTION_DEFAULT}
|
|
+)
|
|
+
|
|
+set(UDEV_RULES_PATH
|
|
+ "/etc/udev/rules.d"
|
|
+ CACHE STRING
|
|
+ "Target directory for udev rule installation. Ensure you have permissions to write to this directory."
|
|
+)
|
|
+
|
|
+if(SYSTEM_IS_LINUX)
|
|
+ if(INSTALL_UDEV_RULES)
|
|
+ if(NOT DEFINED UDEV_RULES_GROUP)
|
|
+ foreach(group usb plugdev)
|
|
+ execute_process(COMMAND "getent" group "${group}"
|
|
+ RESULT_VARIABLE _GETENT_RESULT
|
|
+ OUTPUT_QUIET
|
|
+ ERROR_QUIET)
|
|
+ if(NOT _GETENT_RESULT)
|
|
+ message(STATUS "Setting udev rule group to - ${group}")
|
|
+ set(UDEV_RULES_GROUP ${group})
|
|
+ break()
|
|
+ endif(NOT _GETENT_RESULT)
|
|
+ endforeach(group)
|
|
+ endif(NOT DEFINED UDEV_RULES_GROUP)
|
|
+ if(DEFINED UDEV_RULES_GROUP)
|
|
+ set(RTLSDR_GROUP "${UDEV_RULES_GROUP}"
|
|
+ CACHE STRING "Group to associate RTL-SDR devices with in udev rules")
|
|
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/rtl-sdr.rules.in
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/rtl-sdr.rules
|
|
+ @ONLY
|
|
+ )
|
|
+ message(STATUS "RTL-SDR udev rules will be installed to '${UDEV_RULES_PATH}' upon running 'make install'")
|
|
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/rtl-sdr.rules
|
|
+ DESTINATION ${UDEV_RULES_PATH}
|
|
+ COMPONENT "udev_rules")
|
|
+ else(UDEV_RULES_GROUP)
|
|
+ message(STATUS "RTL-SDR udev rules will not be installed because no suitable group was found")
|
|
+ message(STATUS "A group can be specified with -DUDEV_RULES_GROUP=<group>")
|
|
+ endif(DEFINED UDEV_RULES_GROUP)
|
|
+ else(INSTALL_UDEV_RULES)
|
|
+ message(STATUS
|
|
+ "RTL-SDR udev rules will not be installed because INSTALL_UDEV_RULES=OFF"
|
|
+ )
|
|
+ endif(INSTALL_UDEV_RULES)
|
|
+else(SYSTEM_IS_LINUX)
|
|
+ if(INSTALL_UDEV_RULES)
|
|
+ message(STATUS "udev rules not supported on this platform. Hide this message via -DINSTALL_UDEV_RULES=Off")
|
|
+ endif(INSTALL_UDEV_RULES)
|
|
+endif(SYSTEM_IS_LINUX)
|
|
|
|
option(DETACH_KERNEL_DRIVER "Detach kernel driver if loaded" OFF)
|
|
if (DETACH_KERNEL_DRIVER)
|
|
diff --git a/rtl-sdr.rules b/rtl-sdr.rules.in
|
|
similarity index 62%
|
|
rename from rtl-sdr.rules
|
|
rename to rtl-sdr.rules.in
|
|
index 83fca70..4c0bec6 100644
|
|
--- a/rtl-sdr.rules
|
|
+++ b/rtl-sdr.rules.in
|
|
@@ -16,127 +16,127 @@
|
|
#
|
|
|
|
# original RTL2832U vid/pid (hama nano, for example)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2832", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2832", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# RTL2832U OEM vid/pid, e.g. ezcap EzTV668 (E4000), Newsky TV28T (E4000/R820T) etc.
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# DigitalNow Quad DVB-T PCI-E card (4x FC0012?)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6680", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6680", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Leadtek WinFast DTV Dongle mini D (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6f0f", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0413", ATTRS{idProduct}=="6f0f", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Genius TVGo DVB-T03 USB dongle (Ver. B)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0458", ATTRS{idProduct}=="707f", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0458", ATTRS{idProduct}=="707f", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec Cinergy T Stick Black (rev 1) (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00a9", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00a9", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec NOXON rev 1 (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b3", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b3", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec Deutschlandradio DAB Stick (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b4", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b4", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec NOXON DAB Stick - Radio Energy (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b5", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b5", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec Media Broadcast DAB Stick (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b7", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b7", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec BR DAB Stick (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b8", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b8", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec WDR DAB Stick (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b9", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00b9", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec MuellerVerlag DAB Stick (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00c0", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00c0", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec Fraunhofer DAB Stick (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00c6", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00c6", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec Cinergy T Stick RC (Rev.3) (E4000)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d3", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d3", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec T Stick PLUS (E4000)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d7", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00d7", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Terratec NOXON rev 2 (E4000)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00e0", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0ccd", ATTRS{idProduct}=="00e0", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# PixelView PV-DT235U(RN) (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1554", ATTRS{idProduct}=="5020", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1554", ATTRS{idProduct}=="5020", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Astrometa DVB-T/DVB-T2 (R828D)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="15f4", ATTRS{idProduct}=="0131", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="15f4", ATTRS{idProduct}=="0131", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# HanfTek DAB+FM+DVB-T
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="15f4", ATTRS{idProduct}=="0133", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="15f4", ATTRS{idProduct}=="0133", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Compro Videomate U620F (E4000)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0620", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0620", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Compro Videomate U650F (E4000)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0650", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0650", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Compro Videomate U680F (E4000)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0680", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="185b", ATTRS{idProduct}=="0680", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# GIGABYTE GT-U7300 (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d393", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d393", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# DIKOM USB-DVBT HD
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d394", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d394", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Peak 102569AGPK (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d395", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d395", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# KWorld KW-UB450-T USB DVB-T Pico TV (TUA9001)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d397", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d397", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Zaapa ZT-MINDVBZP (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d398", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d398", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# SVEON STV20 DVB-T USB & FM (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d39d", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d39d", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Twintech UT-40 (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a4", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a4", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# ASUS U3100MINI_PLUS_V2 (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a8", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3a8", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# SVEON STV27 DVB-T USB & FM (FC0013)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3af", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3af", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# SVEON STV21 DVB-T USB & FM
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3b0", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b80", ATTRS{idProduct}=="d3b0", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Dexatek DK DVB-T Dongle (Logilink VG0002A) (FC2580)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1101", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1101", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Dexatek DK DVB-T Dongle (MSI DigiVox mini II V3.0)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1102", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1102", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Dexatek DK 5217 DVB-T Dongle (FC2580)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1103", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1103", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# MSI DigiVox Micro HD (FC2580)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1104", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d19", ATTRS{idProduct}=="1104", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Sweex DVB-T USB (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="a803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="a803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# GTek T803 (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="b803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="b803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# Lifeview LV5TDeluxe (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="c803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="c803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# MyGica TD312 (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d286", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d286", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
|
|
# PROlectrix DV107669 (FC0012)
|
|
-SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="plugdev"
|
|
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="1f4d", ATTRS{idProduct}=="d803", ENV{ID_SOFTWARE_RADIO}="1", MODE="0660", GROUP="@RTLSDR_GROUP@"
|
|
--
|
|
2.42.0
|
|
|