LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 04-19-2013, 05:28 PM   #1
akatz712
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Rep: Reputation: Disabled
USB Hub not being recognized as 2.0


I bought the following USB hub
http://www.amazon.com/gp/product/B007S642BW

When I plug it in and insert a mass storage device, it shows at 12M instead of 480M.

Here is my lsusb, lsusb -t, and dmesg

Code:
andrew@andrew-901 ~ :( $ lsusb
Bus 001 Device 003: ID 8564:1000  
Bus 001 Device 004: ID 14cd:125c Super Top SD card reader
Bus 001 Device 005: ID 058f:6335 Alcor Micro Corp. SD/MMC Card Reader
Bus 001 Device 007: ID 05e3:0505 Genesys Logic, Inc. 
Bus 002 Device 012: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 005 Device 002: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 017: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 002 Device 013: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 002 Device 016: ID 045e:0752 Microsoft Corp. Wired Keyboard 400
Bus 002 Device 015: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 014: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
andrew@andrew-901 ~ $ lsusb -t
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 1: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 1: Dev 2, If 2, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 1: Dev 2, If 3, Class=Application Specific Interface, Driver=, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 2: Dev 12, If 0, Class=Hub, Driver=hub/4p, 12M
        |__ Port 1: Dev 17, If 0, Class=Mass Storage, Driver=usb-storage, 12M
        |__ Port 4: Dev 13, If 0, Class=Hub, Driver=hub/4p, 12M
            |__ Port 2: Dev 16, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 3: Dev 15, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 14, If 0, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 4: Dev 14, If 1, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 4: Dev 14, If 2, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 4: Dev 14, If 3, Class=Human Interface Device, Driver=cm109, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
    |__ Port 3: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 5: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 8: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M


[ 2038.421206] usb 2-2.1: new full-speed USB device number 17 using uhci_hcd
[ 2038.523187] usb 2-2.1: not running at top speed; connect to a high speed hub
[ 2038.562787] scsi8 : usb-storage 2-2.1:1.0
 
Old 04-21-2013, 06:13 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,561

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Welcome to LinuxQuestions.

Quote:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Your computer has both USB 1.1. and 2.0 ports. If a USB 2.0 device is plugged into a USB 1.1 port then will only work at 1.1 speeds.
 
Old 04-21-2013, 08:31 AM   #3
akatz712
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
My computer is an Asus Eee 901 netbook and it has 3 USB 2.0 ports.

I bought a USB 2.0 external USB hub with 7 ports.

The question is - why is Linux assigning the ports on the hub to be USB 1.1 speed? And is there some way of overriding what the Linux Kernel says?
 
Old 04-21-2013, 09:57 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,561

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Is any port using the 1.1 modules. Look in the /sys/bus/pci/drivers/ohci_hcd directory to see if you have a port using 1.1 module. Do you see anything like this:

0000:00:1d.7 -> ../../../../devices/pci0000:00/0000:00:1d.7

Also look in the BIOS under advanced to see if the OS is set to installation or finished.
Make sure it is set to finished.
 
Old 04-21-2013, 05:52 PM   #5
akatz712
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Is any port using the 1.1 modules. Look in the /sys/bus/pci/drivers/ohci_hcd directory to see if you have a port using 1.1 module. Do you see anything like this:

0000:00:1d.7 -> ../../../../devices/pci0000:00/0000:00:1d.7

Also look in the BIOS under advanced to see if the OS is set to installation or finished.
Make sure it is set to finished.
Code:
andrew@andrew-901 /sys/bus/pci/drivers/uhci_hcd $ ls -al
total 0
drwxr-xr-x  2 root root    0 Apr 21 17:48 .
drwxr-xr-x 19 root root    0 Apr 21 17:48 ..
lrwxrwxrwx  1 root root    0 Apr 21 18:26 0000:00:1d.0 -> ../../../../devices/pci0000:00/0000:00:1d.0
lrwxrwxrwx  1 root root    0 Apr 21 18:26 0000:00:1d.1 -> ../../../../devices/pci0000:00/0000:00:1d.1
lrwxrwxrwx  1 root root    0 Apr 21 18:26 0000:00:1d.2 -> ../../../../devices/pci0000:00/0000:00:1d.2
lrwxrwxrwx  1 root root    0 Apr 21 18:26 0000:00:1d.3 -> ../../../../devices/pci0000:00/0000:00:1d.3
--w-------  1 root root 4096 Apr 21 18:26 bind
lrwxrwxrwx  1 root root    0 Apr 21 18:26 module -> ../../../../module/uhci_hcd
--w-------  1 root root 4096 Apr 21 18:26 new_id
--w-------  1 root root 4096 Apr 21 18:26 remove_id
--w-------  1 root root 4096 Apr 21 17:48 uevent
--w-------  1 root root 4096 Apr 21 18:26 unbind
andrew@andrew-901 /sys/bus/pci/drivers/uhci_hcd $ lsusb
Bus 001 Device 003: ID 8564:1000  
Bus 001 Device 004: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 001 Device 005: ID 058f:6335 Alcor Micro Corp. SD/MMC Card Reader
Bus 001 Device 007: ID 05e3:0505 Genesys Logic, Inc. 
Bus 002 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 14cd:125c Super Top SD card reader
Bus 002 Device 004: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 002 Device 005: ID 045e:0752 Microsoft Corp. Wired Keyboard 400
Bus 002 Device 006: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 007: ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
andrew@andrew-901 /sys/bus/pci/drivers/uhci_hcd $ cd ../ehci-pci/
andrew@andrew-901 /sys/bus/pci/drivers/ehci-pci $ ls -al
total 0
drwxr-xr-x  2 root root    0 Apr 21 17:48 .
drwxr-xr-x 19 root root    0 Apr 21 17:48 ..
lrwxrwxrwx  1 root root    0 Apr 21 18:50 0000:00:1d.7 -> ../../../../devices/pci0000:00/0000:00:1d.7
--w-------  1 root root 4096 Apr 21 18:50 bind
lrwxrwxrwx  1 root root    0 Apr 21 18:50 module -> ../../../../module/ehci_pci
--w-------  1 root root 4096 Apr 21 18:50 new_id
--w-------  1 root root 4096 Apr 21 18:50 remove_id
--w-------  1 root root 4096 Apr 21 17:48 uevent
--w-------  1 root root 4096 Apr 21 18:50 unbind
andrew@andrew-901 /sys/bus/pci/drivers/ehci-pci $ lsusb -t
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M
        |__ Port 3: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 12M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 12M
            |__ Port 3: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 4: Dev 7, If 0, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 4: Dev 7, If 1, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 4: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 4: Dev 7, If 3, Class=Human Interface Device, Driver=cm109, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
    |__ Port 3: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 5: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 8: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
I will edit this when I check my BIOS.
I did not see anything in the BIOS about the OS installing or finishing.
What I saw under CPU is
Max CPUID Value Limit [Enabled] Disabled for Windows XP
Hyperthreading [enabled]
Intel SpeedStep [enabled] CPU Speed controlled by Operating System.

Last edited by akatz712; 04-21-2013 at 06:09 PM.
 
Old 04-26-2013, 04:04 PM   #6
akatz712
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I found out about a module called usbmon.
with this and an explanation of the meaning of the USB packets of exchange.
I have figured out that my 2.0 bus communicates first with the USB hub I plugged in, and the hub does say that it is high speed (2.0). However, before it is enabled, my 1.1 bus starts communicating and takes over.

Code:
sudo modprobe usbmon
sudo cat /sys/kernel/debug/usb/usbmon/0u > /tmp/monout

f67fb700 3599088130 C Ii:1:001:1 0:2048 2 = 0400
f67fb700 3599088177 S Ii:1:001:1 -115:2048 4 <

f5d45000 3599088228 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f5d45000 3599088240 C Ci:1:001:0 0 4 = 01050100
f5d45000 3599088251 S Co:1:001:0 s 23 01 0010 0002 0000 0
f5d45000 3599088260 C Co:1:001:0 0 0
f5d45000 3599088268 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f5d45000 3599088275 C Ci:1:001:0 0 4 = 01050000

f1191f00 3599117636 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599117672 C Ci:1:001:0 0 4 = 01050000

f5d45000 3599147653 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f5d45000 3599147693 C Ci:1:001:0 0 4 = 01050000

f1191f00 3599177651 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599177688 C Ci:1:001:0 0 4 = 01050000

f5d45000 3599207650 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f5d45000 3599207689 C Ci:1:001:0 0 4 = 01050000
f5d45000 3599207736 S Co:1:001:0 s 23 03 0004 0002 0000 0
f5d45000 3599207746 C Co:1:001:0 0 0

f1191f00 3599260971 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599261221 C Ci:1:001:0 0 4 = 01051000

f67fb700 3599265251 C Ii:1:001:1 0:2048 2 = 0400
f67fb700 3599265271 S Ii:1:001:1 -115:2048 4 <

f1191f00 3599284332 S Ci:2:001:0 s a3 00 0000 0001 0004 4 <
f1191f00 3599284367 C Ci:2:001:0 0 4 = 00010000
f1191f00 3599284381 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599284393 C Ci:2:001:0 0 4 = 01010100
f1191f00 3599284400 S Co:2:001:0 s 23 01 0010 0002 0000 0
f1191f00 3599284407 C Co:2:001:0 0 0
f1191f00 3599314280 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599314321 C Ci:1:001:0 0 4 = 00010100
f1191f00 3599314335 S Co:1:001:0 s 23 01 0014 0002 0000 0
f1191f00 3599314343 C Co:1:001:0 0 0
f1191f00 3599314355 S Co:1:001:0 s 23 01 0001 0002 0000 0
f1191f00 3599314364 C Co:1:001:0 0 0
f1191f00 3599314393 S Co:1:001:0 s 23 01 0001 0002 0000 0
f1191f00 3599314401 C Co:1:001:0 0 0
f1191f00 3599314419 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599314427 C Ci:1:001:0 0 4 = 00010100
f1191f00 3599314434 S Co:1:001:0 s 23 01 0010 0002 0000 0
f1191f00 3599314442 C Co:1:001:0 0 0
f1191f00 3599314451 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599314458 C Ci:1:001:0 0 4 = 00010000
f1191f00 3599344379 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599344416 C Ci:1:001:0 0 4 = 00010000

f5d45000 3599374218 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f5d45000 3599374252 C Ci:1:001:0 0 4 = 00010000

f66a4180 3599387647 S Ii:2:001:1 -115:128 2 <

f1191f00 3599404277 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599404313 C Ci:1:001:0 0 4 = 00010000

f5d45000 3599434309 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f5d45000 3599434344 C Ci:1:001:0 0 4 = 00010000
f5d45000 3599434377 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
f5d45000 3599434389 C Ci:2:001:0 0 4 = 01010000
f5d45000 3599434430 S Co:2:001:0 s 23 03 0004 0002 0000 0
f5d45000 3599434441 C Co:2:001:0 0 0

f1191f00 3599487659 S Ci:2:001:0 s a3 00 0000 0002 0004 4 <
f1191f00 3599487718 C Ci:2:001:0 0 4 = 03010000

f5d45000 3599541610 S Co:2:001:0 s 23 01 0014 0002 0000 0
f5d45000 3599541640 C Co:2:001:0 0 0
f5d45000 3599541691 S Ci:2:000:0 s 80 06 0100 0000 0040 64 <
f5d45000 3599545353 C Ci:2:000:0 0 8 = 12010002 09000008
So, now I am wondering if there is any way I can disable my Linux 1.1 foundation root hubs until after my external USB Hub gets enabled under high speed.

I found this:
Code:
 ls -al /sys/devices/pci0000:00/0000:00:1d.3/usb5/remove
--w------- 1 root root 4096 Apr 25 20:37 /sys/devices/pci0000:00/0000:00:1d.3/usb5/remove
echo 1 > /sys/devices/pci0000:00/0000:00:1d.3/usb5/remove
bash: echo: write error: Invalid argument
I am assuming that the remove file is there for the purpose I am asking about, since a similar ability is in the MS Windows Device manager.
But I could not find anywhere what valid argument is.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB HUB: Intel Rate Matching Hub issues nagi Linux - Hardware 0 01-04-2012 06:44 AM
USB 2.0 PCI hub recognized as USB MartinEindhoven Linux - Hardware 2 06-13-2008 03:35 AM
I got a USB hub, plugged it and my devices are not recognized Enkidux Linux - Newbie 8 04-09-2008 03:06 PM
Must unplug & replug hub to get flash drive recognized MaxLinux Linux - Hardware 2 06-25-2007 11:53 PM
usb port and usb hub dosent woke in suse 9.3 newpants2003 Linux - Newbie 1 06-13-2005 07:55 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration