5 Replies Latest reply on Jul 13, 2018 8:03 AM by dgonano

    USB Serial driver

    dgonano

      Hi,

       

      Trying to get a USB serial device to work on the intel aero. When I plug it in I see the device is recognized but not serial port is enumerated. Am i correct is assuming no usb serial drivers are compiled into the intel aero yocto kernel? I can't see any under /lib/modules/<kernel>/kernel/drivers/usb/serial

       

      Trying to install ubuntu to get around this if what i understand is correct

       

      Thanks

      Dion

        • 1. Re: USB Serial driver
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello dgonano,

           

          Thank you for your interest in the Intel Aero Compute Board.

           

          Could you please let me know which USB serial device are you trying to use and the output of aero-get-version.py ?

          Also, if it's possible can you share more details about what are you trying to do with the USB serial device?

           

          Thank you in advance,
          Eliza

          • 2. Re: USB Serial driver
            dgonano

            Hi Eliza,

             

            Please see details below. It's a VCP connected via USB on the RTF Drone. Everything has been updated

             

            root@intel-aero:~# lsusb -D /dev/bus/usb/001/002
            Device: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
            Device Descriptor:
              bLength                18
              bDescriptorType         1
              bcdUSB               1.10
              bDeviceClass            0 
              bDeviceSubClass         0 
              bDeviceProtocol         0 
              bMaxPacketSize0        64
              idVendor           0x10c4 Cygnal Integrated Products, Inc.
              idProduct          0xea60 CP210x UART Bridge / myAVR mySmartUSB light
              bcdDevice            1.00
              iManufacturer           1 Silicon Labs
              iProduct                2 CP2102 USB to UART Bridge Controller
              iSerial                 3 0001
              bNumConfigurations      1
              Configuration Descriptor:
                bLength                 9
                bDescriptorType         2
                wTotalLength           32
                bNumInterfaces          1
                bConfigurationValue     1
                iConfiguration          0 
                bmAttributes         0x80
                  (Bus Powered)
                MaxPower              100mA
                Interface Descriptor:
                  bLength                 9
                  bDescriptorType         4
                  bInterfaceNumber        0
                  bAlternateSetting       0
                  bNumEndpoints           2
                  bInterfaceClass       255 Vendor Specific Class
                  bInterfaceSubClass      0 
                  bInterfaceProtocol      0 
                  iInterface              2 CP2102 USB to UART Bridge Controller
                  Endpoint Descriptor:
                    bLength                 7
                    bDescriptorType         5
                    bEndpointAddress     0x81  EP 1 IN
                    bmAttributes            2
                      Transfer Type            Bulk
                      Synch Type               None
                      Usage Type               Data
                    wMaxPacketSize     0x0040  1x 64 bytes
                    bInterval               0
                  Endpoint Descriptor:
                    bLength                 7
                    bDescriptorType         5
                    bEndpointAddress     0x01  EP 1 OUT
                    bmAttributes            2
                      Transfer Type            Bulk
                      Synch Type               None
                      Usage Type               Data
                    wMaxPacketSize     0x0040  1x 64 bytes
                    bInterval               0
            can't get debug descriptor: Resource temporarily unavailable
            Device Status:     0x0000
              (Bus Powered)
            

             

            root@intel-aero:~# aero-get-version.py 
            BIOS_VERSION = Aero-01.00.16
            OS_VERSION = Poky Aero (Intel Aero Linux Distro) 1.6.2 (pyro)"
            AIRMAP_VERSION = 1.8
            FPGA_VERSION = 0xc2
            AeroFC firmware version = 1.6.5
            

             

            Cheers

            Dion

            • 3. Re: USB Serial driver
              dgonano

              I can see the USB device obviously, but I can't see the serial port, I'm assuming the aero doesn't have the driver

              • 4. Re: USB Serial driver
                Intel Corporation
                This message was posted on behalf of Intel Corporation

                Hello dgonano, 

                It is possible that the driver is not included in the Yocto image.
                Could you please try to add the driver or try to use the usb/serial device with Aero running Ubuntu and see if the driver is included?

                Looking forward to your response. 

                Regards, 
                Casandra

                • 5. Re: USB Serial driver
                  dgonano

                  Confirming no USB serial drivers are included in the yocto image. This is unbelievable, very useful for embedded linux development.

                  Ubuntu included them and working fine using the generic kernel