Uart debug terminal shows 'unable to enumerate USB device on port 1' log continuously


#1

Hello,
When we power up the MangoH board, usb enumeration fail messages shows continuously on the debug uart terminal. If we connect MangoH to a Linux PC through the usb cable, i am able to open SSH terminal and it works normally. So how do we stop the error messages on the uart debug terminal? cm info and legato version details are shown below. Also i am facing issues for uploading the boot log, so I just copy the part of error log below.

root@swi-mdm9x15:~# cm info
Device: WP7502
IMEI: 357851070030296
FSN: P3623200111003
Firmware: SWI9X15Y_07.10.04.00 r32393 CARMD-EV-FRMWR1 2016/06/01 20:30:40
Bootloader: SWI9X15Y_07.10.04.00 r32393 CARMD-EV-FRMWR1 2016/06/01 20:30:40
root@swi-mdm9x15:~# legato version
16.04.0_63633d9200de787b7c2a6dca03d2cff3

[ 180.550129] usb 1-1: device not accepting address 38, error -71
[ 180.730199] usb 1-1: new high-speed USB device number 39 using msm_hsic_host
[ 181.160109] usb 1-1: device not accepting address 39, error -71
[ 181.340180] usb 1-1: new high-speed USB device number 40 using msm_hsic_host
[ 181.770120] usb 1-1: device not accepting address 40, error -71
[ 181.950190] usb 1-1: new high-speed USB device number 41 using msm_hsic_host
[ 182.380131] usb 1-1: device not accepting address 41, error -71
[ 182.385136] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 182.560476] usb 1-1: new high-speed USB device number 42 using msm_hsic_host
[ 183.000152] usb 1-1: device not accepting address 42, error -71
[ 183.180222] usb 1-1: new high-speed USB device number 43 using msm_hsic_host
[ 193.640134] usb 1-1: device not accepting address 43, error -110
[ 193.660888] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 193.667511] msm_hsic_host msm_hsic_host: PORTSC: 88001b01 USBCMD: 00010004 FRINDEX: 00003aa8
[ 193.676056] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00003aa8
[ 193.697665] msm_hsic_host msm_hsic_host: ulpi_write: timeout ULPI_VIEWPORT: 68381392
[ 193.704379] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00003aa8
[ 193.712925] msm_hsic_host msm_hsic_host: ulpi_write: FRINDEX: 00003aa8
[ 193.790996] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 193.797619] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00003aa8
[ 193.806165] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00003aa8
[ 193.827773] msm_hsic_host msm_hsic_host: ulpi_write: timeout ULPI_VIEWPORT: 68381382
[ 193.834487] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00003aa8
[ 193.843033] msm_hsic_host msm_hsic_host: ulpi_write: FRINDEX: 00003aa8
[ 193.970212] usb 1-1: new high-speed USB device number 44 using msm_hsic_host
[ 204.430123] usb 1-1: device not accepting address 44, error -110
[ 204.450694] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 204.457317] msm_hsic_host msm_hsic_host: PORTSC: 88001b01 USBCMD: 00010004 FRINDEX: 00000577
[ 204.465862] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00000577
[ 204.487471] msm_hsic_host msm_hsic_host: ulpi_write: timeout ULPI_VIEWPORT: 68381392
[ 204.494185] msm_hsic_host msm_hsic_host: PORTSC: 88001b01 USBCMD: 00010004 FRINDEX: 00000577
[ 204.502731] msm_hsic_host msm_hsic_host: ulpi_write: FRINDEX: 00000577
[ 204.580802] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 204.587425] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00000577
[ 204.595971] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00000577
[ 204.617579] msm_hsic_host msm_hsic_host: ulpi_write: timeout ULPI_VIEWPORT: 68381382
[ 204.624294] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00000577
[ 204.632839] msm_hsic_host msm_hsic_host: ulpi_write: FRINDEX: 00000577
[ 204.760201] usb 1-1: new high-speed USB device number 45 using msm_hsic_host
[ 215.220112] usb 1-1: device not accepting address 45, error -110
[ 215.225270] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 215.248466] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 215.255119] msm_hsic_host msm_hsic_host: PORTSC: 88001b01 USBCMD: 00010004 FRINDEX: 00001080
[ 215.263665] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00001080
[ 215.285273] msm_hsic_host msm_hsic_host: ulpi_write: timeout ULPI_VIEWPORT: 68381392
[ 215.291988] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00001080
[ 215.300534] msm_hsic_host msm_hsic_host: ulpi_write: FRINDEX: 00001080
[ 215.378177] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 215.384831] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00001080
[ 215.393377] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00001080
[ 215.414985] msm_hsic_host msm_hsic_host: ulpi_write: timeout ULPI_VIEWPORT: 68381382
[ 215.421699] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00001080
[ 215.430245] msm_hsic_host msm_hsic_host: ulpi_write: FRINDEX: 00001080
[ 215.550221] usb 1-1: new high-speed USB device number 46 using msm_hsic_host
[ 226.010132] usb 1-1: device not accepting address 46, error -110
[ 226.030917] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 226.037540] msm_hsic_host msm_hsic_host: PORTSC: 88001b01 USBCMD: 00010004 FRINDEX: 00001b15
[ 226.046085] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00001b15
[ 226.067694] msm_hsic_host msm_hsic_host: ulpi_write: timeout ULPI_VIEWPORT: 68381392
[ 226.074408] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00001b15
[ 226.082954] msm_hsic_host msm_hsic_host: ulpi_write: FRINDEX: 00001b15
[ 226.161025] msm_hsic_host msm_hsic_host: ulpi_read: timeout ULPI_VIEWPORT: 48381300
[ 226.167648] msm_hsic_host msm_hsic_host: PORTSC: 88001a05 USBCMD: 00010004 FRINDEX: 00001b15
[ 226.176194] msm_hsic_host msm_hsic_host: ulpi_read: FRINDEX: 00001b15

Thanks,
Shabeer


#2

Firstly, can you update to latest firmware and legato?


#3

Thanks for the response.

Could you share me links/documents for updating the firmware and legato?

Thanks,
Shabeer


#4

@Kas.Lewis just wrote a tutorial with the links you need