.Can no longer program on Ubuntu 18.04.3 LTS

Status
Not open for further replies.

quarterturn

Well-known member
I went to update a Teensy 3.2 proejct recently via my Ubuntu laptop and found that Teensyduino no longer properly talks to the board when programming. I am on Arduino 1.8.10 with Teensyduino 1.48.

Arduino error:
Code:
Teensy did not respond to a USB-based request to enter program mode.
Please press the PROGRAM MODE BUTTON on your Teensy to upload your sketch.
An error occurred while uploading the sketch

Code:
Teensy verbose log:
16:21:37.056 (post_compile 23): Begin, version=1.48
16:21:37.056 (loader): remote connection 16 opened
16:21:37.057 (post_compile 23): Sending command: comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)
16:21:37.059 (loader): remote cmd from 16: "comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)"
16:21:37.061 (loader): remote cmd from 16: "status"
16:21:37.163 (post_compile 23): Status: 1, 0, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:37.163 (post_compile 23): Sending command: auto:on
16:21:37.164 (loader): remote cmd from 16: "auto:on"
16:21:37.164 (post_compile 23): Disconnect
16:21:37.195 (post_compile 24): Begin, version=1.48
16:21:37.405 (loader): remote connection 16 closed
16:21:37.406 (loader): remote connection 16 opened
16:21:37.406 (post_compile 24): Sending command: comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)
16:21:37.408 (loader): remote cmd from 16: "comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)"
16:21:37.410 (loader): remote cmd from 16: "status"
16:21:37.511 (post_compile 24): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:37.511 (post_compile 24): Disconnect
16:21:37.522 (post_compile 25): Running teensy_reboot: /home/alex/Downloads/arduino-1.8.10/hardware/teensy/../tools/teensy_reboot
16:21:37.545 (loader): remote connection 17 opened
16:21:37.548 (reboot 26): Begin, version=1.48
16:21:37.548 (reboot 26): location = /dev/ttyACM0
16:21:37.548 (reboot 26): portlabel = /dev/ttyACM0
16:21:37.548 (reboot 26): portprotocol = serial
16:21:37.548 (reboot 26): Serial device /dev/ttyACM0 will be tried first
16:21:37.721 (loader): remote connection 16 closed
16:21:37.721 (loader): remote connection 16 opened
16:21:37.723 (reboot 26): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:21:37.723 (reboot 26):   devnode=/dev/bus/usb/002/022, subsystem=usb, ifacenum=-1
16:21:37.723 (reboot 26): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0
16:21:37.723 (reboot 26):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:21:37.724 (reboot 26): add child:  subsys=hid, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.000F
16:21:37.724 (reboot 26):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:21:37.724 (reboot 26):   model=30 (Teensy 3.1)
16:21:37.725 (reboot 26): add child:  subsys=hidraw, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.000F/hidraw/hidraw0
16:21:37.725 (reboot 26):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:21:37.743 (reboot 26): found Teensy Loader, version 1.48
16:21:37.743 (reboot 26): Sending command: show:arduino_attempt_reboot
16:21:37.943 (loader): remote connection 17 closed
16:21:37.943 (loader): remote cmd from 16: "show:arduino_attempt_reboot"
16:21:37.943 (loader): got request to show arduino rebooting message
16:21:37.951 (reboot 26): Sending command: comment: Teensyduino 1.48 - LINUX64 (teensy_reboot)
16:21:38.183 (loader): remote cmd from 16: "comment: Teensyduino 1.48 - LINUX64 (teensy_reboot)"
16:21:38.184 (loader): remote cmd from 16: "status"
16:21:38.283 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:38.344 (loader): remote cmd from 16: "status"
16:21:38.451 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:38.451 (reboot 26): status read, retry 0
16:21:38.589 (loader): remote cmd from 16: "status"
16:21:38.649 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:38.649 (reboot 26): status read, retry 1
16:21:38.750 (loader): remote cmd from 16: "status"
16:21:38.810 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:38.810 (reboot 26): status read, retry 2
16:21:38.911 (loader): remote cmd from 16: "status"
16:21:38.969 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:38.969 (reboot 26): status read, retry 3
16:21:39.129 (loader): remote cmd from 16: "status"
16:21:39.183 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:39.183 (reboot 26): status read, retry 4
16:21:39.283 (loader): remote cmd from 16: "status"
16:21:39.349 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:39.349 (reboot 26): status read, retry 5
16:21:39.450 (loader): remote cmd from 16: "status"
16:21:39.515 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:39.515 (reboot 26): status read, retry 6
16:21:39.664 (loader): remote cmd from 16: "status"
16:21:39.724 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:39.724 (reboot 26): status read, retry 7
16:21:39.825 (loader): remote cmd from 16: "status"
16:21:39.890 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:39.890 (reboot 26): status read, retry 8
16:21:39.991 (loader): remote cmd from 16: "status"
16:21:40.060 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:40.060 (reboot 26): status read, retry 9
16:21:40.199 (loader): remote cmd from 16: "status"
16:21:40.253 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:40.253 (reboot 26): status read, retry 10
16:21:40.354 (loader): remote cmd from 16: "status"
16:21:40.418 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:40.418 (reboot 26): status read, retry 11
16:21:40.519 (loader): remote cmd from 16: "status"
16:21:40.583 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:40.583 (reboot 26): status read, retry 12
16:21:40.726 (loader): remote cmd from 16: "status"
16:21:40.780 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:40.780 (reboot 26): status read, retry 13
16:21:40.880 (loader): remote cmd from 16: "status"
16:21:40.947 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:40.947 (reboot 26): status read, retry 14
16:21:41.048 (loader): remote cmd from 16: "status"
16:21:41.107 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:41.107 (reboot 26): status read, retry 15
16:21:41.255 (loader): remote cmd from 16: "status"
16:21:41.314 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:41.314 (reboot 26): status read, retry 16
16:21:41.415 (loader): remote cmd from 16: "status"
16:21:41.480 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:41.480 (reboot 26): status read, retry 17
16:21:41.581 (loader): remote cmd from 16: "status"
16:21:41.641 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:41.641 (reboot 26): status read, retry 18
16:21:41.788 (loader): remote cmd from 16: "status"
16:21:41.844 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:41.844 (reboot 26): status read, retry 19
16:21:41.945 (loader): remote cmd from 16: "status"
16:21:42.008 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:42.008 (reboot 26): status read, retry 20
16:21:42.109 (loader): remote cmd from 16: "status"
16:21:42.169 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:42.169 (reboot 26): status read, retry 21
16:21:42.318 (loader): remote cmd from 16: "status"
16:21:42.372 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:42.372 (reboot 26): status read, retry 22
16:21:42.473 (loader): remote cmd from 16: "status"
16:21:42.539 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:42.539 (reboot 26): status read, retry 23
16:21:42.639 (loader): remote cmd from 16: "status"
16:21:42.700 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:42.700 (reboot 26): status read, retry 24
16:21:42.846 (loader): remote cmd from 16: "status"
16:21:42.898 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:42.898 (reboot 26): status read, retry 25
16:21:42.998 (loader): remote cmd from 16: "status"
16:21:43.060 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:43.060 (reboot 26): status read, retry 26
16:21:43.160 (loader): remote cmd from 16: "status"
16:21:43.220 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:43.220 (reboot 26): status read, retry 27
16:21:43.385 (loader): remote cmd from 16: "status"
16:21:43.442 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:43.442 (reboot 26): status read, retry 28
16:21:43.542 (loader): remote cmd from 16: "status"
16:21:43.606 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:43.606 (reboot 26): status read, retry 29
16:21:43.707 (loader): remote cmd from 16: "status"
16:21:43.768 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:43.768 (reboot 26): status read, retry 30
16:21:43.917 (loader): remote cmd from 16: "status"
16:21:43.971 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:43.971 (reboot 26): status read, retry 31
16:21:44.071 (loader): remote cmd from 16: "status"
16:21:44.133 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:44.133 (reboot 26): status read, retry 32
16:21:44.233 (loader): remote cmd from 16: "status"
16:21:44.292 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:44.292 (reboot 26): status read, retry 33
16:21:44.449 (loader): remote cmd from 16: "status"
16:21:44.508 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:44.508 (reboot 26): status read, retry 34
16:21:44.609 (loader): remote cmd from 16: "status"
16:21:44.678 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:44.678 (reboot 26): status read, retry 35
16:21:44.779 (loader): remote cmd from 16: "status"
16:21:44.841 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:44.841 (reboot 26): status read, retry 36
16:21:44.987 (loader): remote cmd from 16: "status"
16:21:45.043 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:45.043 (reboot 26): status read, retry 37
16:21:45.143 (loader): remote cmd from 16: "status"
16:21:45.230 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:45.230 (reboot 26): status read, retry 38
16:21:45.331 (loader): remote cmd from 16: "status"
16:21:45.402 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:45.402 (reboot 26): status read, retry 39
16:21:45.551 (loader): remote cmd from 16: "status"
16:21:45.617 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:45.617 (reboot 26): status read, retry 40
16:21:45.718 (loader): remote cmd from 16: "status"
16:21:45.778 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:45.778 (reboot 26): status read, retry 41
16:21:45.879 (loader): remote cmd from 16: "status"
16:21:45.951 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:45.951 (reboot 26): status read, retry 42
16:21:46.100 (loader): remote cmd from 16: "status"
16:21:46.161 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:46.161 (reboot 26): status read, retry 43
16:21:46.261 (loader): remote cmd from 16: "status"
16:21:46.327 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:46.327 (reboot 26): status read, retry 44
16:21:46.427 (loader): remote cmd from 16: "status"
16:21:46.493 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:46.493 (reboot 26): status read, retry 45
16:21:46.644 (loader): remote cmd from 16: "status"
16:21:46.703 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:46.703 (reboot 26): status read, retry 46
16:21:46.804 (loader): remote cmd from 16: "status"
16:21:46.869 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:46.869 (reboot 26): status read, retry 47
16:21:46.969 (loader): remote cmd from 16: "status"
16:21:47.031 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:47.031 (reboot 26): status read, retry 48
16:21:47.177 (loader): remote cmd from 16: "status"
16:21:47.230 (reboot 26): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:21:47.230 (reboot 26): status read, retry 49
16:21:47.331 (reboot 26): Teensy did not respond to a USB-based request to automatically reboot.
16:21:47.799 (loader): remote connection 16 closed
16:22:09.076 (loader): Open File event
16:22:20.622 (loader): File "teensyv.ino.hex". 29772 bytes, 46% used
16:22:25.461 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.000F/hidraw/hidraw0
16:22:25.464 (ports 6): unknown action: unbind
16:22:25.466 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.000F
16:22:25.468 (ports 6): unknown action: unbind
16:22:25.471 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0
16:22:25.473 (ports 6): unknown action: unbind
16:22:25.475 (ports 6): del device: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:22:26.137 (ports 6): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:22:26.137 (ports 6):   devnode=/dev/bus/usb/002/023, subsystem=usb, ifacenum=-1
16:22:26.137 (ports 6): usb_add: /dev/bus/usb/002/023 (Teensy 3.1) Bootloader
16:22:26.141 (ports 6): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0
16:22:26.141 (ports 6):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:22:26.141 (ports 6): usb_add: /dev/bus/usb/002/023 (Teensy 3.1) Bootloader
16:22:26.146 (ports 6): add child:  subsys=hid, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0010
16:22:26.146 (ports 6):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:22:26.146 (ports 6):   model=30 (Teensy 3.1)
16:22:26.146 (ports 6): usb_add: /dev/bus/usb/002/023 (Teensy 3.1) Bootloader
16:22:26.149 (ports 6): add child:  subsys=hidraw, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0010/hidraw/hidraw0
16:22:26.149 (ports 6):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:22:26.149 (ports 6): usb_add: /dev/bus/usb/002/023 (Teensy 3.1) Bootloader
16:22:26.152 (ports 6): unknown action: bind
16:22:26.156 (ports 6): unknown action: bind
16:22:26.159 (ports 6): unknown action: bind
16:23:02.256 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0010/hidraw/hidraw0
16:23:02.259 (ports 6): unknown action: unbind
16:23:02.260 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0010
16:23:02.262 (ports 6): unknown action: unbind
16:23:02.264 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0
16:23:02.267 (ports 6): unknown action: unbind
16:23:02.268 (ports 6): del device: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:23:03.062 (ports 6): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:23:03.062 (ports 6):   devnode=/dev/bus/usb/002/024, subsystem=usb, ifacenum=-1
16:23:03.062 (ports 6): usb_add: /dev/bus/usb/002/024 (Teensy 3.1) Bootloader
16:23:03.066 (ports 6): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0
16:23:03.066 (ports 6):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:23:03.066 (ports 6): usb_add: /dev/bus/usb/002/024 (Teensy 3.1) Bootloader
16:23:03.069 (ports 6): add child:  subsys=hid, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0011
16:23:03.069 (ports 6):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:23:03.069 (ports 6):   model=30 (Teensy 3.1)
16:23:03.069 (ports 6): usb_add: /dev/bus/usb/002/024 (Teensy 3.1) Bootloader
16:23:03.071 (ports 6): add child:  subsys=hidraw, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0011/hidraw/hidraw0
16:23:03.071 (ports 6):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:23:03.071 (ports 6): usb_add: /dev/bus/usb/002/024 (Teensy 3.1) Bootloader
16:23:03.072 (ports 6): unknown action: bind
16:23:03.073 (ports 6): unknown action: bind
16:23:03.075 (ports 6): unknown action: bind
16:23:10.917 (loader): Auto Button event
16:23:10.918 (loader): Auto mode: disabled
16:23:14.871 (loader): Open File event
16:23:17.176 (loader): File "teensyv.ino.hex". 29772 bytes, 46% used
16:23:21.105 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0011/hidraw/hidraw0
16:23:21.107 (ports 6): unknown action: unbind
16:23:21.110 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0011
16:23:21.111 (ports 6): unknown action: unbind
16:23:21.113 (ports 6): del child: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0
16:23:21.116 (ports 6): unknown action: unbind
16:23:21.118 (ports 6): del device: location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:23:21.785 (ports 6): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:23:21.785 (ports 6):   devnode=/dev/bus/usb/002/025, subsystem=usb, ifacenum=-1
16:23:21.785 (ports 6): usb_add: /dev/bus/usb/002/025 (Teensy 3.1) Bootloader
16:27:39.010 (post_compile 27): Begin, version=1.48
16:27:39.010 (loader): remote connection 16 opened
16:27:39.011 (post_compile 27): Sending command: comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)
16:27:39.015 (loader): remote cmd from 16: "comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)"
16:27:39.018 (loader): remote cmd from 16: "status"
16:27:39.018 (loader): file changed
16:27:39.030 (loader): File "teensyv.ino.hex". 29772 bytes, 46% used
16:27:39.127 (post_compile 27): Status: 1, 0, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:39.127 (post_compile 27): Sending command: auto:on
16:27:39.177 (loader): remote cmd from 16: "auto:on"
16:27:39.177 (post_compile 27): Disconnect
16:27:39.222 (post_compile 28): Begin, version=1.48
16:27:39.446 (loader): remote connection 16 opened
16:27:39.446 (loader): remote connection 16 closed
16:27:39.447 (post_compile 28): Sending command: comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)
16:27:39.448 (loader): remote cmd from 16: "comment: Teensyduino 1.48 - LINUX64 (teensy_post_compile)"
16:27:39.450 (loader): remote cmd from 16: "status"
16:27:39.555 (post_compile 28): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:39.555 (post_compile 28): Disconnect
16:27:39.566 (post_compile 29): Running teensy_reboot: /home/alex/Downloads/arduino-1.8.10/hardware/teensy/../tools/teensy_reboot
16:27:39.800 (loader): remote connection 16 opened
16:27:39.801 (loader): remote connection 16 closed
16:27:39.802 (reboot 30): Begin, version=1.48
16:27:39.802 (reboot 30): location = /dev/ttyACM0
16:27:39.802 (reboot 30): portlabel = /dev/ttyACM0
16:27:39.802 (reboot 30): portprotocol = serial
16:27:39.802 (reboot 30): Serial device /dev/ttyACM0 will be tried first
16:27:40.053 (loader): remote connection 16 closed
16:27:40.054 (loader): remote connection 16 opened
16:27:40.055 (reboot 30): add device: subsys=usb, type=usb_device, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:27:40.055 (reboot 30):   devnode=/dev/bus/usb/002/025, subsystem=usb, ifacenum=-1
16:27:40.055 (reboot 30): add child:  subsys=usb, type=usb_interface, location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0
16:27:40.055 (reboot 30):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:27:40.056 (reboot 30): add child:  subsys=hid, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0012
16:27:40.056 (reboot 30):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:27:40.056 (reboot 30):   model=30 (Teensy 3.1)
16:27:40.057 (reboot 30): add child:  subsys=hidraw, type=(null), location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4/2-4:1.0/0003:16C0:0478.0012/hidraw/hidraw0
16:27:40.057 (reboot 30):   parent location=/sys/devices/pci0000:00/0000:00:10.0/usb2/2-4
16:27:40.074 (reboot 30): found Teensy Loader, version 1.48
16:27:40.074 (reboot 30): Sending command: show:arduino_attempt_reboot
16:27:40.299 (loader): remote cmd from 16: "show:arduino_attempt_reboot"
16:27:40.299 (loader): got request to show arduino rebooting message
16:27:40.304 (reboot 30): Sending command: comment: Teensyduino 1.48 - LINUX64 (teensy_reboot)
16:27:40.314 (loader): remote cmd from 16: "comment: Teensyduino 1.48 - LINUX64 (teensy_reboot)"
16:27:40.317 (loader): remote cmd from 16: "status"
16:27:40.415 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:40.437 (loader): remote cmd from 16: "status"
16:27:40.531 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:40.531 (reboot 30): status read, retry 0
16:27:40.693 (loader): remote cmd from 16: "status"
16:27:40.752 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:40.752 (reboot 30): status read, retry 1
16:27:40.853 (loader): remote cmd from 16: "status"
16:27:40.914 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:40.914 (reboot 30): status read, retry 2
16:27:41.014 (loader): remote cmd from 16: "status"
16:27:41.082 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:41.082 (reboot 30): status read, retry 3
16:27:41.235 (loader): remote cmd from 16: "status"
16:27:41.308 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:41.308 (reboot 30): status read, retry 4
16:27:41.409 (loader): remote cmd from 16: "status"
16:27:41.468 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:41.468 (reboot 30): status read, retry 5
16:27:41.569 (loader): remote cmd from 16: "status"
16:27:41.639 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:41.639 (reboot 30): status read, retry 6
16:27:41.785 (loader): remote cmd from 16: "status"
16:27:41.842 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:41.842 (reboot 30): status read, retry 7
16:27:41.943 (loader): remote cmd from 16: "status"
16:27:42.004 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:42.004 (reboot 30): status read, retry 8
16:27:42.104 (loader): remote cmd from 16: "status"
16:27:42.165 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:42.165 (reboot 30): status read, retry 9
16:27:42.316 (loader): remote cmd from 16: "status"
16:27:42.372 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:42.372 (reboot 30): status read, retry 10
16:27:42.473 (loader): remote cmd from 16: "status"
16:27:42.540 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:42.540 (reboot 30): status read, retry 11
16:27:42.641 (loader): remote cmd from 16: "status"
16:27:42.704 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:42.704 (reboot 30): status read, retry 12
16:27:42.850 (loader): remote cmd from 16: "status"
16:27:42.908 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:42.908 (reboot 30): status read, retry 13
16:27:43.009 (loader): remote cmd from 16: "status"
16:27:43.076 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:43.076 (reboot 30): status read, retry 14
16:27:43.177 (loader): remote cmd from 16: "status"
16:27:43.242 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:43.242 (reboot 30): status read, retry 15
16:27:43.385 (loader): remote cmd from 16: "status"
16:27:43.440 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:43.440 (reboot 30): status read, retry 16
16:27:43.541 (loader): remote cmd from 16: "status"
16:27:43.609 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:43.609 (reboot 30): status read, retry 17
16:27:43.710 (loader): remote cmd from 16: "status"
16:27:43.770 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:43.770 (reboot 30): status read, retry 18
16:27:43.919 (loader): remote cmd from 16: "status"
16:27:43.975 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:43.975 (reboot 30): status read, retry 19
16:27:44.076 (loader): remote cmd from 16: "status"
16:27:44.155 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:44.155 (reboot 30): status read, retry 20
16:27:44.255 (loader): remote cmd from 16: "status"
16:27:44.322 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:44.322 (reboot 30): status read, retry 21
16:27:44.476 (loader): remote cmd from 16: "status"
16:27:44.539 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:44.539 (reboot 30): status read, retry 22
16:27:44.639 (loader): remote cmd from 16: "status"
16:27:44.699 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:44.699 (reboot 30): status read, retry 23
16:27:44.800 (loader): remote cmd from 16: "status"
16:27:44.866 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:44.866 (reboot 30): status read, retry 24
16:27:45.020 (loader): remote cmd from 16: "status"
16:27:45.081 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:45.081 (reboot 30): status read, retry 25
16:27:45.182 (loader): remote cmd from 16: "status"
16:27:45.242 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:45.242 (reboot 30): status read, retry 26
16:27:45.343 (loader): remote cmd from 16: "status"
16:27:45.404 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:45.404 (reboot 30): status read, retry 27
16:27:45.552 (loader): remote cmd from 16: "status"
16:27:45.606 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:45.606 (reboot 30): status read, retry 28
16:27:45.706 (loader): remote cmd from 16: "status"
16:27:45.773 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:45.773 (reboot 30): status read, retry 29
16:27:45.874 (loader): remote cmd from 16: "status"
16:27:45.939 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:45.939 (reboot 30): status read, retry 30
16:27:46.086 (loader): remote cmd from 16: "status"
16:27:46.145 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:46.145 (reboot 30): status read, retry 31
16:27:46.245 (loader): remote cmd from 16: "status"
16:27:46.305 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:46.305 (reboot 30): status read, retry 32
16:27:46.406 (loader): remote cmd from 16: "status"
16:27:46.470 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:46.470 (reboot 30): status read, retry 33
16:27:46.619 (loader): remote cmd from 16: "status"
16:27:46.677 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:46.677 (reboot 30): status read, retry 34
16:27:46.778 (loader): remote cmd from 16: "status"
16:27:46.838 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:46.838 (reboot 30): status read, retry 35
16:27:46.939 (loader): remote cmd from 16: "status"
16:27:47.005 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:47.005 (reboot 30): status read, retry 36
16:27:47.153 (loader): remote cmd from 16: "status"
16:27:47.210 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:47.210 (reboot 30): status read, retry 37
16:27:47.310 (loader): remote cmd from 16: "status"
16:27:47.368 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:47.368 (reboot 30): status read, retry 38
16:27:47.469 (loader): remote cmd from 16: "status"
16:27:47.534 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:47.534 (reboot 30): status read, retry 39
16:27:47.681 (loader): remote cmd from 16: "status"
16:27:47.734 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:47.734 (reboot 30): status read, retry 40
16:27:47.835 (loader): remote cmd from 16: "status"
16:27:47.896 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:47.896 (reboot 30): status read, retry 41
16:27:47.997 (loader): remote cmd from 16: "status"
16:27:48.065 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:48.065 (reboot 30): status read, retry 42
16:27:48.213 (loader): remote cmd from 16: "status"
16:27:48.268 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:48.268 (reboot 30): status read, retry 43
16:27:48.369 (loader): remote cmd from 16: "status"
16:27:48.429 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:48.429 (reboot 30): status read, retry 44
16:27:48.529 (loader): remote cmd from 16: "status"
16:27:48.589 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:48.589 (reboot 30): status read, retry 45
16:27:48.738 (loader): remote cmd from 16: "status"
16:27:48.792 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:48.792 (reboot 30): status read, retry 46
16:27:48.893 (loader): remote cmd from 16: "status"
16:27:48.959 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:48.959 (reboot 30): status read, retry 47
16:27:49.059 (loader): remote cmd from 16: "status"
16:27:49.125 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:49.125 (reboot 30): status read, retry 48
16:27:49.274 (loader): remote cmd from 16: "status"
16:27:49.334 (reboot 30): Status: 1, 1, 0, 0, 0, 0, /tmp/arduino_build_948479/, teensyv.ino.hex
16:27:49.334 (reboot 30): status read, retry 49
16:27:49.434 (reboot 30): Teensy did not respond to a USB-based request to automatically reboot.
16:27:49.856 (loader): remote connection 16 closed

