AnsweredAssumed Answered

HID USB mouse make USB error----XactErr

Question asked by jack lu on May 21, 2015

Hi expert,

 

When I test USB mouse feature, I found an USB error which will make the system die.

our platform is IMX6SL, and sw android version is 4.2.2.1.1

 

issue description:

1. power on the platform

2. plug in the USB mouse

3. plug out the USB mouse

4. do 2-3 loop

result: it will be 5%-10% rate to duplicate this issue on our different platforms.

And it seems happened when I plug out the mouse.

 

the critical log:

<7>[  138.135729] hub 2-1:1.0: port 2: status 0507 change 0000

<7>[  138.142644] hub 2-1:1.0: port 4: status 0503 change 0004

<7>[  138.148523] fsl-ehci fsl-ehci.1: reused qh d462a9e0 schedule

<7>[  138.154350] usb 2-1: link qh256-0001/d462a9e0 start 1 [1/0 us]

<7>[  138.161020] hub 2-0:1.0: resume on port 1, status 0

<7>[  138.166711] hub 2-1:1.0: state 7 ports 4 chg 0010 evt 0000

<7>[  138.192236] usb 2-1.4: usb wakeup-resume

<7>[  138.196738] usb 2-1.4: finish resume

<7>[  138.200970] hub 2-1.4:1.0: hub_resume

<7>[  138.206483] hub 2-1.4:1.0: port 3: status 0301 change 0001

<7>[  138.322193] fsl-ehci fsl-ehci.1: reused qh d46a1360 schedule

<7>[  138.328143] usb 2-1.4: link qh256-0001/d46a1360 start 3 [1/0 us]

<7>[  138.334814] hub 2-1:1.0: resume on port 4, status 0

<7>[  138.340240] hub 2-1:1.0: port 4, status 0503, change 0004, 480 Mb/s

<7>[  138.347618] hub 2-1.4:1.0: state 7 ports 4 chg 0008 evt 0000

<7>[  138.354221] hub 2-1.4:1.0: port 3, status 0301, change 0000, 1.5 Mb/s

<6>[  138.432529] usb 2-1.4.3: new low speed USB device number 13 using fsl-ehci

<7>[  138.544865] usb 2-1.4.3: skipped 1 descriptor after interface

<7>[  138.550779] usb 2-1.4.3: udev 13, busnum 2, minor = 140

<6>[  138.556790] usb 2-1.4.3: New USB device found, idVendor=413c, idProduct=3010

<6>[  138.564805] usb 2-1.4.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0

<7>[  138.575679] usb 2-1.4.3: usb_probe_device

<7>[  138.579989] usb 2-1.4.3: configuration #1 chosen from 1 choice

<7>[  138.586828] usb 2-1.4.3: adding 2-1.4.3:1.0 (config #1, interface 0)

<7>[  138.595339] usbserial_generic 2-1.4.3:1.0: usb_probe_interface

<7>[  138.601740] usbserial_generic 2-1.4.3:1.0: usb_probe_interface - got id

<7>[  138.609376] usbhid 2-1.4.3:1.0: usb_probe_interface

<7>[  138.615013] usbhid 2-1.4.3:1.0: usb_probe_interface - got id

<6>[  138.626653] input: HID 413c:3010 as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.4/2-1.4.3/2-1.4.3:1.0/input/input8

<7>[  138.641362] usb 2-1.4.3: link qh8-0601/d09c1120 start 1 [1/2 us]

<6>[  138.648757] generic-usb 0003:413C:3010.0006: input,hidraw0: USB HID v1.00 Mouse [HID 413c:3010] on usb-fsl-ehci.1-1.4.3/input0

<7>[  138.661448] /home/jack/215pat/0evt0/imx6jb2/kernel_imx/drivers/usb/core/inode.c: creating file '013'

<7>[  138.671794] hub 2-1.4:1.0: state 7 ports 4 chg 0000 evt 0008

<7>[  138.682309] usb 2-1.4.3: unlink qh8-0601/d09c1120 start 1 [1/2 us]

<7>[  138.752397] fsl-ehci fsl-ehci.1: reused qh d09c1120 schedule

<7>[  138.758342] usb 2-1.4.3: link qh8-0601/d09c1120 start 1 [1/2 us]

<7>[  141.727215] fsl-ehci fsl-ehci.1: detected XactErr len 0/4 retry 1

<7>[  141.735151] usb 2-1.4.3: unlink qh8-0601/d09c1120 start 1 [1/2 us]

<7>[  141.741661] hub 2-1.4:1.0: state 7 ports 4 chg 0000 evt 0008

<7>[  141.748328] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 1

<7>[  141.754690] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 2

<7>[  141.761193] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 3

<7>[  141.767566] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 4

<7>[  141.774068] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 5

<7>[  141.780389] hub 2-1.4:1.0: port 3, status 0100, change 0001, 12 Mb/s

<7>[  141.780440] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 6

<7>[  141.780563] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 7

<7>[  141.780690] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 8

<7>[  141.780814] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 9

<7>[  141.780947] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 10

<7>[  141.781065] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 11

<7>[  141.781188] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 12

<7>[  141.781312] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 13

<7>[  141.781438] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 14

<7>[  141.781563] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 15

<7>[  141.781688] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 16

<7>[  141.781813] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 17

<7>[  141.781937] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 18

<7>[  141.782062] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 19

<7>[  141.782189] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 20

<7>[  141.782311] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 21

<7>[  141.782432] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 22

<7>[  141.782556] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 23

<7>[  141.782683] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 24

<7>[  141.782806] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 25

<7>[  141.782936] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 26

<7>[  141.783057] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 27

<7>[  141.783184] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 28

<7>[  141.783311] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 29

<7>[  141.783440] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 30

<7>[  141.783564] fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 31

<7>[  141.783689] fsl-ehci fsl-ehci.1: devpath 1.4.3 ep0out 3strikes

<7>[  141.783714] usb 2-1.4: clear tt buffer port 3, a13 ep0 t00080248

<7>[  141.783853] fsl-ehci fsl-ehci.1: reused qh d09c1120 schedule

<7>[  141.783879] usb 2-1.4.3: link qh8-0601/d09c1120 start 1 [1/2 us]

<3>[  141.783947] generic-usb 0003:413C:3010.0006: can't reset device, fsl-ehci.1-1.4.3/input0, status -71

<7>[  141.791213] fsl-ehci fsl-ehci.1: detected XactErr len 0/4 retry 1

 

Please help to check the attached FULL log.

 

 

 

Thanks!

 

BRs,

Jack

Original Attachment has been moved to: err_usb_hang.TXT.zip

Outcomes