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 02-05-2005, 03:10 AM   #1
movery
Member
 
Registered: Jun 2004
Posts: 30

Rep: Reputation: 15
USB2 device only working at USB1!!


I just bought myself an 80GB harddrive and USB2 caddy for it. Plugged it into my USB port, configured my automounter and was able to use it fine.

However, it appeared rather slow and when I checked USB View it was only using the USB 1.0 Controller (at 11Mb/s) and not the USB 2.0 Controller.

I have tried each of the 3 USB ports I have on my laptop but no matter which one I choose it always connects as USB 1.0.

Fyi, I have the following USB modules loaded:

$ lsmod | grep usb
usbhid 32576 0
usb_storage 68416 1
usbcore 107292 7 uhci_hcd,ohci_hcd,usbhid,ehci_hcd,usb_storage
ide_core 148512 6 ide_scsi,usb_storage,ide_cd,ide_disk,ide_generic,sis5513
scsi_mod 121868 4 ide_scsi,usb_storage,sd_mod,libata

And this is my automounter config:

portable -fstype=vfat,noauto,uid=1000,gid=100,umask=0007,rw,exec,sync :
/dev/sda

How can I force my drive to connect at USB 2.0? I got the drive to backup my data before I rebuild it with a 64bit OS...but at USB 1.0 that is going to be rather painful
 
Old 02-05-2005, 04:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
to be honest, i'm not totally sure how, or even IF, ehci_hcd, the USB2.0 driver responds to USB1.0 / USB1.1 devices. i reckon it will sort them out, but i don't know. if they're not being used by other devices, try removing uhci_hcd and ohci_hcd from memory. you shouldn't be loading both of those either, only one will work with your chipset so the other is a waste of time.

I've been googling for a little while, and i'm unable to find any mention of priorities for which to use... you'd think ehci would always be the prefered choice... maybe it's the order they are loaded in... can't say, hopefully someone else will know, as i was right there last night with my new Nomad Jukebox....
 
Old 02-05-2005, 04:43 AM   #3
movery
Member
 
Registered: Jun 2004
Posts: 30

Original Poster
Rep: Reputation: 15
I tried removing each of uhci/ohci in turn and was able to isolate the one my USB mouse needs to work (and i presume the one that supports my chipset). I guess the question now is why isn't ehci picking up my damn external hard drive!

$ lsmod | grep hci
ohci_hcd 19396 0
ohci1394 35460 0
ieee1394 110712 2 eth1394,ohci1394
ehci_hcd 29444 0
usbcore 107292 6 ohci_hcd,usbhid,ehci_hcd,usb_storage

Do you think it is because ohci_hcd listed first against usbcore? I don't think I will be able to choose the order of load as they are compiled into my kernel...
 
Old 02-05-2005, 04:52 AM   #4
movery
Member
 
Registered: Jun 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Just found this on a Mandrake forum which looks promising...

http://www.mandrake.tips.4.free.fr/review92.html

**************************************************************************************************** ******************************************************************
I also borrowed an external usb2 harddrive. The same as with the flash-card happened, it was automatically mounted to /mnt/removable1. Unfortunately I was not able to transfer data at the USB2 speeds, the maximum speed I got was around 1MB/s, which is USB1.1 -- at over 95% cpu usage. I am not sure if this is actually my motherboard revision, I have the Asus A7V333 V1.01 and it wouldn't surprise me if USB2 is actually not completely properly implemented. It may also be linux, but I know plenty of people who have USB2 equipment working at full USB2 speeds (for a harddrive, a transfer speed of 5 to 10MB or more can be expected -- usually the harddrive is the limiting factor, not the USB2 bandwidth), even on A7V8 series motherboards (which are very similar).

Update! (22 Jan 2004) The external USB2 harddrive can work at high speed (20MB/s) -- if I mount it by hand, instead of letting supermount do its thing, it works ok. I had the following in my /etc/fstab:
/dev/scsi/host1/bus0/target0/lun0/part1 /mnt/hd-sda1 vfat rw,noauto,user,exec 0 0
which I put instead of what Mandrake automatically created:
none /mnt/hd supermount dev=/dev/sda1,fs=ext2:vfat,--,codepage=850,kudzu,iocharset=iso8859-15 0 0
and like this, I can mount the drive as a user with:
mount /mnt/hd-sda1
and all works fine.

**************************************************************************************************** ******************************************************************

...but I don't have /dev/scsi... Even though when you connect the drive the syslog shows it connecting on something very similar to the /dev/scsi/host1/bus...blah above.
 
Old 02-05-2005, 04:56 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i still can't see anything that implies any form of preference between ohci and ehci...
 
Old 02-05-2005, 08:02 AM   #6
movery
Member
 
Registered: Jun 2004
Posts: 30

Original Poster
Rep: Reputation: 15
I have just removed ohci and uhci so only the USB2 controller is enabled (using ehci) and when I plug in the external drive there is no output to the syslog. It is like the controller is not watching any of the usb ports.

Is this turned on somewhere?
 
  


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
Why do my USB2 devics go so slow (usb1 speeds ?) qwijibow Linux - General 1 08-02-2005 10:31 AM
Installed USB2.0 card - sound stopped working DJOtaku Linux - Hardware 0 02-18-2005 01:23 AM
dvd playback usb1.1 lumbrjackedpcj Linux - Hardware 1 11-23-2004 06:34 PM
USB storage - detected on USB1 port, but not USB2 (Mandrake 10 Official) maehara Mandriva 1 10-27-2004 02:28 PM
Linksys WUSB11 not working - on USB2 system WMD Linux - Wireless Networking 8 08-28-2004 07:48 PM

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

All times are GMT -5. The time now is 07:58 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