AnsweredAssumed Answered

IIOD USB3.0 SuperSpeed doesn’t work

Question asked by jgm on Jun 20, 2018
Latest reply on Jul 2, 2018 by mhennerich

I'm using the latest libiio and my board is a custom board that uses Xilinx MPSOC. At the moment I'm able to configure the usb on the board side and I got rid of some kernel warnigs by following this link IIOD USB3.0 SuperSpeed doesn’t work · Issue #132 · analogdevicesinc/libiio · GitHub  . My kernel version is 4.9.0 , so I incorporated this patch https://github.com/analogdevicesinc/linux/tree/zynqmp-usb-dwc3-fixes . However that only fixed the kernel warnings (i.e. No SuperSpeed endpoint companion for config 1 ... ). Do I need to port back the dwc3 driver from 4.14 kernel to make this work.

mhennerich   

Target side

cat /proc/mounts

....

iio_ffs /dev/iio_ffs functionfs rw,relatime 0 0

...

 

Host side:

[ 723.117463] usb 2-3: new SuperSpeed USB device number 4 using xhci_hcd
[ 723.129466] usb 2-3: New USB device found, idVendor=0456, idProduct=b672
[ 723.129474] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 723.129478] usb 2-3: Product: RPT
[ 723.129481] usb 2-3: Manufacturer: RRC
[ 723.129484] usb 2-3: SerialNumber: 00000000

 

 

[host ~]$ iio_info -s
Library version: 0.15 (git tag: 6ecff5d)
Compiled with backends: local xml ip usb
Available contexts:
0: 0456:b672 (RRC RPT), serial=00000000 [usb:2.4.0]

 

When I do an iio_info -u usb:2.4.0 then I get the following error:

 

[501:blazbriklab1 hosts ~]$ iio_info -u usb:2.4.0
Library version: 0.15 (git tag: 6ecff5d)
Compiled with backends: local xml ip usb
Unable to create IIO context: Input/output error

 

 

lsusb -v output is attached.

Attachments

Outcomes