Title: fusb302 4-0022: connection has disconnected [Print This Page] Author: acidpero Time: 12/18/2018 09:23 Title: fusb302 4-0022: connection has disconnected 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.Author: penguin Time: 12/20/2018 14:56
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 Author: acidpero Time: 12/21/2018 09:09 Last edited by acidpero In 12/21/2018 09:12 Editor
Linux firefly 4.4.154 #1 SMP Fri Oct 12 09:51:35 CST 2018 aarch64 aarch64 aarch64 GNU/Linux
firefly@firefly:~$ cat /proc/version
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.
firefly@firefly:~$ dmesg | grep fusb302 | head -n 25
[ 1.172583] fusb302 4-0022: GPIO lookup for consumer int-n
[ 1.172593] fusb302 4-0022: using device tree for GPIO lookup
[ 1.172645] fusb302 4-0022: GPIO lookup for consumer vbus-5v
[ 1.172652] fusb302 4-0022: using device tree for GPIO lookup
[ 1.172701] fusb302 4-0022: GPIO lookup for consumer vbus-other
[ 1.172708] fusb302 4-0022: using device tree for GPIO lookup
[ 1.172734] fusb302 4-0022: using lookup tables for GPIO lookup
[ 1.172742] fusb302 4-0022: lookup for GPIO vbus-other failed
[ 1.172750] fusb302 4-0022: GPIO lookup for consumer discharge
[ 1.172756] fusb302 4-0022: using device tree for GPIO lookup
[ 1.172780] fusb302 4-0022: using lookup tables for GPIO lookup
[ 1.172787] fusb302 4-0022: lookup for GPIO discharge failed
[ 1.172959] fusb302 4-0022: Can't get property of role, set role to default DRP
[ 1.181972] fusb302 4-0022: port 0 probe success with role ROLE_MODE_DRP, try_role ROLE_MODE_NONE
[ 1.419752] fusb302 4-0022: connection has disconnected
[ 1.765406] fusb302 4-0022: connection has disconnected
[ 2.105035] fusb302 4-0022: connection has disconnected
[ 2.450593] fusb302 4-0022: connection has disconnected
[ 2.820121] fusb302 4-0022: connection has disconnected
[ 3.148492] fusb302 4-0022: connection has disconnected
[ 3.505790] fusb302 4-0022: connection has disconnected
[ 3.839298] fusb302 4-0022: connection has disconnected
[ 4.179892] fusb302 4-0022: connection has disconnected
[ 4.513059] fusb302 4-0022: connection has disconnected
[ 4.861079] fusb302 4-0022: connection has disconnected
firefly@firefly:~$
Copy the code
I would like to know why there is a USB Type-C port other than flashing. Author: penguin Time: 12/22/2018 17:35
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 .Author: luokuipeng Time: 7/4/2019 20:46
[ 25.422691] fusb302 4-0022: connection has disconnected
[ 25.601687] fusb302 4-0022: connection has disconnected
[ 25.781950] fusb302 4-0022: connection has disconnected
[ 25.967039] fusb302 4-0022: connection has disconnected
[ 26.145262] fusb302 4-0022: connection has disconnected
[ 26.332568] fusb302 4-0022: connection has disconnected
[ 26.511882] fusb302 4-0022: connection has disconnected
[ 26.693795] fusb302 4-0022: connection has disconnected
[ 26.876559] fusb302 4-0022: connection has disconnected
[ 27.062618] fusb302 4-0022: connection has disconnected
[ 27.242646] fusb302 4-0022: connection has disconnected
[ 27.421875] fusb302 4-0022: connection has disconnected
[ 27.602208] fusb302 4-0022: connection has disconnected
[ 27.781855] fusb302 4-0022: connection has disconnected
[ 27.967123] fusb302 4-0022: connection has disconnected
[ 28.148761] fusb302 4-0022: connection has disconnected
[ 28.329424] fusb302 4-0022: connection has disconnected
我的也这样,不知道啥问题Author: jh244212647 Time: 1/4/2020 15:36
because firefly_rk3399 use the type-c by otg mode,but there is different both otg wire and defualt wire. so if you want to use the default wire,you can chang the otg mode ,modify dts,chang the &&usbdrd3_0 to &u2phy0