add arduino blacklist items
This commit is contained in:
parent
77ef511f26
commit
b3b104c79b
@ -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@fedoraproject.org> - 0.6.0.0-3
|
||||
- blacklist common arduino devices (rh #861620)
|
||||
|
||||
* Tue Nov 27 2012 Jiří Klimeš <jklimes@redhat.com> - 0.6.0.0-2
|
||||
- core: fix a crash in g_utf8_validate() (rh #862341)
|
||||
|
||||
|
18
rh861620-blacklist-arduino-devices.patch
Normal file
18
rh861620-blacklist-arduino-devices.patch
Normal file
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user