Re: MX28 with hub cannot reset

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

 



On Wed, Dec 23, 2015 at 6:54 AM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
> Hi,
>
> On a mx28 custom board with a USB hub I can get a USB stick to get
> detected after applying this change:
> http://marc.info/?l=linux-usb&m=145079935324339&w=2
>
> Things work fine if I boot without the USB stick connected. Then I can
> insert/remove the USB device and it always gets detected.
>
> However, if I boot with the USB stick connected I get:
>
> [    2.968513] hub 1-1:1.0: USB hub found
> [    2.973096] hub 1-1:1.0: 2 ports detected
> [    3.479731] usb 1-1: USB disconnect, device number 2
> [    3.525403] usb usb1-port1: cannot reset (err = -32)
> [    3.530828] usb usb1-port1: cannot reset (err = -32)
> [    3.536089] usb usb1-port1: cannot reset (err = -32)
> [    3.541600] usb usb1-port1: cannot reset (err = -32)
> [    3.546857] usb usb1-port1: cannot reset (err = -32)
> [    3.551982] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
> [    3.560302] usb usb1-port1: cannot reset (err = -32)
> [    3.565566] usb usb1-port1: cannot reset (err = -32)
> [    3.571011] usb usb1-port1: cannot reset (err = -32)
> [    3.576266] usb usb1-port1: cannot reset (err = -32)
> [    3.581769] usb usb1-port1: cannot reset (err = -32)
> [    3.586780] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
> [    3.594138] usb usb1-port1: cannot reset (err = -32)
> [    3.599615] usb usb1-port1: cannot reset (err = -32)
> [    3.604871] usb usb1-port1: cannot reset (err = -32)
> [    3.610244] usb usb1-port1: cannot reset (err = -32)
> [    3.615499] usb usb1-port1: cannot reset (err = -32)
> [    3.620649] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
> [    3.627989] usb usb1-port1: cannot reset (err = -32)
> [    3.633370] usb usb1-port1: cannot reset (err = -32)
> [    3.638617] usb usb1-port1: cannot reset (err = -32)
> [    3.644171] usb usb1-port1: cannot reset (err = -32)
> [    3.649546] usb usb1-port1: cannot reset (err = -32)
> [    3.654557] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
> [    3.661650] usb usb1-port1: unable to enumerate USB device
>
> And the only way to get the USB port working again is to remove the
> USB stick and reboot the board.
>
> Commit d0ee68b59e6aa33221 ("usb: phy: mxs: Add VF610 USB PHY support")
> shows the same error messages in the commit log, but trying the same
> approach of adding the MXS_PHY_NEED_IP_FIX flag does not help on mx28.
>
> Any suggestions?

Fabio, there is a bug for imx28 usb low power mode, and we have no
good way to implement
workaround using current USB PHY framework, would you please test by
add "usbcore.autosuspend = -1"
at bootargs (no CI_HDRC_SUPPORTS_RUNTIME_PM needed to set for imx28) to
see if this problem can fix?


-- 
BR,
Peter Chen
--
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