AnsweredAssumed Answered

RNDIS class device USB connectivity issue on imx28evk board.

Question asked by Pradeep Arora on Mar 20, 2015
Latest reply on Mar 30, 2015 by CarlosCasillas


   I'm trying to connect a Lantronix xPico WiFi based board via USB to the imx28evk board. The peripheral board has been configured to present itself as an RNDIS class device.

   When I hook this up to my host machine running Ubuntu 14.04, the connection is successful. dmesg output is as follows:

> [16134.647582] usb 3-1.5.4: new full-speed USB device number 13 using xhci_hcd

> [16134.753271] usb 3-1.5.4: New USB device found, idVendor=0525, idProduct=a4a2

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

> [16134.753277] usb 3-1.5.4: Product: Gadget RNDIS v2.4

> [16134.753279] usb 3-1.5.4: Manufacturer: ELMO GMAS

> [16134.753281] usb 3-1.5.4: SerialNumber: 123


When I connect the device to the imx28evk board (running kernel version 3.18.5-fslc built using the Yocto environment), dmesg yields the following:

[   60.035311] usb 1-1: new full-speed USB device number 2 using ci_hdrc

[   75.155258] usb 1-1: device descriptor read/64, error -110

[   75.461265] cdc_subset: probe of 1-1:1.0 failed with error -22

I suspect this to be a kernel configuration related issue. A couple of other pieces of information from the imx28evk target:

   1. CONFIG_USB_ETH_RNDIS has been enabled

   2. lsusb does recognize the device:

       Bus 001 Device 002: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget

Any assistance in resolving this issue would be greatly appreciated.