1 Reply Latest reply on Jun 30, 2016 1:12 PM by Intel Corporation

    How to configure USB to serial port in Edison?

    nikfisher

      Hello. I have an Intel Edsion.

       

      # uname -a

      Linux edison 3.10.98-poky-edison+ #1 SMP PREEMPT Mon Jun 6 14:32:08 PDT 2016 i686 GNU/Linux

       

      When I plug in an USB device I get such output:

       

      # dmesg |grep -i usb

      .......

      [67600.164342] usb 1-1: new full-speed USB device number 96 using dwc3-host

      [67600.164473] usb 1-1: Device not responding to set address.

      [67600.374373] usb 1-1: Device not responding to set address.

      [67600.584261] usb 1-1: device not accepting address 96, error -71

      ........

       

      lsusb also doesn't output my USB device.

       

      # 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

       

      Here usb_modeswitch to recognize 3g dongle  I read that "I need to install usb to serials driver for this issue. By doing so I was able to get it working.".

       

      How can I install usb to serial driver?

        • 1. Re: How to configure USB to serial port in Edison?
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello nikfisher,
           
          It would depend on the device you are using. I mean, if you are not using the same device mentioned in the thread you posted, your process might be different.
           
          The first step you should take is to look for the device's driver for Linux and check if it is compatible with Edison's kernel, which as you mentioned is 3.10.98 in the current image.
           
          Once you found whether the image is compatible with Edison's kernel or not, you have to check how it can be installed. If it can be simply installed on the OS or if you need to build the image in order to include the driver. As I mentioned, this will vary depending on your device.
           
          If you would like to know how build your custom image and include packages such as drivers, I suggest you to read and understand the following documents:
           
          http://www.intel.com/support/edison/sb/CS-035278.htm
          http://www.yoctoproject.org/docs/1.7.2/mega-manual/mega-manual.html
           
          I hope this information helps you.
          -Peter.

          1 of 1 people found this helpful