element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum AVNet Smartedge IIoT Gateway USB instability problem
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 663 subscribers
  • Views 1008 views
  • Users 0 members are here
Related

AVNet Smartedge IIoT Gateway USB instability problem

jorl17
jorl17 over 4 years ago

Hi,

 

We have been using The AVNet Smartedge IIoT Gateway for a project for a while now. We have purchased a couple of dozen of these devices and use them with ethernet, canbus, HDMI and other protocols.

 

We are running a custom Raspbian image which was modified to boot correctly, and with the appropriate kernel modules updated and "grabbed" from the official AVNet image. The main reason for using standard raspbian is that the AVNet image would fail to correctly set the screen resolution on our screens (1024x600), while raspbian did not fail.

 

We have detected a problem which we cannot understand and is causing us several high-impact issues. In most (but not all) of our setups, the USB ports on the device begin malfunctioning, and the only solution is to reboot the system. The issue happens seemingly at random (e.g. after a period of inactivity [only some canbus messages being sent]). USB devices start acting out, responding extremely slowly. Unplugging them and plugging them back in does nothing. Using https://github.com/mvp/uhubctl  to power cycle the ports also seems to do nothing (once it seemed to fix the issue, but in general it doesn'). This can happen with just a single USB device plugged in (a touchscreen), or with multiple USB devices. Might be worth noting that all of the devices have an active modem installed, and some of these devices use different modems -- in truth, this might be the source of the problem but we haven't been able to check yet).

 

There have been several attempts at debugging this issue to no avail. The only "seemingly suspect" message in the logs is the following:

 

[147490.486924] smsc95xx 1-1.1:1.0 eth0: Failed to read reg index 0x00000114: -110
[147490.486938] smsc95xx 1-1.1:1.0 eth0: Error reading MII_ACCESS
[147490.486947] smsc95xx 1-1.1:1.0 eth0: MII is busy in smsc95xx_mdio_read
[147490.486957] smsc95xx 1-1.1:1.0 eth0: Failed to read MII_BMSR
[147490.486991] smsc95xx 1-1.2.1:1.0 eth1: Failed to read reg index 0x00000114: -110
[147490.487000] smsc95xx 1-1.2.1:1.0 eth1: Error reading MII_ACCESS
[147490.487009] smsc95xx 1-1.2.1:1.0 eth1: MII is busy in smsc95xx_mdio_read
[147490.487017] smsc95xx 1-1.2.1:1.0 eth1: Failed to read MII_BMSR

 

These messages seem to randomly appear on all devices exhibiting this behviour. However, they sometimes also appear on "healthy" devices.

 

We've already tried setting dwc_otg.fiq_fix_enable=0 but it did not help.

 

Does anyone have an idea as to what might be happening? This issue is very aggravating, because the only fix is to reboot the machines, and we don't even have a way of determining when exactly this system is failing (the only way is physically testing a USB device like a keyboard)

  • Sign in to reply
  • Cancel
Parents
  • Jan Cumps
    Jan Cumps over 4 years ago

    Do you see some trends in the occurrence? When much communication is happening? After a given up-time? With certain devices plugged in?

    When you install the AVNET OOB image on one of the devices, does the same happen with the same appliances connected?

     

    I can try to replicate at home. I've used USB for storage device (stick), and sometimes mouse + keyboard on these boxes. I haven't seen the symptom, but with some input of you I may be able to try it out.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Jan Cumps
    Jan Cumps over 4 years ago

    Do you see some trends in the occurrence? When much communication is happening? After a given up-time? With certain devices plugged in?

    When you install the AVNET OOB image on one of the devices, does the same happen with the same appliances connected?

     

    I can try to replicate at home. I've used USB for storage device (stick), and sometimes mouse + keyboard on these boxes. I haven't seen the symptom, but with some input of you I may be able to try it out.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • 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