LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-12-2017, 09:33 PM   #1
centguy
Member
 
Registered: Feb 2008
Posts: 477
Blog Entries: 1

Rep: Reputation: 38
Hard drive not detected when plugged into usb 3.0 port but ok on a usb 2.0 port on CentOS 6.4


My external drive was not detected when plugged into usb 3.0 port but ok with usb 2.0 port on the same computer (running CentOS 6.4).

not detected means fdisk -l cannot see it. No extra entry /dev/sdX where X is any letter.

gparted not able to see the disk.

usb 3.0 has a blue color.

usb 2.0 has a black color.


The usb 3.0 ports are working if I plug a mouse or keyboard to it.

Google a little bit but the cure seems to hard to get.

Any good straight solution?
Thanks!
 
Old 07-12-2017, 09:54 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,227

Rep: Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196
Command lsusb when plugged in?
 
Old 07-12-2017, 10:17 PM   #3
centguy
Member
 
Registered: Feb 2008
Posts: 477

Original Poster
Blog Entries: 1

Rep: Reputation: 38
okay. The problem was a Lenovo laptop which is now at home. I am now at the office and I have this drive plugged into a HP workstation running
CentOS 6.1. This drive is detected okay with HP workstation.

I should probably go home to try out the command, but since I am impatient, I shall display what I see at office:

By diffing lsusb, I have this entry

Bus 001 Device 068: ID 0480:0201 Toshiba America Info. Systems, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


What does lsusb lead to?

i will follow up the command when I test it at home.
 
Old 07-13-2017, 09:03 AM   #4
centguy
Member
 
Registered: Feb 2008
Posts: 477

Original Poster
Blog Entries: 1

Rep: Reputation: 38
Before:

Quote:
[centos64-lenovo ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 004: ID 0489:e032 Foxconn / Hon Hai
Bus 002 Device 003: ID 13d3:5162 IMC Networks
Bus 001 Device 005: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
[centos64-lenovo ~]$
 
Old 07-13-2017, 09:05 AM   #5
centguy
Member
 
Registered: Feb 2008
Posts: 477

Original Poster
Blog Entries: 1

Rep: Reputation: 38
After plugging in:

Quote:
[centos64-lenovo ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 004: ID 0489:e032 Foxconn / Hon Hai
Bus 002 Device 003: ID 13d3:5162 IMC Networks
Bus 001 Device 005: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 001 Device 006: ID 0480:0201 Toshiba America Info. Systems, Inc.
[centos64-lenovo ~]$
 
Old 07-13-2017, 09:11 AM   #6
centguy
Member
 
Registered: Feb 2008
Posts: 477

Original Poster
Blog Entries: 1

Rep: Reputation: 38
Very strange: I have three blue USB, so I should have 3 entries of Linux Foundation 3.0 root hub, but
I only one entry of Linux Foundation 3.0 root hub.

umm...

Does it means that actually I have three usb 2.0 port but is blue in color and therefore it cannot mount a portable drive?
 
Old 07-13-2017, 11:44 AM   #7
centguy
Member
 
Registered: Feb 2008
Posts: 477

Original Poster
Blog Entries: 1

Rep: Reputation: 38
using usbcore.autosuspend=-1 in the kernel boot line, things improve:

Quote:


[centos64-lenovo ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 004: ID 0489:e032 Foxconn / Hon Hai
Bus 002 Device 003: ID 13d3:5162 IMC Networks
Bus 001 Device 005: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 001 Device 006: ID 0480:0201 Toshiba America Info. Systems, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 004 Device 002: ID 1058:0740 Western Digital Technologies, Inc. My Passport 1TB
[centos64-lenovo ~]$
 
Old 07-13-2017, 11:50 AM   #8
centguy
Member
 
Registered: Feb 2008
Posts: 477

Original Poster
Blog Entries: 1

Rep: Reputation: 38
I unmounted and pull out the connection on the blue USB, reconnect, now fdisk -l cannot see the disk..

Something is not very robust!
 
Old 07-13-2017, 01:53 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147Reputation: 2147
if in fact you are having 3.0 to external HDD is that cable 3.0 too?
 
Old 07-13-2017, 02:03 PM   #10
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138Reputation: 2138
I have a feeling it has to do with using such an old server OS on a laptop. What's the laptop model number? Have you tried a different distro? Is there a reason you're still using CentOS 6.4 instead of updating to 6.9? It's typically not a good idea to have a machine connected to the internet that hasn't been updated in over 4 years.

Last edited by suicidaleggroll; 07-13-2017 at 02:04 PM.
 
Old 07-13-2017, 03:04 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,227

Rep: Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196Reputation: 3196
Something funny with the usb port. Shouldn't be a power issue. Can you add in power to this drive to be sure?

Guess you could easily try a few live cd's to see what happens.

Look at any bios entries.

Here for some ideas. http://hamwaves.com/usb.autosuspend/en/index.html

Last edited by jefro; 07-13-2017 at 03:06 PM.
 
Old 07-13-2017, 08:22 PM   #12
centguy
Member
 
Registered: Feb 2008
Posts: 477

Original Poster
Blog Entries: 1

Rep: Reputation: 38
Thanks for the ideas out there. But since one port (not blue in color) is working (which I think it USB 3) with hard drives but
three ports (blue in color that defy conventional color labeling) are not working (which I think is USB 2) with an external hard drive plugged in when the system is already booted up.

But the truth is: when the hard drives are pre-connected to the ports before the the POWER button is pressed solves the problem so I may stop digging for a while.

I run Linux on a very private manner, so I usually install one time and upgrade when needed and use it until the computer
is dead or I give up on it (too slow compare to the newer computers). This is just my philoshopy so many years. The moment I buy a new computer is my next major upgrade moment. Not luxury to troubleshoot every single problem that comes in my way. Thanks for listening.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Defining the process when something is plugged into the USB port swmcl Linux - Hardware 5 03-18-2017 07:35 PM
detection of a device when plugged through USB port chaitalil Linux - Newbie 6 02-12-2013 11:52 AM
cable plugged into USB port produces errors wadesmart Linux - Hardware 2 01-28-2009 02:32 PM
Installing Linux on External hard drive connected by USB port omidiora Linux - Newbie 1 04-29-2006 09:51 AM
USB port problems....... (external hard drive) g07Hh4XX0r Linux - Hardware 1 05-16-2004 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:41 PM.

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