[ModemManager/f17] add arduino blacklist items
Tom Callaway
spot at fedoraproject.org
Thu Jan 31 13:03:31 UTC 2013
commit e37e67955555d3899ce31c2ea6d9bfd78c927dac
Author: Tom Callaway <spot at fedoraproject.org>
Date: Thu Jan 31 08:06:12 2013 -0500
add arduino blacklist items
ModemManager.spec | 7 ++++++-
rh861620-blacklist-arduino-devices.patch | 18 ++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/ModemManager.spec b/ModemManager.spec
index a0ae9ef..9e95811 100644
--- a/ModemManager.spec
+++ b/ModemManager.spec
@@ -4,7 +4,7 @@
Summary: Mobile broadband modem management service
Name: ModemManager
Version: 0.6.0.0
-Release: 2%{snapshot}%{?dist}
+Release: 3%{snapshot}%{?dist}
#
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
# tarball built with:
@@ -32,6 +32,7 @@ Patch0: buildsys-hates-openpty.patch
Patch1: rh862341-1-UCS2-conversions.patch
Patch2: rh862341-2-parse_operator.patch
+Patch3: rh861620-blacklist-arduino-devices.patch
%description
The ModemManager service provides a consistent API to operate many different
@@ -42,6 +43,7 @@ modems, including mobile broadband (3G) devices.
%patch0 -p1 -b .pty
%patch1 -p1 -b .UCS2-conversion
%patch2 -p1 -b .parse-operator
+%patch3 -p1 -b .arduino
%build
@@ -95,6 +97,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_datadir}/dbus-1/interfaces/*.xml
%changelog
+* Thu Jan 31 2013 Tom Callaway <spot at fedoraproject.org> - 0.6.0.0-3
+- blacklist common arduino devices (rh #861620)
+
* Tue Nov 27 2012 Jiří Klimeš <jklimes at redhat.com> - 0.6.0.0-2
- core: fix a crash in g_utf8_validate() (rh #862341)
diff --git a/rh861620-blacklist-arduino-devices.patch b/rh861620-blacklist-arduino-devices.patch
new file mode 100644
index 0000000..fe9fec6
--- /dev/null
+++ b/rh861620-blacklist-arduino-devices.patch
@@ -0,0 +1,18 @@
+diff -up ModemManager-0.6.0.0/src/77-mm-usb-device-blacklist.rules.arduino ModemManager-0.6.0.0/src/77-mm-usb-device-blacklist.rules
+--- ModemManager-0.6.0.0/src/77-mm-usb-device-blacklist.rules.arduino 2013-01-31 07:57:12.321964272 -0500
++++ ModemManager-0.6.0.0/src/77-mm-usb-device-blacklist.rules 2013-01-31 07:59:02.546965926 -0500
+@@ -68,5 +68,14 @@ ATTRS{idVendor}=="050d", ATTRS{idProduct
+ # ATEN Intl UC-232A (Prolific)
+ ATTRS{idVendor}=="0557", ATTRS{idProduct}=="2008", ENV{ID_MM_DEVICE_IGNORE}="1"
+
++# FT232 USB-Serial (UART) IC (Arduino)
++ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ENV{ID_MM_DEVICE_IGNORE}="1"
++
++# Atmel Corp. LUFA USB to Serial Adapter Project (Arduino)
++ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="204b", ENV{ID_MM_DEVICE_IGNORE}="1"
++
++# Anything with the Arduino Vendor ID
++ATTRS{idVendor}=="2341", ENV{ID_MM_DEVICE_IGNORE}="1"
++
+ LABEL="mm_usb_device_blacklist_end"
+
More information about the scm-commits
mailing list