Forum
userhead anonymous
Replies (16)
  • You Reply: 230V ---- ups power supply ---- lattepanda with 45W usb type-C
  • You Reply: I see. This is SSD @ m3 port with heatsink on board -
    ADATA SX8200NP
  • You Reply:
    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.)


    lspci -vvv
    https://pastebin.com/LSpHiuGU
  • You Reply: After I disconnected it, clean from dust and reconnect again i have another errors with working arduino finally. PCIe Bus Error??
    [ 20.924414] br-0bf497f34067: port 3(vethf970ab9) entered forwarding state
    [ 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
    uptime 17 hours.
  • You Reply: anyone could help me with that?
  • You Reply: After reboot my Arduino revert to working state but two hours later script issue face up again:
    File "/usr/local/lib/python2.7/dist-packages/pyserial-3.4-py2.7.egg/serial/serialposix.py", line 268, in open
    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'
    sudo lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    as you can see lsusb can't see ardunio etc. Before issue we could find in lsusb:
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    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
    dmesg last verbose:
    [ 6940.261746] usb 1-1.1: device not accepting address 86, error -62
    [ 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
    journalctl
    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
  • You Reply: ok, thanks. It's working via pyFirmata project.
  • You Reply: P.S. for simple IO task, you might want to consider using I2C (purple dotted line) to direct drive some specialized, separate I2C control boards.

    Yes, and how to do that?
  • You Reply: Ok i see.
    Is there any option to control others pins outside arduino at Ubuntu level?
  • You Reply:
    Lutz wrote: ↑Wed Dec 19, 2018 7:04 pm Unfortunately I have no knowledge of Linux.
    But are you sure you are using the right COM port?
    Thank you. Yes of course, the port is right:

    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.

    After that I would like to send&receive (listen to) msg. There is a problem... I don't know why.
    Mu user is in lock and dialout group but I can't send and receive msg to arduino.

    Example:
    send a msg:

    Code: Select all

    echo -n "Hello" > /dev/ttyACM0 listen to

    Code: Select all

    tail -f /dev/ttyACM0 Unfortunately there is no answer, logs etc.
  • You Reply: Correct.
    For.that purpose I 've just uploaded standardFirmata via Arduino IDE on my Leonardo. In that case I should send and listen msg on /dev/ttyACM0.

    tail -f /dev/ttyACM0 is not working.

    The same issue is with serial monitor included in Arduino IDE. There is no answer from Leonardo.
    It should send any output to me if I transferred sth to /dev/ttyACM0

    There is dedicated app to test Arduino with standardFirmata. Unfortunately that's not working too...
    http://www.pjrc.com/teensy/firmata_test ... 4bit_2_log

    http://firmata.org/wiki/Main_Page
  • You Reply: hello. Could you help me?
  • You Reply: Ok I've just uploaded StandardFirmata to Leonardo.
    I am trying to get any answer from Arduino but without success.

    There is no answer on any baud. Attachments arduino.jpg arduino.jpg (25.72 KiB) Viewed 6275 times

    attachments:

    arduino.jpg

  • You Reply: I see. Thank you.
    So The Delta has M.2 2280-Form PCIe 2.0 x2/NVMe 1.2 (M-key) (max 1GB/s ~ 8Gbit/s). Could u confirm it?
  • You Reply: Could you answer my question? Thank you.
  • You Reply: Yes, I ordered Delta from preorder channel. Suggestions? I am waiting for Titan Is it possible to get one with my order?

    Ok, but according to https://image.dfrobot.com/image//data/D ... eature.png

    this picture I can see that Delta model is supporting only B-key with SATA3. The Alpha supports M-key with NVMe SSD.
    Are you sure that Delta=Alpha?