<div dir="ltr"><div>Hi,<br><br></div><div>I have a  USB modem connected to my Edison based board.<br></div><div><b>The USB Modem is frequently disconnected and comes back again in sometime.</b><br></div><div>Here are the corresponding logs<br><br>---------------------------------------------------------------------------------------------------------<br>[ 2054.590012] <b>hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...</b><br>[ 2054.590129] usb 1-1: USB disconnect, device number 3<br>[ 2054.590610] cdc_ether 1-1:1.0 enp0s17u1: unregister &#39;cdc_ether&#39; usb-dwc3-host.2-1, CDC Ethernet Device<br>[ 2062.368706] usb 1-1: new high-speed USB device number 4 using dwc3-host<br>[ 2062.393589] usb 1-1: New USB device found, idVendor=12d1, idProduct=1f01<br>[ 2062.393621] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br>[ 2062.393642] usb 1-1: Product: HUAWEI Mobile<br>[ 2062.393661] usb 1-1: Manufacturer: HUAWEI<br>....<br>[ 2063.629109] cdc_ether 1-1:1.0 eth0: register &#39;cdc_ether&#39; at usb-dwc3-host.2-1, CDC Ethernet Device, 00:1e:10:1f:00:00<br>---------------------------------------------------------------------------------------------------------<br></div><div><br></div><div>As i understand this log, due to some reason, the USB hub port 1 is shutdown.<br></div><div>Detecting this, the USB hub driver is re-enabling the port.<br><br></div><div>I would like to know why exactky the USB hub&#39;s port is shutfown.<br></div><div>In short I am trying to find out the reason for this message - &quot;port 1 disabled by hub (EMI?), re-enabling...&quot;<br></div><div>The source code that is doing this is here - <a href="http://androidxref.com/kernel_3.10/xref/drivers/usb/core/hub.c#4693">http://androidxref.com/kernel_3.10/xref/drivers/usb/core/hub.c#4693</a><br><br></div><div>But I did not get much info from here. Someone who is proficient with USB protocol might be able to asnwer this very quickly.<br></div><div><br></div><div>Looking forward for response.<br><br></div><div>My env :<br></div>Platform Intel Edison<br><div>Linux :  3.10 built using Yocto.<br>root@edison:~# uname -a<br>Linux edison 3.10.98-poky-edison+ #2 SMP PREEMPT Wed Feb 22 11:23:11 JST 2017 i686 GNU/Linux<br><br></div><div>Best Regards,<br></div><div>Manty<br></div></div>