Firefly Open Source Community

   Login   |   Register   |

fusb302 4-0022: connection has disconnected

64

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
64
Posted at 12/18/2018 09:23:20     
There is no problem to using board
However, I wanna know why the 'USB Type-C' is on the board and why the error like the title occurs.
I wonder why this is happening.
please let me know.
Reply

Use props Report

414

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
414
Posted at 12/20/2018 14:56:30     
Hi, @acidpero, how did you get that message?
After booting up, I only get this:

$ dmesg |grep fusb302
[    0.758404] fusb302 4-0022: GPIO lookup for consumer int-n
[    0.758413] fusb302 4-0022: using device tree for GPIO lookup
[    0.758463] fusb302 4-0022: GPIO lookup for consumer vbus-5v
[    0.758470] fusb302 4-0022: using device tree for GPIO lookup
[    0.758513] fusb302 4-0022: GPIO lookup for consumer vbus-other
[    0.758520] fusb302 4-0022: using device tree for GPIO lookup
[    0.758544] fusb302 4-0022: using lookup tables for GPIO lookup
[    0.758551] fusb302 4-0022: lookup for GPIO vbus-other failed
[    0.758558] fusb302 4-0022: GPIO lookup for consumer discharge
[    0.758564] fusb302 4-0022: using device tree for GPIO lookup
[    0.758604] fusb302 4-0022: using lookup tables for GPIO lookup
[    0.758611] fusb302 4-0022: lookup for GPIO discharge failed
[    0.767827] fusb302 4-0022: port 0 probe success
Reply

Use props Report

64

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
64
Posted at 12/21/2018 09:09:54     
Last edited by acidpero In 12/21/2018 09:12 Editor
penguin Posted at 12/20/2018 14:56
Hi, @acidpero, how did you get that message?
After booting up, I only get this:

Hi again, @penguin
I got Firefly:Ubuntu 16.04 image
[Here!](https://drive.google.com/drive/f ... gAqAdXBsaG9NMEl5bm8)
and flashed the image with the upgrade tool.
# Sys Info
  1. firefly@firefly:~$ uname -a
  2. Linux firefly 4.4.154 #1 SMP Fri Oct 12 09:51:35 CST 2018 aarch64 aarch64 aarch64 GNU/Linux
  3. firefly@firefly:~$ cat /proc/version
  4. Linux version 4.4.154 (luojh@tchip14) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #1 SMP Fri Oct 12 09:51:35 CST 2018
Copy the code

------------------------------------

when boot without connecting the USB Type-C port to the Host PC, I got the same message like yours.
But when I boot them with both connected, I got the following message.


# Kernel Log, filtered (fusb302)
## USB Type-C <-> Host PC connected before boot.

  1. firefly@firefly:~$ dmesg | grep fusb302 | head -n 25
  2. [    1.172583] fusb302 4-0022: GPIO lookup for consumer int-n
  3. [    1.172593] fusb302 4-0022: using device tree for GPIO lookup
  4. [    1.172645] fusb302 4-0022: GPIO lookup for consumer vbus-5v
  5. [    1.172652] fusb302 4-0022: using device tree for GPIO lookup
  6. [    1.172701] fusb302 4-0022: GPIO lookup for consumer vbus-other
  7. [    1.172708] fusb302 4-0022: using device tree for GPIO lookup
  8. [    1.172734] fusb302 4-0022: using lookup tables for GPIO lookup
  9. [    1.172742] fusb302 4-0022: lookup for GPIO vbus-other failed
  10. [    1.172750] fusb302 4-0022: GPIO lookup for consumer discharge
  11. [    1.172756] fusb302 4-0022: using device tree for GPIO lookup
  12. [    1.172780] fusb302 4-0022: using lookup tables for GPIO lookup
  13. [    1.172787] fusb302 4-0022: lookup for GPIO discharge failed
  14. [    1.172959] fusb302 4-0022: Can't get property of role, set role to default DRP
  15. [    1.181972] fusb302 4-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
  16. [    1.419752] fusb302 4-0022: connection has disconnected
  17. [    1.765406] fusb302 4-0022: connection has disconnected
  18. [    2.105035] fusb302 4-0022: connection has disconnected
  19. [    2.450593] fusb302 4-0022: connection has disconnected
  20. [    2.820121] fusb302 4-0022: connection has disconnected
  21. [    3.148492] fusb302 4-0022: connection has disconnected
  22. [    3.505790] fusb302 4-0022: connection has disconnected
  23. [    3.839298] fusb302 4-0022: connection has disconnected
  24. [    4.179892] fusb302 4-0022: connection has disconnected
  25. [    4.513059] fusb302 4-0022: connection has disconnected
  26. [    4.861079] fusb302 4-0022: connection has disconnected
  27. firefly@firefly:~$
Copy the code

I would like to know why there is a USB Type-C port other than flashing.
Reply

Use props Report

414

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
414
Posted at 12/22/2018 17:35:33     
The board can be served as USB widget, where the Type-C port will be in device mode.

But by default, both the board and PC are in host mode, which makes no sense when
connected together,  therefore the fusb302 chip reports ROLE_MODE_NONE .
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