[meta-freescale] USB issues after moving to linux-fslc-imx_4.1-1.0.x

Renato Caldas rm.santos.caldas at gmail.com
Fri Oct 14 04:41:04 PDT 2016


Hi Fabio,

Thank you very much for the suggestion!

It doesn't fix the problem, but it modifies it a bit:

If a USB device is plugged in at boot time, the hub still disconnect,
but after a few messages the reconnection attempts stop:

(...)
[    7.871127] usb 1-1: device not accepting address 7, error -71
[    7.877133] systemd[1]: Started Journal Service.
[    7.994119] usb 1-1: new high-speed USB device number 8 using ci_hdrc
[    8.036702] systemd-journald[108]: Received request to flush
runtime journal from PID 1
[    8.414104] usb 1-1: device not accepting address 8, error -71
[    8.420157] usb usb1-port1: unable to enumerate USB device
[    8.840514] random: nonblocking pool is initialized
( END )

If on the other end no device is plugged in, the hub now disconnects,
when it didn't before:

(...)
[    6.647828] V_5V0_S0: disabling
[    6.651245] VGEN1: disabling
[    6.654373] V_2V5_S0: disabling
[    6.657735] CAN0_EN: disabling
[    6.660816] CAN1_EN: disabling
[    6.664139] ALSA device list:
[    6.667145]   #0: imx-wm8093
[    6.670215] usb 1-1: USB disconnect, device number 2
[    6.675217] usb 1-1.1: USB disconnect, device number 3
[    6.680385]   #1: imx-hdmi-soc
[    6.691125] VFS: Mounted root (nfs filesystem) on device 0:15.
[    6.697402] devtmpfs: mounted
(...)

Cheers,
  Renato

2016-10-13 19:28 GMT-04:00 Fabio Estevam <festevam at gmail.com>:
> Hi Renato,
>
> On Thu, Oct 13, 2016 at 7:42 PM, Renato Caldas
> <rm.santos.caldas at gmail.com> wrote:
>
>> If I boot without any usb device connected (apart from the two
>> internal USB hubs) it boots successfully, but as soon as I plug in a
>> USB device, I get this:
>>
>> [  158.722735] usb 1-1: USB disconnect, device number 2
>> [  158.727768] usb 1-1.1: USB disconnect, device number 3
>> [  158.742031] usb usb1-port1: cannot reset (err = -32)
>> [  158.747696] usb usb1-port1: cannot reset (err = -32)
>> [  158.753047] usb usb1-port1: cannot reset (err = -32)
>
> Does it help if you pass 'usbcore.autosuspend=-1' in the kernel command line?


More information about the meta-freescale mailing list