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 Raspberry Pi 3 USB Ports no longer operating
  • 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 10 replies
  • Subscribers 665 subscribers
  • Views 11292 views
  • Users 0 members are here
  • raspberry_pi_space
Related

Raspberry Pi 3 USB Ports no longer operating

Former Member
Former Member over 8 years ago

Hello there,

 

I have been trying to get some type of assistance beyond troubleshooting because I believe that the USB ports on my RPi3 have spontaneously stopped working... I have only had this raspberry pi for 5 days now and have been looking all over to get some type of help with a similar case as mine. I cannot correctly shutdown the RPi which is sort of a problem when you have loaded a good amount of files onto an SD card. Do you know how to proceed with such a problem without corrupting my SD card. I cannot use any hotkeys or anything due to the USB slots not working

 

Please let me know if you can help me with troubleshooting or a product replacement

 

Thank you for your time,

 

Donley Henson

  • Sign in to reply
  • Cancel
Parents
  • volly
    volly over 8 years ago

    @dchenson, shabaz and balearicdynamics

     

    I found this thread.....

     

    https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=110164

     

    and this one

     

    https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=162103

     

    It might help....

     

    I have 3 RPi 3's none of them has this issue.

     

    Yunus.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to volly

    Correct Yunus.

     

    As a matter of fact I think that me and shabaz too considered de facto these or some other test as the initial assertion is that the USB is no longer working. Anyway if not yet tested this is a good way to check via software if all the USB are not working. In the case these are instead working well maybe something wrong to the attached peripherals. The first thing I think is that some sort of short circuit happens to one of the USB (that makes all working bad or not working at all) or an unexpected too high current absorbed by one of the attached peripherals.

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • volly
    volly over 8 years ago in reply to balearicdynamics

    My thoughts exactly!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to volly

    Now maybe a good idea that Guest just say something image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 8 years ago in reply to balearicdynamics

    It does seem strange that there have been a few other reports of all ports not functioning, I too was wondering the same as you, if maybe it was due to accidental shorting of some of the USB socket pins on the underside of the Pi's PCB during experimentation etc, causing a temporary issue until the board is rebooted.

    I'm not knowledgeable enough to know what happens if/when that on-board USB hub (LAN9514) goes nuts, does the driver try to reset it. There is no easy way to externally reset it either, and even if a user did manage to do that, the driver might not initialize it again until the entire Pi is rebooted.

    It would be good if there was some logging or script that could periodically check the USB hub circuit, and send some information to syslog, so that people could check afterwards to try and find the root cause if they did have to reboot the board.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to shabaz

    Hello Shabaz,

     

    I can confirm that - especially when there is current overcharge - the ports stop working (I suppose a sort of protection). Normally resetting the entire PI (power off / power on) will solve the problem.

    I have not yet experienced any USB strange behaviour on the PI but Debian, as well as most of the other Linux distributions, will write USB problems in the /var/log/... folder

    As far as I know there is no way to reset externally the USB because it is the USB kernel module unloaded to avoid data corruption to other services. This happens with Mac (linux-like), Ubuntu, Debian desktop and many other.

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 8 years ago in reply to balearicdynamics

    Hi Enrico,

     

    I see... thanks for investigating!! It sounds like one option could be if someone developed an optional monitor process that if it detects that USB has failed, then it reboots the board if it cannot reset and reconfigure it. But it wouldn't suit everyone, because some may prefer to keep the Pi running.

     

    It's almost a limitation of Linux if there is no easy way for it to reload the USB kernel module while the rest of Linux is still running, but perhaps that is a security risk or something.. I'm sure there is good reason.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to shabaz

    Hi Shabaz,

     

    as far as I know this is the "normal" behaviour of Linux that is usually oriented to save the computer. In most of the cases it is also possible to unload and reload the Kernel but USB is not just "USB", it is an almost complex protocol. By one side the USB is used to connect devices like printers so it manages the protocol as a standard serial (despite that USB itself stays for Universal Serial Bus). But it can also be used - for example - to manage audio on a different layer.

    Then there is a sort of exception that is where USB is used to interface HID (human Interface Device), typically keyboard and mouse. The USB HID driver is low level and it is always present, one of the first modules loaded by the kernel as it should provide the minimal essential interface support to communicate with the computer. Different instead while you have a printer or - more generically - a serial interface of the type ttyUsb. In this case the module can be reloaded and the service stopped as well with the kernel running. It is also the case of the Audio interface, serial over USB and other devices.

    In a general view all those devices that requires some sort of driver to be loaded as service or kernel module after the first boot level can be unloaded or stopped if the physical hardware can be harmful for the computer.

    But without a clear scenario of what is loaded and what is not, it is almost impossible to theorise a right solution or at least a correct troubleshooting.

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to shabaz

    Hi Shabaz,

     

    as far as I know this is the "normal" behaviour of Linux that is usually oriented to save the computer. In most of the cases it is also possible to unload and reload the Kernel but USB is not just "USB", it is an almost complex protocol. By one side the USB is used to connect devices like printers so it manages the protocol as a standard serial (despite that USB itself stays for Universal Serial Bus). But it can also be used - for example - to manage audio on a different layer.

    Then there is a sort of exception that is where USB is used to interface HID (human Interface Device), typically keyboard and mouse. The USB HID driver is low level and it is always present, one of the first modules loaded by the kernel as it should provide the minimal essential interface support to communicate with the computer. Different instead while you have a printer or - more generically - a serial interface of the type ttyUsb. In this case the module can be reloaded and the service stopped as well with the kernel running. It is also the case of the Audio interface, serial over USB and other devices.

    In a general view all those devices that requires some sort of driver to be loaded as service or kernel module after the first boot level can be unloaded or stopped if the physical hardware can be harmful for the computer.

    But without a clear scenario of what is loaded and what is not, it is almost impossible to theorise a right solution or at least a correct troubleshooting.

     

    Enrico

    • Cancel
    • Vote Up +2 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