ccs_hello wrote: ↑Tue Sep 17, 2019 1:36 pm Do a lspci -vvv
to find out what is on "port 3".
That reduces the troubleshooting scope (e.g., re-seat the adapter card, change the PCIe bus speed, etc.)
[ 20.924414] br-0bf497f34067: port 3(vethf970ab9) entered forwarding stateuptime 17 hours.
[ 1316.574050] pcieport 0000:00:1c.0: AER: Multiple Corrected error received: id=00e0
[ 1316.574086] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e0(Receiver ID)
[ 1316.574105] pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00000001/00002000
[ 1316.574117] pcieport 0000:00:1c.0: [ 0] Receiver Error (First)
[ 4047.882299] pcieport 0000:00:1c.0: AER: Multiple Corrected error received: id=00e0
[ 4047.882335] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e0(Receiver ID)
[ 4047.882353] pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00000001/00002000
[ 4047.882365] pcieport 0000:00:1c.0: [ 0] Receiver Error (First)
[11312.084604] perf: interrupt took too long (2514 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
[12589.306212] pcieport 0000:00:1c.0: AER: Corrected error received: id=00e0
[12589.306235] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e0(Receiver ID)
[12589.306255] pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00000001/00002000
[12589.306269] pcieport 0000:00:1c.0: [ 0] Receiver Error (First)
[13367.580612] pcieport 0000:00:1c.0: AER: Multiple Corrected error received: id=00e0
[13367.580650] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e0(Receiver ID)
[13367.580669] pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00000001/00002000
[13367.580683] pcieport 0000:00:1c.0: [ 0] Receiver Error (First)
[16342.435788] perf: interrupt took too long (3213 > 3142), lowering kernel.perf_event_max_sample_rate to 62250
[22969.870516] pcieport 0000:00:1c.0: AER: Multiple Corrected error received: id=00e0
[22969.870555] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e0(Transmitter ID)
[22969.870576] pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001001/00002000
[22969.870589] pcieport 0000:00:1c.0: [ 0] Receiver Error (First)
[22969.870603] pcieport 0000:00:1c.0: [12] Replay Timer Timeout
[24383.482756] perf: interrupt took too long (4046 > 4016), lowering kernel.perf_event_max_sample_rate to 49250
[35819.846903] perf: interrupt took too long (5098 > 5057), lowering kernel.perf_event_max_sample_rate to 39000
[58176.122021] perf: interrupt took too long (6383 > 6372), lowering kernel.perf_event_max_sample_rate to 31250
File "/usr/local/lib/python2.7/dist-packages/pyserial-3.4-py2.7.egg/serial/serialposix.py", line 268, in opensudo lsusb
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubas you can see lsusb can't see ardunio etc. Before issue we could find in lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubdmesg last verbose:
Bus 001 Device 005: ID 2341:8036 Arduino SA Leonardo (CDC ACM, HID)
Bus 001 Device 003: ID 04e2:1410 Exar Corp. XR21V1410 USB-UART IC
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[ 6940.261746] usb 1-1.1: device not accepting address 86, error -62journalctl
[ 6940.262218] usb 1-1-port1: unable to enumerate USB device
[ 6942.069751] xhci_hcd 0000:00:14.0: Timeout while waiting for stop endpoint command
[ 6945.429290] xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
[ 6945.429295] xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead
[ 6945.429317] xhci_hcd 0000:00:14.0: Error while assigning device slot ID
[ 6945.429320] xhci_hcd 0000:00:14.0: HC died; cleaning up
[ 6945.429324] xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 64.
[ 6945.429327] usb 1-1-port1: couldn't allocate usb_device
[ 6945.429335] usb 1-1: USB disconnect, device number 2
[ 6945.429615] usb 1-2: USB disconnect, device number 3
[ 6945.429656] cdc_xr_usb_serial 1-2:1.0: xr_usb_serial_disconnect
[ 6945.429660] cdc_xr_usb_serial 1-2:1.0: stop_data_traffic
[ 6945.429761] cdc_xr_usb_serial 1-2:1.1: xr_usb_serial_disconnect
[ 6945.429781] cdc_xr_usb_serial 1-2:1.0: xr_usb_serial_port_destruct
[ 6945.430030] usb 1-9: USB disconnect, device number 5
[ 9113.620520] perf: interrupt took too long (2514 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
wrz 12 09:57:30 latte kernel: usb 1-9: new full-speed USB device number 5 using xhci_hcd
wrz 12 09:57:30 latte kernel: usb 1-9: New USB device found, idVendor=2341, idProduct=8036
wrz 12 09:57:30 latte kernel: usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
wrz 12 09:57:30 latte kernel: usb 1-9: Product: Arduino Leonardo
wrz 12 09:57:30 latte kernel: usb 1-9: Manufacturer: Arduino LLC
wrz 12 09:57:30 latte mtp-probe[371]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9"
wrz 12 09:57:31 latte kernel: cdc_acm 1-9:1.0: ttyACM0: USB ACM device
wrz 12 09:57:30 latte kernel: pci 0000:00:14.0: [8086:9d2f] type 00 class 0x0c0330
wrz 12 09:57:30 latte kernel: pci 0000:00:14.0: reg 0x10: [mem 0xdf310000-0xdf31ffff 64bit]
wrz 12 09:57:30 latte kernel: pci 0000:00:14.0: PME# supported from D3hot D3cold
wrz 12 09:57:30 latte kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller
wrz 12 09:57:30 latte kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
wrz 12 09:57:30 latte kernel: xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
wrz 12 09:57:30 latte kernel: xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
wrz 12 09:57:30 latte kernel: usb usb1: SerialNumber: 0000:00:14.0
wrz 12 09:57:30 latte kernel: xhci_hcd 0000:00:14.0: xHCI Host Controller
wrz 12 09:57:30 latte kernel: xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
wrz 12 09:57:30 latte kernel: xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
wrz 12 09:57:30 latte kernel: usb usb2: SerialNumber: 0000:00:14.0
wrz 12 09:57:30 latte mtp-probe[371]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9"
wrz 12 09:57:30 latte mtp-probe[372]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
wrz 12 09:57:41 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:57:41 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:57:41 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:57:43 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:57:43 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:57:43 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:57:53 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:57:53 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:57:53 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:57:56 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:57:56 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:57:56 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:58:06 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:58:06 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:58:06 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:58:08 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:58:08 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:58:08 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:58:18 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:58:18 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:58:18 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:58:21 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:58:21 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:58:21 latte upowerd[1234]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:58:31 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.1
wrz 12 09:58:31 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0
wrz 12 09:58:31 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1
wrz 12 09:59:28 latte kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
wrz 12 09:59:33 latte kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
wrz 12 10:00:31 latte kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
wrz 12 10:00:37 latte kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
wrz 12 11:53:06 latte kernel: xhci_hcd 0000:00:14.0: ERROR mismatched command completion event
wrz 12 11:53:06 latte kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
wrz 12 11:53:08 latte kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for stop endpoint command
wrz 12 11:53:11 latte kernel: xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
wrz 12 11:53:11 latte kernel: xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead
wrz 12 11:53:11 latte kernel: xhci_hcd 0000:00:14.0: Error while assigning device slot ID
wrz 12 11:53:11 latte kernel: xhci_hcd 0000:00:14.0: HC died; cleaning up
wrz 12 11:53:11 latte kernel: xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 64.
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-9
wrz 12 11:53:11 latte upowerd[1234]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2
Lutz wrote: ↑Wed Dec 19, 2018 7:04 pm Unfortunately I have no knowledge of Linux.Thank you. Yes of course, the port is right:
But are you sure you are using the right COM port?
Code: Select all
wk@WKALPHA:~$ ls -l /dev/ttyACM0 crw-rw---- 1 root dialout 166, 0 gru 19 16:26 /dev/ttyACM0 I uploaded simple sketch: blink. D13 LED (red one) is blinking. That's mean that port is right and arduino is properly flashed. Then I flashed another sketch: standard firmata. This is simple and popular protocol for communicating with software on the computer.Code: Select all
echo -n "Hello" > /dev/ttyACM0 listen toCode: Select all
tail -f /dev/ttyACM0 Unfortunately there is no answer, logs etc.attachments: