In Linux kernel 3.4.5, when the Board is inserted with a USB mouse, 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]
[2, 195.417873] First get Dev DESC failed
[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 recorded here.
Reason why the USB Host mouse cannot be used