xu4 usb3 ports dirty connectors... still!

Post Reply
anko
Posts: 19
Joined: Tue Jun 18, 2019 3:17 pm
languages_spoken: english
ODROIDs: xu4
Has thanked: 3 times
Been thanked: 1 time
Contact:

xu4 usb3 ports dirty connectors... still!

Unread post by anko » Tue Jun 18, 2019 3:32 pm

hi there i have an xu4 i have just purchased, mainly to use as a file-server, so i need reliable usb3 connections to sever from external usb3 drives...

imagine my disappointment when i got everything set up (using ubuntu minimal) and found that the usb3 ports would not recognise my drives!

after searching around i found this thread from 2015 about the xu4 usb3 connectors being dirty by default and needing to clean them:

viewtopic.php?f=95&t=15302#p99467

so i tried to clean the connectors using alcohol and cotton tip as directed. after a while it worked, but it's unreliable, from time to time when i re-plug usb3 drives (these drives do NOT use usb port power, they have external power) they fail to connect again... unless i _re-clean_ the connectors and try again multiple times!

this is very disappointing. that old thread mentions an improvement in pcb cleaning/prodution, but still in 2019 you have shipped a unit with these dirty, almost uncleanable, connectors.

how can i solve this problem _reliably_?? thanks.

User avatar
odroid
Site Admin
Posts: 31356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 50 times
Been thanked: 182 times
Contact:

Re: xu4 usb3 ports dirty connectors... still!

Unread post by odroid » Tue Jun 18, 2019 4:15 pm

We added a cleaning process in our production line from '2015.
So we've been cleaning all of the USB 3.0 host connectors on XU4 and N2 boards.
We also have test process for Super-Speed connection functionality with an external SSD storage device.
If the device doesn't work in Super-Speed mode, we have to clean the port again.

But, we still have few customers have the issue while we ship several thousands of boards every month.
I think the physical tolerance of the contacting mechanism or some other extra particles still might cause the problem.

If you still have a unstable connection issue from time to time even after cleaning the ports multiple times, there must be other root causes.
Can you share "dmesg", "lsmod", "lsusb" and "lsusb -t" outputs before/after you meet the problem again?
These users thanked the author odroid for the post:
anko (Wed Jun 19, 2019 10:21 am)

anko
Posts: 19
Joined: Tue Jun 18, 2019 3:17 pm
languages_spoken: english
ODROIDs: xu4
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: xu4 usb3 ports dirty connectors... still!

Unread post by anko » Wed Jun 19, 2019 10:14 am

odroid wrote:
Tue Jun 18, 2019 4:15 pm
We added a cleaning process in our production line from '2015.
So we've been cleaning all of the USB 3.0 host connectors on XU4 and N2 boards.
We also have test process for Super-Speed connection functionality with an external SSD storage device.
If the device doesn't work in Super-Speed mode, we have to clean the port again.

But, we still have few customers have the issue while we ship several thousands of boards every month.
I think the physical tolerance of the contacting mechanism or some other extra particles still might cause the problem.

If you still have a unstable connection issue from time to time even after cleaning the ports multiple times, there must be other root causes.
Can you share "dmesg", "lsmod", "lsusb" and "lsusb -t" outputs before/after you meet the problem again?
thanks for your quick reply, it makes me feel much better. :)

i cleaned the ports a couple more times by the advised procedure. this time i was a little more vigorous than i was really comfortable with, but it seems to have improved things a lot.

now i get all the drives i have tried connecting pretty reliably except for one of them. unfortunately the one with the most problems is the main usb3 drive i want to use as a nas drive. it is a western digital usb3 external drive with it's own power supply. i do have it working at the moment so fingers crossed. i have also used the cleaning procedure on the male connector at the end of the drive's usb cable.

as all the other drives i have tried seem to work ok now i strongly suspect the this is the problem with this drive now:
odroid wrote:
Tue Jun 18, 2019 4:15 pm
...
I think the physical tolerance of the contacting mechanism or some other extra particles still might cause the problem.
...
this drive always works when i connect it to any other pc or laptop but it seems to have a problem with the xu4's usb3 ports and i also suspect some physical tolerances problem between this drive's male and the xu4's female connectors.

