element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design USB 3.0 peripherals cause SSH terminal over wifi to become unresponsive
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 348 subscribers
  • Views 1035 views
  • Users 0 members are here
Related

USB 3.0 peripherals cause SSH terminal over wifi to become unresponsive

Former Member
Former Member over 7 years ago

When plugging in any USB 3.0 type peripheral such as flash drive, SATA connector, or gigabit ethernet an ssh terminal connecting over the wifi becomes extremely slow to respond, perhaps a few characters every 20-30 seconds or so.  Upon removing the device the ssh terminal speed returns to normal.

I am using the original SD card that came with the system.  Linux Kerrnel 4.9.0-xilinx-v2017.3 aarch64 and the files on the flash are dated 3/27/2018.

Here is the dmesg command response after plugging and uplugging the peripherals:

I tried plugging in a USB 3.0 powered hub as well to see if it made any difference.   The hub came up ok without causing the unresponsiveness, but the same problem occured when plugging in the devices to the hub.

USB 2.0 devices have all worked without causing any problems.  tested wifi, mouse, flash drive.

Since my J6 serial port doesn't seem to be working and I don't have a mini display port cable yet, I can't tell whether it's the whole system bogging down or just the wifi connection as I have only been able to connect over wifi.

Perhaps there's an IRQ conflict with USB 3.0 ?

 

dmesg after plugin and removal:


[  350.284554] usb 1-1.1: new high-speed USB device number 4 using xhci-hcd
[  350.402739] usb 1-1.1: config 1 interface 0 altsetting 0 has 7 endpoint descriptors, different from the interface descriptor's value: 5
[  350.421731] usb 1-1.1: New USB device found, idVendor=148f, idProduct=5370
[  350.428523] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  350.435816] usb 1-1.1: Product: 802.11 n WLAN
[  350.440152] usb 1-1.1: Manufacturer: Ralink
[  350.444318] usb 1-1.1: SerialNumber: 1.0
[  393.836770] usb 1-1.1: USB disconnect, device number 4
[  408.188762] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[  408.218193] usb 2-1.1: New USB device found, idVendor=090c, idProduct=1000
[  408.224987] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  408.232276] usb 2-1.1: Product: Silicon-Power128
[  408.236875] usb 2-1.1: Manufacturer: UFD 3.0
[  408.241128] usb 2-1.1: SerialNumber: P1600585419160400056
[  408.247800] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[  408.254578] scsi host0: usb-storage 2-1.1:1.0
[  409.746883] scsi 0:0:0:0: Direct-Access     UFD 3.0  Silicon-Power128 1100 PQ: 0 ANSI: 6
[  409.755910] sd 0:0:0:0: [sda] 252051456 512-byte logical blocks: (129 GB/120 GiB)
[  409.763885] sd 0:0:0:0: [sda] Write Protect is off
[  409.768605] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  409.769058] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  409.781854]  sda: sda1
[  409.786075] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  410.595836] EXT4-fs (sda1): recovery complete
[  410.600138] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[  458.313279] usb 2-1.1: USB disconnect, device number 3
[  458.320290] blk_update_request: I/O error, dev sda, sector 0
[  458.326611] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  458.331855] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00

simililar responses to plugging in usb 3.0->gigabit ethernet and usb3->SATA connector.

[  837.556659] usb 2-1.2: new SuperSpeed USB device number 4 using xhci-hcd
[  837.585358] usb 2-1.2: New USB device found, idVendor=174c, idProduct=55aa
[  837.592163] usb 2-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[  837.599457] usb 2-1.2: Product: ASM105x
[  837.603261] usb 2-1.2: Manufacturer: ASMT
[  837.607253] usb 2-1.2: SerialNumber: 00000000000000000000
[  837.656789] scsi host0: uas
[  837.660329] scsi 0:0:0:0: Direct-Access     ASMT     2115             0    PQ: 0 ANSI: 6
[  839.271672] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[  844.524700] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  844.534187] xhci-hcd xhci-hcd.0.auto: @0000000070073ec0 00000000 00000000 1b000000 04078001
[  844.543248] sd 0:0:0:0: [sda] Write Protect is off
[  844.547967] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  844.548173] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  844.557263] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  844.566742] xhci-hcd xhci-hcd.0.auto: @0000000070073070 00000000 00000000 1b000000 04038000
[  844.582678] sd 0:0:0:0: [sda] Attached SCSI disk
[  844.700274] EXT4-fs (sda): recovery complete
[  844.705143] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[  846.700814] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  846.710309] xhci-hcd xhci-hcd.0.auto: @0000000070073990 00000000 00000000 1b000000 04048001



