Spatula
Thanks for the reply
I checked but no such device
bash-4.1$ ls -l /dev/ttyA*
ls: cannot access /dev/ttyA*: No such file or directory
bash-4.1$
The ttyACM0 is created on the first connection (108) which is immediately closed.
I see no device name on the second connection (109) so I don't have a clue what to look for.
If you wonder about the big number...
I found that running vmware makes the leonardo connect and disconnect al the time (sounds like mario when you run windows in the vm )
Each time the number gets raised twice (once for each port)
As you can see from the following dump
bash-4.1$ dmesg | tail -100
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 18 using ehci_hcd
usb 2-1.1: reset full speed USB device number 18 using ehci_hcd
usb 2-1.1: USB disconnect, device number 18
usb 2-1.1: new full speed USB device number 19 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 19 using ehci_hcd
usb 2-1.1: reset full speed USB device number 19 using ehci_hcd
usb 2-1.1: USB disconnect, device number 19
usb 2-1.1: new full speed USB device number 20 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 20 using ehci_hcd
usb 2-1.1: reset full speed USB device number 20 using ehci_hcd
usb 2-1.1: USB disconnect, device number 20
usb 2-1.1: new full speed USB device number 21 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 21 using ehci_hcd
usb 2-1.1: reset full speed USB device number 21 using ehci_hcd
usb 2-1.1: USB disconnect, device number 21
usb 2-1.1: new full speed USB device number 22 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 22 using ehci_hcd
usb 2-1.1: reset full speed USB device number 22 using ehci_hcd
usb 2-1.1: USB disconnect, device number 22
usb 2-1.1: new full speed USB device number 23 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 23 using ehci_hcd
usb 2-1.1: reset full speed USB device number 23 using ehci_hcd
usb 2-1.1: USB disconnect, device number 23
usb 2-1.1: new full speed USB device number 24 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 24 using ehci_hcd
usb 2-1.1: reset full speed USB device number 24 using ehci_hcd
usb 2-1.1: USB disconnect, device number 24
usb 2-1.1: new full speed USB device number 25 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 25 using ehci_hcd
usb 2-1.1: reset full speed USB device number 25 using ehci_hcd
usb 2-1.1: USB disconnect, device number 25
usb 2-1.1: new full speed USB device number 26 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 26 using ehci_hcd
usb 2-1.1: reset full speed USB device number 26 using ehci_hcd
usb 2-1.1: USB disconnect, device number 26
usb 2-1.1: new full speed USB device number 27 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 27 using ehci_hcd
usb 2-1.1: reset full speed USB device number 27 using ehci_hcd
usb 2-1.1: USB disconnect, device number 27
usb 2-1.1: new full speed USB device number 28 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 28 using ehci_hcd
usb 2-1.1: reset full speed USB device number 28 using ehci_hcd
usb 2-1.1: USB disconnect, device number 28
usb 2-1.1: new full speed USB device number 29 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: reset full speed USB device number 29 using ehci_hcd
usb 2-1.1: reset full speed USB device number 29 using ehci_hcd
usb 2-1.1: USB disconnect, device number 29
usb 2-1.1: new full speed USB device number 30 using ehci_hcd
usb 2-1.1: New USB device found, idVendor=2341, idProduct=8036
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1.1: Product: Arduino Leonardo
usb 2-1.1: Manufacturer: Arduino LLC
usb 2-1.1: USB disconnect, device number 30
bash-4.1$
This reconnection does not happen with the micro on my system. But I do not know the port for the micro as well (so no upload on micro in linux for me right now)