Firefly Open Source Community

problem with USB during boot (device tree issue?)

66

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
66
Posted at 10/17/2016 23:07:32     
Hi all,
I am working on getting rk3288 reload board running with kernel 4.4 (rockchip repository). Everything is going well but I have a problem with USB:

...
[    3.431863] usb 1-1.3.2: Product: USB Optical Mouse
[    3.436737] usb 1-1.3.2: Manufacturer: Logitech
[    3.443943] input: Logitech USB Optical Mouse as
/devices/platform/ff540000.usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/0003:046D:C077.0001/input/input0
[    3.457352] hid-generic 0003:046D:C077.0001: input,hidraw0: USB HID
v1.11 Mouse [Logitech USB Optical Mouse] on
usb-ff540000.usb-1.3.2/input0
[    4.588211] usb usb1-port1: disabled by hub (EMI?), re-enabling...
[    4.595848] usb 1-1: USB disconnect, device number 2
[    4.602261] usb 1-1.3: USB disconnect, device number 3
[    4.608815] usb 1-1.3.1: USB disconnect, device number 4
[    4.615884] usb 1-1.3.2: USB disconnect, device number 5
[    6.058190] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    7.318273] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    8.568319] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    9.828165] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    9.835164] usb usb1-port1: unable to enumerate USB device

Does anyone know how to solve this problem? I am just attaching a powered hub and a mouse, if I attach the mouse directly to one of the usb ports on the reload board it's the same result, and if I try another mouse it's also the same.

Thanks
Bert
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 10/19/2016 10:15:26     
Reply

Use props Report

541

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
541
Posted at 12/8/2016 05:51:43     
fix for kernel 4.4
  1. cat <<EOF>> /etc/udev/rules.d/99-usb-power.rules
  2. ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on"
  3. EOF
Copy the code

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list