linux code upload and modemmanager

littlejohn

  • Jr. Member
  • **
    • Posts: 7
  • hello there
    • View Profile
Another issue I had, just FYI:

I had alot of trouble uploading code to tinyscreen+ on Linux. Half the time it would fail or tell me the port was busy. This is due to ModemManager scoping out any serial ports to see if they are GSM modems. You can fix this by putting a udev rule something like this in /etc/udev/rules.d/77-arduino.rules

# stop modemmanager from checking every serial port for a modem.. it locks up the port
# for a few seconds and interferes with uploading.
#
# arduino
ATTRS{idVendor}=="2a03", ENV{ID_MM_DEVICE_IGNORE}="1"
# tinyscreen / atmel
ATTRS{idVendor}=="03eb", ENV{ID_MM_DEVICE_IGNORE}="1"

...as described here:
http://starter-kit.nettigo.eu/2015/serial-port-busy-for-avrdude-on-ubuntu-with-arduino-leonardo-eth/


Crinklaw

  • Newbie
  • *
    • Posts: 1
    • View Profile
Hi, yeah the best solution are these online casinos for that specific problem is in my post above...  ;D

What kind of problem are you having exactly?

Did you find a solution for this? I can't seem to upload the code either.
« Last Edit: September 22, 2022, 09:42:34 AM by Crinklaw »


littlejohn

  • Jr. Member
  • **
    • Posts: 7
  • hello there
    • View Profile
Hi, yeah the solution for that specific problem is in my post above...  ;D

What kind of problem are you having exactly?


Rick

  • Newbie
  • *
    • Posts: 2
    • View Profile
I guess I missed this and double posted. Specifically, one of the errors I was getting was "SAM-BA operation failed". See also: http://forum.tinycircuits.com/index.php?topic=1754.0 Sorry about the double post.


 

SMF spam blocked by CleanTalk