Insert the USB mouse on the linux kernel 3.4.5 board and the following error LOG is displayed:
[191.177508] Plug in USB Port2
Usb 1-1: new full speed USB device number 10 using Mstar-ehci-2 [191.363516]
[2, 191.578860] First get dev desc failed
[2, 192.413517] usb 1-1: device not accepting address 10, error-71
[192.453519] ==13 ==> hub_port_init 1
[192.457483] Plug in USB Port2
Usb 1-1: new full speed USB device number 11 using Mstar-ehci-2 [192.643505]
[2, 192.857818] First get dev desc failed
[2, 193.693513] usb 1-1: device not accepting address 11, error-71
[193.733526] ==13 ==> hub_port_init 1
[193.737493] Plug in USB Port2
Usb 1-1: new full speed USB device number 12 using Mstar-ehci-2 [193.923514]
[2, 194.137859] First get dev desc failed
[2, 194.973524] usb 1-1: device not accepting address 12, error-71
[195.013520] ==13 ==> hub_port_init 1
[195.017485] Plug in USB Port2
Usb 1-1: new full speed USB device number 13 using Mstar-ehci-2 [195.203527]
[1, 195.417873] First get dev desc Fai
[2, 196.253514] usb 1-1: device not accepting address 13, error-71
[196.293517] hub 1-. 0: unable to enumerate USB device on port 1
As a result, the mouse cannot be used. Find the cause for half a day and find that the D + and D-interfaces of the Board Sub-HOST interface are reversed. Then, the mouse can be used normally. The normal LOG is as follows:
[71.114150] ==13 ==> hub_port_init 1
[71.118120] Plug in USB Port2
Usb 1-1: new low speed USB device number 3 using Mstar-ehci-2 [71.304122]
[71.755549] input: OM as/devices/platform/Mstar-ehci-2.1/usb1/1-1/1-. 0/input/input3
[71.766243] generic-usb 0003: 04F3: 0232.0002: input, hidraw0: usb hid v1.11 Mouse [OM] on usb-mstar-1/input0
It indicates that it can be used normally and is hereby recorded.