Everything worked fine when I was running Fedora. Then I had to switch to a new hard drive and this time loaded Debian (Buster). Now I can upload to Uno with no problem but can't find any solution for the M0. Have set myself as a user in the dialout group as recommended, have tried running as root, have pressed the reset button before uploading, all do not work and fail with a variety of errors.
With the board plugged in ttyACM0 does not show up. When I press the reset button to trigger the bootloader it does but disappears as soon as the bootloader shuts down. It appears that the upload code seems to only try when it first starts but doesn't have whatever it takes to reset the board.
Here's what dmesg shows:
[15233.826621] usb 2-4: new full-speed USB device number 7 using xhci_hcd
[15233.976483] usb 2-4: New USB device found, idVendor=2a03, idProduct=004e, bcdDevice= 1.00
[15233.976490] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15233.976493] usb 2-4: Product: Arduino M0
[15233.976496] usb 2-4: Manufacturer: Arduino srl (www.Arduino.org)
[15233.976499] usb 2-4: SerialNumber: 004D
[15233.977710] cdc_acm 2-4:1.0: ttyACM0: USB ACM device
[15241.599235] usb 2-4: USB disconnect, device number 7
[15241.599504] cdc_acm 2-4:1.0: failed to set dtr/rts
The last line "failed to set dtr/rts" seems like a clue, perhaps that is what should cause the board to reset and thus make itself show up as ttyACM0.
It seems to me like some necessary library or driver didn't get loaded.
Other information:
-Running the local IDE version 1.8.10
-When it worked under Fedora was running the most current version of Fedora
Any help would be appreciated, project is all developed but now can't ship it!