Bug 861620

Summary: Blacklist Arduino devices
Product: [Fedora] Fedora Reporter: Ville-Pekka Vainio <vpvainio>
Component: ModemManagerAssignee: Dan Williams <dcbw>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: cunio, dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-18 07:01:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ville-Pekka Vainio 2012-09-29 14:39:50 UTC
Description of problem:
When attaching an Arduino device, in this case an Arduino Uno, modem-manager tries to open the ttyACM0 device and fails. The Arduino board notices this and it seems that the probes by modem-manager slow down the execution of the code uploaded to the Arduino board.

Version-Release number of selected component (if applicable):
ModemManager-0.6.0.0-1.fc17

The Ubuntu patches, which apparently have not been upstreamed, are here: https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/910736

Comment 1 Jacek Pawlyta 2012-10-07 16:24:42 UTC
Confirming the same on Arduini Leonardo, when modem-manager is off 


$cat /usr/share/dbus-1/system-services/org.freedesktop.ModemManager.service 
[D-BUS Service]
Name=org.freedesktop.ModemManager
#Exec=/usr/sbin/modem-manager
Exec=/bin/false
User=root

Arduino UI seems to send sketches to the device, otherwise I get 

"Couldn't find a Leonardo on the selected port"
messages

Comment 2 Jacek Pawlyta 2012-10-07 16:53:34 UTC
adding 

# Arduino
ATTR{idVendor}=="2341",  ENV{ID_MM_DEVICE_IGNORE}="1"

to /usr/lib/udev/rules.d/77-mm-usb-device-blacklist.rules

at list 
fixes the problem also for Arduino devices, I don't think it will work for clones.

Comment 3 Fedora Update System 2013-01-31 13:18:09 UTC
ModemManager-0.6.0.0-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ModemManager-0.6.0.0-3.fc17

Comment 4 Fedora Update System 2013-01-31 13:18:35 UTC
ModemManager-0.6.0.0-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ModemManager-0.6.0.0-3.fc18

Comment 5 Fedora Update System 2013-02-01 16:31:09 UTC
Package ModemManager-0.6.0.0-3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ModemManager-0.6.0.0-3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1670/ModemManager-0.6.0.0-3.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-02-18 07:01:31 UTC
ModemManager-0.6.0.0-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-02-18 07:02:33 UTC
ModemManager-0.6.0.0-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.