Skip to contentSkip to conversation

USB 2.0 Mass storage device

DISCUSSION Lukas Hejtmanek 4 participants 14 messages Feb 24, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I have a new MSI Mega Stick 511 USB 2.0 Mass storage device. In my laptop I have USB 2.0 port (Acer TM242), when I connect device, only uhci_hcd driver detect device. Does anyone have some suggestions? Thanks.

Signature · 1 line
Lukáš Hejtmánek
#1 lore raw
Quoted 5 lines · Lukas Hejtmanek

Hello,

I have a new MSI Mega Stick 511 USB 2.0 Mass storage device. In my laptop I have USB 2.0 port (Acer TM242), when I connect device, only uhci_hcd driver detect device. Does anyone have some suggestions? Thanks.

Is the ehci-hcd driver loaded? And is your device a high speed one? USB 2.0 support does not mean that it actually goes at high speeds, I have a USB 2.0 "compliant" low speed USB keyboard here :)

thanks,

greg k-h

#2 lore raw
Quoted 3 lines · Greg KH

Is the ehci-hcd driver loaded? And is your device a high speed one? USB 2.0 support does not mean that it actually goes at high speeds, I have a USB 2.0 "compliant" low speed USB keyboard here :)

Yes, ehci-hcd driver is loaded. (kernel is 2.6.11-rc3-bk4)

This is the device:
http://www.msi.com.tw/program/support/download/dld/spt_dld_detail.php?UID=607&kind=6

Btw, I thought, that ehci-hcd driver handles both usb 2.0 and 1.1. Does it?

Signature · 1 line
Lukáš Hejtmánek
#3 lore raw
Quoted 11 lines · Lukas Hejtmanek
Quoted 3 lines · Greg KH

Is the ehci-hcd driver loaded? And is your device a high speed one? USB 2.0 support does not mean that it actually goes at high speeds, I have a USB 2.0 "compliant" low speed USB keyboard here :)

Yes, ehci-hcd driver is loaded. (kernel is 2.6.11-rc3-bk4)

This is the device:
http://www.msi.com.tw/program/support/download/dld/spt_dld_detail.php?UID=607&kind=6

Btw, I thought, that ehci-hcd driver handles both usb 2.0 and 1.1. Does it?

No, it hands off the usb 1.1 devices to the usb 1 core inside it. This is either uhci or ohci, depending on your controller chip.

Unless you put a USB 2.0 hub in front of a usb 1.1 device, then it gets more complicated, but we'll just ignore that issue for now...

What does /proc/bus/usb/devices show for this device?

thanks,

greg k-h

#4 lore raw
Quoted 5 lines · Greg KH
Quoted 4 lines

This is the device:
http://www.msi.com.tw/program/support/download/dld/spt_dld_detail.php?UID=607&kind=6

Btw, I thought, that ehci-hcd driver handles both usb 2.0 and 1.1. Does it?

Quoted 7 lines

No, it hands off the usb 1.1 devices to the usb 1 core inside it. This is either uhci or ohci, depending on your controller chip.

Unless you put a USB 2.0 hub in front of a usb 1.1 device, then it gets more complicated, but we'll just ignore that issue for now...

What does /proc/bus/usb/devices show for this device?

When connected through uhci-hcd:

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1462 ProdID=5511 Rev=10.01
S:  Manufacturer=MSI
S:  Product=MEGA Player 5511
S:  SerialNumber=23DE7394D6198090
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
Signature · 1 line
Lukáš Hejtmánek
#5 lore raw
Quoted 9 lines · Lukas Hejtmanek
Quoted 8 lines · Greg KH
Quoted 4 lines

This is the device:
http://www.msi.com.tw/program/support/download/dld/spt_dld_detail.php?UID=607&kind=6

Btw, I thought, that ehci-hcd driver handles both usb 2.0 and 1.1. Does it?

No, it hands off the usb 1.1 devices to the usb 1 core inside it. This is either uhci or ohci, depending on your controller chip.

Quoted 7 lines
Quoted 4 lines

Unless you put a USB 2.0 hub in front of a usb 1.1 device, then it gets more complicated, but we'll just ignore that issue for now...

What does /proc/bus/usb/devices show for this device?

When connected through uhci-hcd:
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0

Your device is only reporting that it can go at 12Mbit (full speed, not 480Mbit, which is high speed.)

So it's working properly, but not labeled clearly on the box. We've seen this a lot, you are not alone in your confusion.

I suggest you return it and get a better device.

thanks,

greg k-h

#6 lore raw
Quoted 5 lines · Greg KH
Quoted 2 lines