[  935.732869] usb 2-1.1: new SuperSpeed USB device number 5 using xhci-hcd
[  935.763339] usb 2-1.1: New USB device found, idVendor=0b95, idProduct=1790
[  935.770136] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  935.777425] usb 2-1.1: Product: AX88179
[  935.781241] usb 2-1.1: Manufacturer: ASIX Elec. Corp.
[  935.786276] usb 2-1.1: SerialNumber: 0000000000012B
[  936.182358] ax88179_178a 2-1.1:1.0 eth0: register 'ax88179_178a' at usb-xhci-hcd.0.auto-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:a3:ef:c9
[  958.701255] usb 2-1.1: USB disconnect, device number 5
[  958.706514] ax88179_178a 2-1.1:1.0 eth0: unregister 'ax88179_178a' usb-xhci-hcd.0.auto-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet
[  958.740584] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  958.749046] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0001: -19
[  958.757560] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19

  • Sign in to reply
  • Cancel
Parents
  • zedhed
    0 zedhed over 7 years ago

    Hi jbattles,

    I did some additional research on this and it turns out this is a more common problem (even more so than I was aware of) that seems to plague a lot of devices that use USB 3.0 devices:

    https://plugable.com/2017/03/17/troubleshooting-wi-fi-performance-and-wireless-keyboard-mouse-issues-on-usb-docking-stations/

    I was able to confirm that when I switch to a wired mouse, I can regain control over my desktop so it appears to be some USB 3.0 peripheral interference with some radio operated devices (including Ultra96 Wi-Fi).

    Perhaps there are some USB 3.0 peripherals that have less interference than others?

    Best Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 7 years ago in reply to zedhed

    One of the peripheral I tested was an all metal thumbdrive.  I measured the outercase resistance and came up with just a few ohms.  That device should have been very well sheilded.  So my guess is that the rf emission source might be the traces on the ultra96 board itself.  Something for the AES team to look at if they have the rf gear.  I don't.  

    So a 5 GSPS signal would have an average clk transition of around 2.5 GHZ.  Given the Wifi ISM bands are 2.45 and 5 GHz they fall right on the fundamental and harmonics.   I don't know what the actuall spectrum for a USB 3.0 signal looks like, so I am just doing some guessing here, but I'd say it's very plausible that it could be the USB 3.0 jamming the front end of the wifi receiver.   I am not an rf expert but I know a few.  I'll see what they think.  Unfortuantely, they don't live near me so I can't have them check this out.

    Since the USB 3.0 peripherals seem to work ok, I think there's a good chance it's and RFI issues and not an irq one.  I did check the IRQ's for the wifi and the USB sytems and they were all unique numbers in the device tree source file.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 100charlesb
    0 100charlesb over 7 years ago in reply to Former Member

    I couldn't find it on the schematic but I did notice there appears to be an empty footprint for an MCX connector which goes into the WiFi module so it may be possible to add an external antenna. I now have a display port adapter and when I can find the time I will see what happens when everything is hardwired. I could make a small pickup loop and see what sort of RF field is generated by the USB3 as I have spectrum analysers that cover up to 22 Ghz however waving a wand near the board is probably not that scientific.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 100charlesb
    0 100charlesb over 7 years ago in reply to 100charlesb

    That should have been u.fl (not mcx).

    There appears no be no way of editing a message once posted hence the seperate post and there is a minimum

    message length of 50 characters hence this padding text.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 100charlesb
    0 100charlesb over 7 years ago in reply to 100charlesb

    Well I have now done some testing with a spectrum analyser and when a USB3 device is plugged it the noise from about 1.5 to 3 GHz rises a huge amount . Most of the intereference is coming from the USB3 leads rather than the device. I did the same with with a USB2 device and saw no increase in noise. So it looks like an external antenna fitted to the WiFi may clear the problem.

    I have not managed to get my Mini port to HDMI to work but I read other people are having this problem too.

    - Charles

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • 100charlesb
    0 100charlesb over 7 years ago in reply to 100charlesb

    Well I have now done some testing with a spectrum analyser and when a USB3 device is plugged it the noise from about 1.5 to 3 GHz rises a huge amount . Most of the intereference is coming from the USB3 leads rather than the device. I did the same with with a USB2 device and saw no increase in noise. So it looks like an external antenna fitted to the WiFi may clear the problem.

    I have not managed to get my Mini port to HDMI to work but I read other people are having this problem too.

    - Charles

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube