View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 07-30-2011, 06:50 AM   #1
Registered: Jan 2004
Posts: 43

Rep: Reputation: 15
USB devices stop detecting (or un-detecting).

I've had this problem a couple times now, and so far I've only been able to get things working again after a reboot. What happens is the OS stops detecting when I plugin/unplug external USB hard drives.

Let's say I've got two disks (A and B).

Disk A is plugged in, and appears as /dev/sdd

I can mount and use partitions on Disk A.

Now, I plugin Disk B...nothing new appears in /dev

I unplug it, unmount partitions Disk A, and unplug it as well. I now *still* have 'sdd' any previously detected partitions listed in /dev

At this point, I can no longer use either drive. I also will find, if I unplug my USB mouse than plug it back in, the mouse will no longer work. seems like the USB hardware detection system has just completely stopped.

I checked dmesg, and I do see 1000s of entries that look like this:

[53755.474042] xhci_hcd 0000:07:00.0: WARN: Stalled endpoint

I think this might be related to one of my USB drives that requires an external power source (which I had unplugged, while the device was plugged in but with no partitions mounted). It was also plugged in on a USB 3.0 port.

What I'm wondering is if there is a way to kick things back into gear, or am I just SOL and have to reboot whenever this occurs.

Thanks in advance for any suggestions.
Old 07-31-2011, 03:08 AM   #2
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 354

Rep: Reputation: 48
Ahh you have the insanely wonderful USB 3.0 issue that I tend to have. Here's one way that will help (hopefully) without a reboot:

Try this code in the terminal next time it happens:

rmmod xhci_hcd
modprobe xhci_hcd
There are issues with USB 3.0 on all kinds of distributions of Linux. I have found very few distributions of Linux that didn't have USB 3.0 issues in the past six months.

Anyway, that should do it. If not, please let me know. If it does help, then don't forget to click the little "helpful" button


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded USB hub NOT detecting any usb devices zaks_974 Linux - Embedded & Single-board computer 2 09-16-2010 01:47 AM
detecting devices that are not installed mandrakeBren Linux - Newbie 2 04-29-2009 03:26 AM
Install failing when detecting firewire/USB devices somelemming Slackware - Installation 1 05-05-2006 04:01 AM
USB and Firewire devices not detecting floyd1966 Ubuntu 3 06-25-2005 01:41 PM
stop hotplug from detecting things connected to usb (but still noticing usb itself) TheOneAndOnlySM Linux - Hardware 5 10-18-2003 11:35 AM

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration