3 Replies Latest reply on May 13, 2015 12:10 AM by Poly

    Serial over USB Type-A on Edison Kit for Arduino: cannot find /dev/ttyUSBx or ttyACMx

    Poly

      Hi,

       

      I want to communicate with another device via UART over USB Type-A on Edison Kit for Arduino.

      IMG_1143_notated.png

      According this thread, there should be /dev/ttyUSBx or /dev/ttyACMx as virtual serial ports, but I cannot find them, although looks like my device is recognized as FTDI UART devices.

       

      root@edison:~# lsusb

      Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC  # <- this is the device what i want to communicate

      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 hub

       

      root@edison:~# ls /dev/tty

      tty      tty17    tty26    tty35    tty44    tty53    tty62    ttyPTI1

      tty0     tty18    tty27    tty36    tty45    tty54    tty63    ttymcu0

      tty1     tty19    tty28    tty37    tty46    tty55    tty7     ttymcu1

      tty10    tty2     tty29    tty38    tty47    tty56    tty8     ttymcu2

      tty11    tty20    tty3     tty39    tty48    tty57    tty9

      tty12    tty21    tty30    tty4     tty49    tty58    ttyGS0

      tty13    tty22    tty31    tty40    tty5     tty59    ttyMFD0

      tty14    tty23    tty32    tty41    tty50    tty6     ttyMFD1

      tty15    tty24    tty33    tty42    tty51    tty60    ttyMFD2

      tty16    tty25    tty34    tty43    tty52    tty61    ttyPTI0

       

      Any idea?

        • 1. Re: Serial over USB Type-A on Edison Kit for Arduino: cannot find /dev/ttyUSBx or ttyACMx
          Intel_Alvarado

          Hi,

           

          I believe that the virtual port you need to see is ttyUSB0. It is currently not showed because there are some drivers that need to be enabled.

          The easiest way to do this would be following the steps on Re: CP2102 driver

           

          Let me know if this helps.

           

          Sergio

          • 2. Re: Serial over USB Type-A on Edison Kit for Arduino: cannot find /dev/ttyUSBx or ttyACMx
            Poly

            I've installed kernel-module-cp210x and kernel-module-ftdi-sio, but still I don't see /dev/ttyUSB0. Did I miss something?

             

            Here is my dmesg output.

            [    6.196186] dwc3-host dwc3-host.2: xHCI Host Controller

            [    6.196699] dwc3-host dwc3-host.2: new USB bus registered, assigned bus number 1

            [    6.196992] dwc3-host dwc3-host.2: irq 34, io mem 0xf9100000

            [    6.197138] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

            [    6.197162] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

            [    6.197182] usb usb1: Product: xHCI Host Controller

            [    6.197201] usb usb1: Manufacturer: Linux 3.10.17-poky-edison+ dwc-xhci

            [    6.197219] usb usb1: SerialNumber: dwc3-host.2

            [    6.197929] xHCI xhci_add_endpoint called for root hub

            [    6.197949] xHCI xhci_check_bandwidth called for root hub

            [    6.198206] hub 1-0:1.0: USB hub found

            [    6.198251] hub 1-0:1.0: 1 port detected

            [    6.198773] dwc3-host dwc3-host.2: xHCI Host Controller

            [    6.199164] dwc3-host dwc3-host.2: new USB bus registered, assigned bus number 2

            [    6.199364] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003

            [    6.199388] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

            [    6.199408] usb usb2: Product: xHCI Host Controller

            [    6.199426] usb usb2: Manufacturer: Linux 3.10.17-poky-edison+ dwc-xhci

            [    6.199445] usb usb2: SerialNumber: dwc3-host.2

            [    6.200088] xHCI xhci_add_endpoint called for root hub

            [    6.200107] xHCI xhci_check_bandwidth called for root hub

            [    6.200365] hub 2-0:1.0: USB hub found

            [    6.200408] hub 2-0:1.0: 1 port detected

            [    6.514311] systemd-journald[113]: Received request to flush runtime journal from PID 1

            [    6.516203] usb 1-1: new full-speed USB device number 2 using dwc3-host

            [    6.542065] usb 1-1: New USB device found, idVendor=0403, idProduct=6001

            [    6.542096] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

            [    6.542118] usb 1-1: Product: FT232R USB UART

            [    6.542136] usb 1-1: Manufacturer: FTDI

            [    6.542154] usb 1-1: SerialNumber: A603A1OQ

            [    6.548460] systemd-journald[113]: File /var/log/journal/42b0ad947dad4a7d8b5305fab66a814c/system.journal corrupted or uncleanly shut down, renaming and replacing.

            [    7.247876] EXT4-fs (mmcblk0p5): mounted filesystem without journal. Opts: discard,barrier=1,data=ordered,noauto_da_alloc

            [    8.532031] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: discard,barrier=1,data=ordered,noauto_da_alloc

            [    9.427370] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

            • 3. Re: Serial over USB Type-A on Edison Kit for Arduino: cannot find /dev/ttyUSBx or ttyACMx
              Poly

              I updated kernel by following AlexT's blog post and now I see /dev/ttyUSB0. My original kernel image was "edison-image-ww18-15", probably it has some issues around serial communication over USB.

               

              Thanks,

              -Poly