LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-16-2012, 07:18 AM   #1
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
How to determine whether USB 3.0 is being used.


I have a USB 3.0 external drive plugged into the USB 3.0 port of my PC. However, since both are backwards compatible with USB 2.0 how do I know whether they're running as USB 3.0 or not?
I'm running Debian Sid with a Gigabyte GA-990XA-UD3 motherboard if that matters, though I'd prefer a non distro-specific solution.
 
Old 12-16-2012, 08:13 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Just copy a large file to the device and watch the transfer speed.
 
Old 12-16-2012, 08:34 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I just tried with mc and it showed 110MB/s, does that mean it's only running as USB 2.0? Disk Utility tells me it's connected at 750MB/s.
Is there no way to determine other than checking the speed?
 
Old 12-16-2012, 08:37 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
USB 2.0 is limited to 480MBit/s, which in reality comes up to 30-35 MB/s maximum. So if you get 110MB/s USB 3.0 clearly is used.
 
1 members found this post helpful.
Old 12-16-2012, 08:41 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Thanks, seems obvious when you put it like that.
Edit: I'll leave this as unsolved for a little while though as I'd be interested in how to determine which driver was being used by querying the system also, for future use.

Last edited by 273; 12-16-2012 at 08:42 AM.
 
Old 12-16-2012, 11:52 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I think the command
lsusb -v | grep bcdUSB
should tell you what you need to know.
 
2 members found this post helpful.
Old 12-16-2012, 12:19 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Thanks, "lsusb -v" does, indeed, give the USB versions.
 
  


Reply



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
how to determine USB drive? sluge Linux - Software 5 05-25-2012 07:55 PM
How to determine USB port tty value coondog52 Linux - Hardware 14 06-29-2009 05:18 PM
How do you determine usb port speed? Chronothread Linux - Hardware 1 09-03-2008 09:17 PM
How to determine if WLAN usb card is detected HTRednek Linux - Wireless Networking 1 11-09-2004 07:03 AM
determine type of device for USB devices lyar1031 Linux - Newbie 2 07-29-2004 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:45 AM.

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