unfortunately this wd drive's cable has a custom connector at the drive end, meaning i can't just swap out the cable with another usb3 one (which is what i'd normally do). i don't suppose you have any other suggestions i can try to overcome the issue now remaining with this specific drive's cable and the xu4 port?

fyi, as requested, i will append the relevant parts of the outputs of the commands you asked for above. this is with the drive currently connected and working. (just in case there is any info of use to you in there.) it is: "Western Digital Technologies, Inc. My Book Essential (WDBACW)" in the lsusb output.

thanks again for the prompt reply. ;)

drive working:

dmesg:

[ 7.864838] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 7.865092] scsi 0:0:0:1: Attached scsi generic sg1 type 13
[ 7.865169] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[ 7.865428] sd 0:0:0:0: [sda] 5860466688 512-byte logical blocks: (3.00 TB/2.73 TiB)
[ 7.865435] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 7.865795] sd 0:0:0:0: [sda] Write Protect is off
[ 7.865805] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 7.866150] sd 0:0:0:0: [sda] No Caching mode page found
[ 7.883025] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 8.754488] random: crng init done
[ 8.754495] random: 7 urandom warning(s) missed due to ratelimiting
[ 9.641639] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.647618] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.678864] r8152 6-1:1.0 eth0: carrier on
[ 9.679027] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 24.319640] sda: sda1
[ 24.322008] sd 0:0:0:0: [sda] Attached SCSI disk

lsmod:

Module Size Used by
spidev 20480 0
evdev 24576 1
sd_mod 45056 0
sg 32768 0
spi_s3c64xx 20480 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
gpio_keys 20480 0
exynos_gpiomem 16384 0
sch_fq_codel 20480 2
ip_tables 24576 0
ipv6 376832 40
uas 20480 0
usb_storage 49152 1 uas
scsi_mod 135168 4 sd_mod,usb_storage,uas,sg
extcon_usb_gpio 16384 0

lsusb:

Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 1058:1140 Western Digital Technologies, Inc. My Book Essential (WDBACW)
Bus 004 Device 002: ID 05e3:0616 Genesys Logic, Inc. hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb -t :

/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

# end

anko
Posts: 19
Joined: Tue Jun 18, 2019 3:17 pm
languages_spoken: english
ODROIDs: xu4
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: xu4 usb3 ports dirty connectors... still!

Unread post by anko » Thu Jun 20, 2019 1:49 pm

@odroid : fwiw what i thought was a custom usb cable on the wd ext usb3 drive was actually one of these: https://www.hardkernel.com/shop/usb3-0a ... usb-cable/ ,
so i ordered one with a few other bits and pieces from the odroid shop. hopefully the cable connector matching the xu4-usb3-port end of this cable will have tolerances that connect reliably with the xu4 ports. i will report here how it impacts the problem when i receive the new cable.

thanks.

User avatar
odroid
Site Admin
Posts: 31356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 50 times
Been thanked: 182 times
Contact:

Re: xu4 usb3 ports dirty connectors... still!

Unread post by odroid » Thu Jun 20, 2019 3:30 pm

Ok. Well noted.

anko
Posts: 19
Joined: Tue Jun 18, 2019 3:17 pm
languages_spoken: english
ODROIDs: xu4
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: xu4 usb3 ports dirty connectors... still!

Unread post by anko » Thu Jun 27, 2019 9:15 am

ok. i recieved my replacement usb3 cable of the type to go between the usb drive and the xu4. i fitted it and it seems the drive now connects reliably to the xu4.

interestingly on examining with a magnifier inside the xu4 port facing end of the new cable and the old cable, it seems the one of the contacts inside the end of the old cable is a bit lower than the others. in the new cable they are all the same height. so it seems that as we suspected it was a physical tolerances issue between that cable and the xu4 usb3 ports.

to summarise: the initial clean with alcohol of the xu4 ports solved all connection problems except for that one drive, and in that case swapping out the usb3 cable for another has fully solved the problem. so, for future reference with this kind of connection issue it's worth trying a cable swap even if the original cable has no problem connecting with other usb3 ports. it may be as in this case that the tolerances between that specific cable and the xu4 ports can cause an issue.

cheers.

User avatar
odroid
Site Admin
Posts: 31356
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 50 times
Been thanked: 182 times
Contact:

Re: xu4 usb3 ports dirty connectors... still!

Unread post by odroid » Thu Jun 27, 2019 9:18 am

Thank you for the updates and clarification.

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest