[hamradio-commits] [limesuite] 09/12: Add fix-missing-udev-subsystem patch to add missing SUBSYSTEM to udev rules

Andreas E. Bombe aeb at moszumanska.debian.org
Fri Aug 11 05:36:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

aeb pushed a commit to branch master
in repository limesuite.

commit d3c662c8d83b1b858ae5ce4586911e1b36e7d0d3
Author: Andreas Bombe <aeb at debian.org>
Date:   Thu Aug 10 18:38:03 2017 -0400

    Add fix-missing-udev-subsystem patch to add missing SUBSYSTEM to udev rules
---
 debian/changelog                          |  2 ++
 debian/patches/fix-missing-udev-subsystem | 19 +++++++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 69f6276..6602f3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ limesuite (17.06.0+dfsg-1) UNRELEASED; urgency=medium
   * Change liblimesuite ABI version from 17.02-1 to 17.06-1
   * Build-Depend on versioned libsoapysdr0.6-dev instead of libsoapysdr-dev
   * Bump Standards-Version to 4.0.1, no changes required
+  * Add fix-missing-udev-subsystem patch to add missing SUBSYSTEM match to
+    udev rules
 
  -- Andreas Bombe <aeb at debian.org>  Tue, 08 Aug 2017 22:59:39 -0400
 
diff --git a/debian/patches/fix-missing-udev-subsystem b/debian/patches/fix-missing-udev-subsystem
new file mode 100644
index 0000000..a1cd643
--- /dev/null
+++ b/debian/patches/fix-missing-udev-subsystem
@@ -0,0 +1,19 @@
+Description: Add SUBSYSTEM match to udev rules
+ The udev rules match vendor and product IDs without specifying the subsystem
+ and might match devices with the same IDs that aren't USB. Add a
+ SUBSYSTEM=="usb" match to fix.
+Author: Andreas Bombe <aeb at debian.org>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/udev-rules/64-limesuite.rules
++++ b/udev-rules/64-limesuite.rules
+@@ -1,5 +1,5 @@
+-ATTR{idVendor}=="04b4", ATTR{idProduct}=="8613", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
+-ATTR{idVendor}=="04b4", ATTR{idProduct}=="00f1", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
+-ATTR{idVendor}=="0403", ATTR{idProduct}=="601f", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
+-ATTR{idVendor}=="1d50", ATTR{idProduct}=="6108", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
++SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="8613", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
++SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="00f1", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
++SUBSYSTEM=="usb", ATTR{idVendor}=="0403", ATTR{idProduct}=="601f", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
++SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6108", SYMLINK+="stream-%k", MODE="660", GROUP="plugdev"
+ SUBSYSTEM=="xillybus", MODE="666", OPTIONS="last_rule"
diff --git a/debian/patches/series b/debian/patches/series
index f633518..83cbd8a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ use-system-glew
 link-libatomic
 fix-icon-install
 fix-libusb-include
+fix-missing-udev-subsystem

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/limesuite.git



More information about the pkg-hamradio-commits mailing list