This is a distillation of previously posted questions, mostly reflecting what I've learned over the last week or so about Leonardo and its bootloader...
Consider the following minimal python program connected to an ATmega32U4 based (Leonardo-like) system via USB:
#! /usr/bin/python import sys import serial ser = serial.Serial(sys.argv, 1200) ser.close()
When run on my OSX laptop (
./reset.py /dev/cu.usbmodem1411), it resets the Leonardo. When run under Ubuntu (
./reset.py /dev/ttyACM0), it fails to reset it.
I understand that this is more likely a question about device drivers under Ubuntu than about the Leonardo, but has anyone observed this mis-behavior before? Or have suggestions about what to look for?