When connected through uhci-hcd:
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0

Your device is only reporting that it can go at 12Mbit (full speed, not 480Mbit, which is high speed.)

Is this independent of used driver?

Signature · 1 line
Lukáš Hejtmánek
#7 lore raw
Quoted 8 lines · Lukas Hejtmanek
Quoted 5 lines · Greg KH
Quoted 2 lines

When connected through uhci-hcd:
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0

Your device is only reporting that it can go at 12Mbit (full speed, not 480Mbit, which is high speed.)

Is this independent of used driver?

Yes, this is read from the descriptor of the device.

thanks,

greg k-h

#8 lore raw
Quoted 20 lines · Greg KH
Quoted 7 lines · Lukas Hejtmanek
Quoted 4 lines · Greg KH
Quoted 4 lines

When connected through uhci-hcd:
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0

Quoted 7 lines
Quoted 4 lines

Your device is only reporting that it can go at 12Mbit (full speed, not 480Mbit, which is high speed.)

Is this independent of used driver?

Yes, this is read from the descriptor of the device.

Quoted 11 lines

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

But why does the usb mass storage give this information to the usb driver? Shouldn't it report that it works with 480Mbit too?

Matthias-Christian Ott

#9 lore raw
Quoted 2 lines · Matthias-Christian Ott

But why does the usb mass storage give this information to the usb driver? Shouldn't it report that it works with 480Mbit too?

What do you mean? The usb-storage driver doesn't care at all what the speed is. Only the USB core and host controller drivers do.

And if you look at the raw descriptors, which is what is displayed in /proc/bus/usb/devices in human readable form, the device itself tells the computer what speed it supports. The host never tells the device what speed to run at.

Hope this helps,

greg k-h

#10 lore raw
Quoted 4 lines · Greg KH

And if you look at the raw descriptors, which is what is displayed in /proc/bus/usb/devices in human readable form, the device itself tells the computer what speed it supports. The host never tells the device what speed to run at.

I do not think so.

This is another device (Card reader) supporting USB 2.0.

In this case I used only uhci_hcd driver and it reports speed 12.

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05dc ProdID=b018 Rev= 1.28
S:  Manufacturer=Lexar Media
S:  Product=Multi-Card Reader
S:  SerialNumber=0000246504
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

In this case I used both ehci_hcd and uhci_hcd drivers (ehci detected device) and it reports speed 480.

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05dc ProdID=b018 Rev= 1.28
S:  Manufacturer=Lexar Media
S:  Product=Multi-Card Reader
S:  SerialNumber=0000246504
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

So for me it looks like it reports speed according to USB driver or negotiated speed.

Signature · 1 line
Lukáš Hejtmánek
#11 lore raw
Quoted 29 lines · On 3:38:53 pm 02/24/05 Lukas Hejtmanek <[email protected]> wrote:

This is another device (Card reader) supporting USB 2.0.

In this case I used only uhci_hcd driver and it reports speed 12.

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05dc ProdID=b018 Rev= 1.28
S:  Manufacturer=Lexar Media
S:  Product=Multi-Card Reader
S:  SerialNumber=0000246504
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

In this case I used both ehci_hcd and uhci_hcd drivers (ehci detected device) and it reports speed 480.

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05dc ProdID=b018 Rev= 1.28
S:  Manufacturer=Lexar Media
S:  Product=Multi-Card Reader
S:  SerialNumber=0000246504
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Quoted 2 lines

So for me it looks like it reports speed according to USB driver or negotiated speed.

Same here with a new Seagate external USB 2.0 drive. If plugged into my laptop which does not have USB 2.0 it shows 12 in /dev/bus/usb/devices, however on a machine with USB 2.0 support it changes to 480.

\__ Jason Munro
\__ [email protected]
\__ http://hastymail.sourceforge.net/

#12 lore raw
In reply to Lukas Hejtmanek
Quoted 8 lines · Lukas Hejtmanek

Hello,

I have a new MSI Mega Stick 511 USB 2.0 Mass storage device. In my laptop I have USB 2.0 port (Acer TM242), when I connect device, only uhci_hcd driver detect device. Does anyone have some suggestions? Thanks.

Hi!
Is hotplug enabled (it should detect it as a scsi generic mass storage)?

Matthias-Christian Ott

#13 lore raw
Quoted 1 line · Matthias-Christian Ott

Is hotplug enabled (it should detect it as a scsi generic mass storage)?

No, I detect device loading proper modules. With uhci-hcd it works perfectly except the speed. ehci-hcd does not detect it at all.

Signature · 1 line
Lukáš Hejtmánek