Hello all. I have had a Leonardo for some time now although I haven't used it for a very long time until recently. It was working a couple of weeks ago and then started giving me an error (see below) and I can not upload any code to it with the IDE. I ordered another Leonardo thinking my current one may have died since I have had it a while. The new one arrived and it gave me the same error. For the record my Uno and Pro Mini both work fine on Ubuntu. It is just the Leonardo having this issue. This leads me to believe it has something to do with Modem Manager like I have seen others have trouble with on similar devices (like Lilypad stuff) but I don't know enough about it to trouble shoot any further.
I remembered that I had a Windows partition on another machine in the house so I tested both Leonardos on the machine. They work fine. Walking to that machine to upload sketches is not something that can be done easily (for peace with my wife and physical reasons). Hopefully someone can help.
Arduino IDE error:
processing.app.debug.RunnerException: Couldn’t find a Leonardo on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
The device: crw-rw-rw- 1 root dialout 166, 0 Jul 22 21:45 /dev/ttyACM0
[ 61.736438] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
[ 61.736927] usbcore: registered new interface driver cdc_acm
[ 61.736929] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 69.459998] usb 3-1: USB disconnect, device number 6
[ 69.732225] usb 3-1: new full-speed USB device number 7 using xhci_hcd
[ 69.750518] usb 3-1: New USB device found, idVendor=2341, idProduct=8036
[ 69.750522] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 69.750524] usb 3-1: Product: Arduino Leonardo
[ 69.750527] usb 3-1: Manufacturer: Arduino LLC
[ 69.750925] cdc_acm 3-1:1.0: This device cannot do calls on its own. It is not a modem.
[ 69.750951] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
[ 69.752191] input: Arduino LLC Arduino Leonardo as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/input/input17
[ 69.752297] hid-generic 0003:2341:8036.0008: input,hidraw5: USB HID v1.01 Mouse [Arduino LLC Arduino Leonardo] on usb-0000:00:14.0-1/input2