[Bug 807167] New: ModemManager grabs avr-programmer device
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c0 Summary: ModemManager grabs avr-programmer device Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jw@suse.com QAContact: qa-bugs@suse.de CC: bnc-team-gnome@forge.provo.novell.com Found By: --- Blocker: --- $ lsusb | grep 'ID 2341:0036' Bus 004 Device 014: ID 2341:0036 Arduino SA This is not a modem. Can we tell ModemManager to leave the device alone? The programmer that is supposed to work with the related /dev/ttyACM0 is avrdude, it fails like this: avrdude -c avr109 -u -p atmega32u4 -P /dev/ttyACM0 -U flash:w:blink.hex avrdude: ser_open(): can't open device "/dev/ttyACM0": Device or resource busy Tested workaround: $ sudo mv /usr/sbin/modem-manager{,.off} -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c1 Ludovic Paumier <ludovic.paumier@free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ludovic.paumier@free.fr --- Comment #1 from Ludovic Paumier <ludovic.paumier@free.fr> 2013-04-03 20:34:47 UTC --- Was looking to have an Arduino Uno being recognized as well today, Found a workaround here https://bugzilla.redhat.com/show_bug.cgi?id=861620 Proposed following solution worked, however, OpenSuse's file header have : "# do not edit this file, it will be overwritten on update" ----------------------------------------------------------- Jacek Pawlyta 2012-10-07 12:53:34 EDT adding # Arduino ATTR{idVendor}=="2341", ENV{ID_MM_DEVICE_IGNORE}="1" to /usr/lib/udev/rules.d/77-mm-usb-device-blacklist.rules ----------------------------------------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |dimstar@opensuse.org AssignedTo|bnc-team-screening@forge.pr |dimstar@opensuse.org |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c2 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |jw@suse.com --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> 2013-04-03 21:07:40 UTC --- Test packages of ModemManager should appear shortly in http://download.opensuse.org/repositories/home:/dimstar:/branches:/openSUSE:... Juergen, Ludovic, can you please give those packages some test go and report back? If all is fine, I will prepare a maintenance update for it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c3 Juergen Weigert <jw@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jw@suse.com | --- Comment #3 from Juergen Weigert <jw@suse.com> 2013-04-03 22:31:33 UTC --- Thanks Dominique! Your ModemManager-0.6.0.0-3.4.1.i586.rpm solves the issue for me. Within avrdude, we maintain a list of more avr programmer devices. None of them is a modem. I assume, we should add them all to the mm blacklist? https://build.opensuse.org/package/view_file?expand=1&file=avrdude-udev.rules&package=avrdude&project=CrossToolchain:avr -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c4 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |jw@suse.com --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> 2013-04-04 17:52:46 UTC --- Juergen, we should probably not add them 'just all', but the ones that expose a 'tty' itnerface need to be blacklisted indeed. Do you happen to know which ones provide tty? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ModemManager grabs |[SR#162647] ModemManager |avr-programmer device |grabs avr-programmer device -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c5 --- Comment #5 from Benjamin Brunner <bbrunner@suse.com> 2013-04-15 09:33:17 CEST --- Jürgen, Dominique, are there any news or can we release the update? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c6 --- Comment #6 from Benjamin Brunner <bbrunner@suse.com> 2013-04-22 16:44:19 CEST --- Ping. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c7 Juergen Weigert <jw@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |jw@suse.com InfoProvider|jw@suse.com | --- Comment #7 from Juergen Weigert <jw@suse.com> 2013-04-23 09:44:11 UTC --- We can release. I am happy with the fix. Dominique: it is hard to say upfront if a device will bring up a tty or not. Devices with builtin bootloader typically bring up a tty when the bootloader is executing. Afterwards, it depends on the software loaded. How about this: Only start ModemManager, if we can confirm a known modem device is there. This is the way other services work: the software gets installed, but per default the service is not started. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c8 --- Comment #8 from Benjamin Brunner <bbrunner@suse.com> 2013-04-23 15:11:43 CEST --- Ok, thanks for the response. I'll release the update, but leave the bug open for the moment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=807167 https://bugzilla.novell.com/show_bug.cgi?id=807167#c9 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #9 from Dominique Leuenberger <dimstar@opensuse.org> 2013-07-19 09:45:39 UTC --- Closing... I don't think at this moment we should turn around the entire logic of how MM behaces (where it grabs all devices exposing a tty with the exception of a blacklist). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com