Re: usb 3.0 problems with NEC Controller

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

 



On 03/23/2014 08:16 PM, baumber@xxxxxxxxxxx wrote:
Hello,

I have problems with my USB 3.0 devices; external HDDs (HGST Touro
Mobile Pro (Simpletech-Chip), Fantec case with WDC, Asmedia Chip) and a
Sandisk card reader, with a "NEC Corporation uPD720200 USB 3.0 Host
Controller (rev 03)" controller.

I get the following errors; => then reset of device, then freezing of
device or many "xhci_drop_endpoint called with disabled ep"-messages
Suspend and Hibernate is not possible anymore.
=> a detailed log is in file usb3_problems.txt


Could you try if disabling all LPM related control transfers on the buggy NEC hosts has any impact at all.

If you can, please apply the following patch and see if it helps:


diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 64ea219..d734630 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -3711,6 +3711,9 @@ int usb_disable_lpm(struct usb_device *udev)
 {
        struct usb_hcd *hcd;

+       dev_info(&udev->dev, "usb_disable_lpm called, do nothing\n");
+       return 0;
+
        if (!udev || !udev->parent ||
                        udev->speed != USB_SPEED_SUPER ||
                        !udev->lpm_capable)
@@ -3767,6 +3770,9 @@ void usb_enable_lpm(struct usb_device *udev)
 {
        struct usb_hcd *hcd;

+       dev_info(&udev->dev, "usb_enable_lpm called, do nothing\n");
+       return;
+
        if (!udev || !udev->parent ||
                        udev->speed != USB_SPEED_SUPER ||
                        !udev->lpm_capable)


patch can also be found in bugzilla as "patch to disable all lpm related control transfers"

https://bugzilla.kernel.org/show_bug.cgi?id=70781

-Mathias
--
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