Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Unable to detect the device in lsusb

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39

Unable to detect the device in lsusb

Posted at 6/4/2018 20:58:41      View:7113 | Replies:9        Print      Only Author   [Copy Link] 1#
Hi,

I have downloaded the Android 7.1 SDK for Firefly-rk3399 and Built it.
I successfully flashed the images on the board.Android got booted up

I enabled the Developer options --> USB debugging.

When i connect the USB type-C cable from RK3399 to My PC,
   the board does not showup in lsusb details.

anvesh@anvesh:~/firefly-rk3399/kernel$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 413c:2113 Dell Computer Corp.
Bus 001 Device 015: ID 413c:301a Dell Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Thanks and Regards,
Anvesh N
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 6/5/2018 14:43:30        Only Author  2#
try to flash the new firmware to make sure if is it okay with the hardware.
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 6/5/2018 14:48:16        Only Author  3#
Can you please give me the link for the new firmware ? sorry for the inconvenience caused.

Thanks,
Anvesh N
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 6/5/2018 15:24:33        Only Author  4#
anveshdotneeli Posted at 6/5/2018 14:48
Can you please give me the link for the new firmware ? sorry for the inconvenience caused.

Thanks ...

http://en.t-firefly.com/doc/download/index/id/3.html
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 6/5/2018 16:48:15        Only Author  5#
Last edited by anveshdotneeli In 6/5/2018 19:55 Editor

I have already checked with Android 7.1 firmware image.
I have enabled Developer options in that image.

Still the lsusb can not detect the rk-3399 device.

If it is a hardware problem, then how am i able to flash the images through the same usb port ?
May be the device is in host mode.. how can i check the mode of device ?
please help.

Thanks and Regards,
Anvesh N
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 6/6/2018 10:01:23        Only Author  6#
anveshdotneeli Posted at 6/5/2018 16:48
I have already checked with Android 7.1 firmware image.
I have enabled Developer options in that  ...


If you had flash the firmware 20180412 , the adb connect problem have fixed and ignore below.
Or u can see the links below, push the drmservice into your board and retry.
http://bbs.t-firefly.com/forum.php?mod=viewthread&tid=2202
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 6/7/2018 00:18:52        Only Author  7#
Last edited by anveshdotneeli In 6/7/2018 00:24 Editor
leung先森 Posted at 6/6/2018 10:01
If you had flash the firmware 20180412 , the adb connect problem have fixed and ignore below.
O ...

Hi leung,

I have established adb over ethernet.
Whenever i am trying to connect Type-C usb cable to my Ubuntu PC, in order to access adb through usb, Getting the following error in dmesg.

[  429.195843] phy phy-ff770000.syscon:usb2-phy@e450.6: charger = USB_SDP_CHARGER
[  429.247778] fusb302 4-0022: connection has disconnected
[  429.426780] fusb302 4-0022: connection has disconnected
[  429.603807] fusb302 4-0022: connection has disconnected
[  429.780402] fusb302 4-0022: connection has disconnected
[  429.956793] fusb302 4-0022: connection has disconnected
[  430.134148] fusb302 4-0022: connection has disconnected
[  430.309773] fusb302 4-0022: connection has disconnected
[  430.486585] fusb302 4-0022: connection has disconnected
[  430.663876] fusb302 4-0022: connection has disconnected
[  430.844945] fusb302 4-0022: connection has disconnected
[  431.026581] fusb302 4-0022: connection has disconnected
[  431.204932] fusb302 4-0022: connection has disconnected
[  431.384369] fusb302 4-0022: connection has disconnected
[  431.560147] fusb302 4-0022: connection has disconnected
[  431.739063] fusb302 4-0022: connection has disconnected
[  431.920725] fusb302 4-0022: connection has disconnected
[  432.099713] fusb302 4-0022: connection has disconnected
[  432.280952] fusb302 4-0022: connection has disconnected
[  432.458049] fusb302 4-0022: connection has disconnected
[  432.638815] fusb302 4-0022: connection has disconnected
[  432.818030] fusb302 4-0022: connection has disconnected
[  432.995190] fusb302 4-0022: connection has disconnected
[  433.178709] fusb302 4-0022: connection has disconnected
[  433.359867] fusb302 4-0022: connection has disconnected
[  433.538134] fusb302 4-0022: connection has disconnected
[  433.718607] fusb302 4-0022: connection has disconnected
[  433.899673] fusb302 4-0022: connection has disconnected
[  434.124878] fusb302 4-0022: connection has disconnected

please help us to get resolve.

Thanks and Regards,
Anvesh N
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 6/7/2018 10:43:33        Only Author  8#
anveshdotneeli Posted at 6/7/2018 00:18
Hi leung,

I have established adb over ethernet.

I do not meet this issue yet , u can insert tpye-c reverse surface and try.
Or try other PC
Reply

Use props Report

39

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
39
Posted at 6/7/2018 14:52:14        Only Author  9#
leung先森 Posted at 6/7/2018 10:43
I do not meet this issue yet , u can insert tpye-c reverse surface and try.
Or try other PC

No, i have tried with different PC and also with the other rk-3399 board i have.
Both are failing in fusb_state_attach_wait_sink()
please find the total logs in the attachment.

[  179.704869] fusb302 4-0022: fusb_state_attach_wait_sink
[  179.704967] fusb302 4-0022: connection has disconnected
[  179.824634] phy phy-ff770000.syscon:usb2-phy@e450.6: charger = USB_SDP_CHARGER
[  179.887515] fusb302 4-0022: fusb_state_attach_wait_sink
[  179.887599] fusb302 4-0022: connection has disconnected
[  180.078213] fusb302 4-0022: fusb_state_attach_wait_sink
[  180.078313] fusb302 4-0022: connection has disconnected
[  180.260817] fusb302 4-0022: fusb_state_attach_wait_sink
[  180.260900] fusb302 4-0022: connection has disconnected
[  180.443622] fusb302 4-0022: fusb_state_attach_wait_sink
[  180.443713] fusb302 4-0022: connection has disconnected
[  180.627010] fusb302 4-0022: fusb_state_attach_wait_sink
[  180.627102] fusb302 4-0022: connection has disconnected

Regards,
Anvesh N

dmesg_logs.tar.gz

25.12 KB, Down times: 1

Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 6/7/2018 20:27:29        Only Author  10#
anveshdotneeli Posted at 6/7/2018 14:52
No, i have tried with different PC and also with the other rk-3399 board i have.
Both are failing ...

Not insert type-c , it will output the log like that ?
I recommand you contact firefly and send it back to fix it .
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