USB3.0 DWC3 can't work with latest Linux-4.9.rc7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Guys,
1. I tested the USB3.0 DWC3 with latest Linux-4.9-rc7 on LS1043ardb board.
But I got the below errors, this error is returned from dma_supported(dev, mask) while running " dma_set_mask_and_coherent" in function " xhci_plat_probe".
...
[    0.756166] xhci-hcd: probe of xhci-hcd.0.auto failed with error -5
[    0.762438] xhci-hcd: probe of xhci-hcd.1.auto failed with error -5
[    0.768712] xhci-hcd: probe of xhci-hcd.2.auto failed with error -5
[    0.775049] usbcore: registered new interface driver usb-storage
...

2. Then, I applied 6 patches from Sriram:
https://patchwork.kernel.org/patch/9434163/
https://patchwork.kernel.org/patch/9434155/
https://patchwork.kernel.org/patch/9434131/
https://patchwork.kernel.org/patch/9434165/
https://patchwork.kernel.org/patch/9434167/
https://patchwork.kernel.org/patch/9434133/

however, I got another error as below shows when I attach one USB disk to this board.
It seems USB device return the 8 bytes descriptor, but all 8 byte data driver read  are zero from the buffer received.
Has any comment for this issue?

usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[  164.323396] usb 2-1: device descriptor read/8, error -61
[  164.435180] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[  164.459380] usb 2-1: device descriptor read/8, error -61
[  164.779230] usb 2-1: new SuperSpeed USB device number 3 using xhci-hcd
[  164.803350] usb 2-1: device descriptor read/8, error -61
[  164.915181] usb 2-1: new SuperSpeed USB device number 3 using xhci-hcd
[  164.943393] usb 2-1: device descriptor read/8, error -61
[  165.263231] usb 2-1: new SuperSpeed USB device number 4 using xhci-hcd
[  165.287352] usb 2-1: device descriptor read/8, error -61
[  165.399181] usb 2-1: new SuperSpeed USB device number 4 using xhci-hcd
[  165.427394] usb 2-1: device descriptor read/8, error -61
[  165.747231] usb 2-1: new SuperSpeed USB device number 5 using xhci-hcd
[  165.775347] usb 2-1: device descriptor read/8, error -61
[  165.887181] usb 2-1: new SuperSpeed USB device number 5 using xhci-hcd
[  165.915396] usb 2-1: device descriptor read/8, error -61
[  166.055194] usb usb2-port1: unable to enumerate USB device

Best Regards
Jerry Huang
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux