Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-08-2007, 08:23 PM
|
#1
|
Member
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351
Rep:
|
Is My USB REALLY Running @ 2.0?
How can I test to see if my USB 2.0 ports are detecting my USB 2.0 devices properly? For example: I have a USB 2.0 flash drive that works in USB 1.1 mode, but I want to make sure that when it is connected to my machine which has USB 2.0 that it is running at top speed. Thanks for your help! 
|
|
|
02-08-2007, 09:12 PM
|
#2
|
Member
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121
Rep:
|
I don't know how you measure it, but if it's a USB 2.0 port with USB 2.0 controller, and a USB 2.0 device it should operate...."up to"....USB 2.0 spec. Whenever zippiness is quantified among computer devices I think it wise to to never expect maximum ability at all times. Your actual mileage varies of course with what ever else your computer is doing at the time. And of course your CPU and chipset can only do so much at once. Figure the phase of the moon and other esoterica and you can estimate something reasonable.
|
|
|
02-09-2007, 07:19 AM
|
#3
|
Member
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351
Original Poster
Rep:
|
There has to be some way to test the speed of the connection. Any ideas?
|
|
|
02-09-2007, 04:22 PM
|
#4
|
Senior Member
Registered: May 2005
Posts: 1,565
Rep:
|
Well copy something onto it and see if you get for than 3MB/sec.
|
|
|
02-11-2007, 11:17 AM
|
#5
|
Member
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351
Original Poster
Rep:
|
Quote:
Originally Posted by ctkroeker
Well copy something onto it and see if you get for than 3MB/sec.
|
I'm transfering files to my external hard drive right now. Every file is 3MB - 8MB and the rate of transfer appears to be about 2-4 files per second. So is this USB 2.0 performance?
Thanks
|
|
|
02-13-2007, 06:28 AM
|
#6
|
Senior Member
Registered: May 2005
Posts: 1,565
Rep:
|
Quote:
Originally Posted by tubatodd
I'm transfering files to my external hard drive right now. Every file is 3MB - 8MB and the rate of transfer appears to be about 2-4 files per second. So is this USB 2.0 performance?
Thanks
|
Hard to tell, as I've noticed that on some USB drive it only writes the data after you unmount (or "eject") it. Especially on LG drives, no problem though with Kingston.
As for finding out the actual speed, have you searched google yet? I'm sure there is a lot of info on this.
|
|
|
02-13-2007, 06:51 AM
|
#7
|
Member
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275
Rep:
|
You can tell what speed the device is connected at by:
Code:
less /proc/bus/usb/devices
... and looking for the device. The speed is indicated by Spd=... (480 for USB2.0)
|
|
|
02-13-2007, 07:04 AM
|
#8
|
Member
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351
Original Poster
Rep:
|
Quote:
Originally Posted by Dudydoo
You can tell what speed the device is connected at by:
Code:
less /proc/bus/usb/devices
... and looking for the device. The speed is indicated by Spd=... (480 for USB2.0)
|
Thank you for your response. Your command produced the following results....
Code:
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.15-28-686 ehci_hcd
S: Product=EHCI Host Controller
According to the Spd=480....my flash drive was working as USB 2.0. Thanks again!!!!!
|
|
|
02-13-2007, 07:23 AM
|
#9
|
Member
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275
Rep:
|
Quote:
Originally Posted by tubatodd
S: Product=EHCI Host Controller
|
No, that's the controller; which means the ports are recognised as USB 2.0. It's not the connected device.
Have a look further in the results.
|
|
|
02-13-2007, 07:24 AM
|
#10
|
Member
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 814
Rep:
|
Remember that just because something is USB2.0 does not mean it will necessarity run high speed (480M). The are plenty of 2.0 devices that will only run full speed (12M). As far as I understand it, USB 1.1 to 2.0 was the possibility to run at 480M and some protocol changes.
|
|
|
02-13-2007, 09:15 AM
|
#11
|
Member
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351
Original Poster
Rep:
|
Thank you for the clarification. My USB 2.0 hard drive and USB 2.0 flash drive are performing nicely so I have no complaints.
**Windows Question**
On a semi-related note, my dad had a USB 2.0 PCI card installed in his WinXP machine. Though his printer is plugged into the new USB 2.0 port, he is still receiving a message saying that if the device was plugged into a USB 2.0 port he would have better performance. Of course, the printer IS plugged into a 2.0 port. What's the deal?
BTW, if my dad has any more WinXP issues.....I'm installing Ubuntu on his machine next time I visit them in NY. 
|
|
|
02-13-2007, 09:26 AM
|
#12
|
Member
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275
Rep:
|
Possible clues:
1. Check device manager to see if the card is listed and an "Enhanced USB Controller"
2. Maybe he needs to install updated Windows XP USB 2.0 drivers for his motherboard
|
|
|
02-16-2007, 10:12 PM
|
#13
|
LQ Newbie
Registered: Mar 2006
Location: Laurel, Maryland US
Distribution: Fedora
Posts: 17
Rep:
|
Another thing that can kill your usb 2 hard drive performance
is if the mount is setup to be synchronous. I have
a large usb 2 disk formatted as an XFS volume. I was
noticing even rather small files were very slow to
copy. The drive icon showed that checkbox "synchronous"
was checked, after putting that off the speed got much
better.
Mark
|
|
|
All times are GMT -5. The time now is 05:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|