Manually feeding teensyduino the hex file does not, nor does pushing the button on the Teensy 3.1. I have tried more than one known-good Teensy with the same result.
 
uname -a
Code:
Linux elitebook745 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
 
Ubuntu recently changed ModemManager's default filter policy, causing ModemManager to again interfere with Teensy (and Arduino and many other boards). We updated the udev rules with a 2nd way to tell ModemManager manager to not interfere, since the Ubuntu's change (and a rather poor design in ModemManager) caused the 1st way to no longer work.

FWIW, the ModemManager devs have fixed this, but it will probably take years for a new version of ModemManager to flow downstream to Ubuntu 18 or other LTS releases.

Until then, the udev rules with 2 ways to tell ModemManager not to mess with Teensy are needed for all up-to-date Ubuntu systems.

You can also try deleting ModemManager, but it's remarkably difficult to get rid of it and keep it off your system as Ubuntu does updates.
 
Ubuntu recently changed ModemManager's default filter policy, causing ModemManager to again interfere with Teensy (and Arduino and many other boards). We updated the udev rules with a 2nd way to tell ModemManager manager to not interfere, since the Ubuntu's change (and a rather poor design in ModemManager) caused the 1st way to no longer work.

FWIW, the ModemManager devs have fixed this, but it will probably take years for a new version of ModemManager to flow downstream to Ubuntu 18 or other LTS releases.

Until then, the udev rules with 2 ways to tell ModemManager not to mess with Teensy are needed for all up-to-date Ubuntu systems.

You can also try deleting ModemManager, but it's remarkably difficult to get rid of it and keep it off your system as Ubuntu does updates.

Thanks, that solved it!
 
Status
Not open for further replies.
Back
Top