All of lore.kernel.org
 help / color / mirror / Atom feed
* USB 2.0 Mass storage device
@ 2005-02-24 17:59 Lukas Hejtmanek
  2005-02-24 18:13 ` Greg KH
  2005-02-24 18:23 ` Matthias-Christian Ott
  0 siblings, 2 replies; 14+ messages in thread
From: Lukas Hejtmanek @ 2005-02-24 17:59 UTC (permalink / raw)
  To: linux-kernel

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.

-- 
Lukáš Hejtmánek

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 17:59 USB 2.0 Mass storage device Lukas Hejtmanek
@ 2005-02-24 18:13 ` Greg KH
  2005-02-24 18:23   ` Lukas Hejtmanek
  2005-02-24 18:23 ` Matthias-Christian Ott
  1 sibling, 1 reply; 14+ messages in thread
From: Greg KH @ 2005-02-24 18:13 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 06:59:18PM +0100, Lukas Hejtmanek wrote:
> 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 18:13 ` Greg KH
@ 2005-02-24 18:23   ` Lukas Hejtmanek
  2005-02-24 18:49     ` Greg KH
  0 siblings, 1 reply; 14+ messages in thread
From: Lukas Hejtmanek @ 2005-02-24 18:23 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 10:13:47AM -0800, Greg KH wrote:
> 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?

-- 
Lukáš Hejtmánek

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 17:59 USB 2.0 Mass storage device Lukas Hejtmanek
  2005-02-24 18:13 ` Greg KH
@ 2005-02-24 18:23 ` Matthias-Christian Ott
  2005-02-24 18:26   ` Lukas Hejtmanek
  1 sibling, 1 reply; 14+ messages in thread
From: Matthias-Christian Ott @ 2005-02-24 18:23 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: linux-kernel

Lukas Hejtmanek wrote:

>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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 18:23 ` Matthias-Christian Ott
@ 2005-02-24 18:26   ` Lukas Hejtmanek
  0 siblings, 0 replies; 14+ messages in thread
From: Lukas Hejtmanek @ 2005-02-24 18:26 UTC (permalink / raw)
  To: Matthias-Christian Ott; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 07:23:45PM +0100, Matthias-Christian Ott wrote:
> 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.

-- 
Lukáš Hejtmánek

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 18:23   ` Lukas Hejtmanek
@ 2005-02-24 18:49     ` Greg KH
  2005-02-24 19:05       ` Lukas Hejtmanek
  0 siblings, 1 reply; 14+ messages in thread
From: Greg KH @ 2005-02-24 18:49 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 07:23:00PM +0100, Lukas Hejtmanek wrote:
> On Thu, Feb 24, 2005 at 10:13:47AM -0800, Greg KH wrote:
> > 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 18:49     ` Greg KH
@ 2005-02-24 19:05       ` Lukas Hejtmanek
  2005-02-24 19:12         ` Greg KH
  0 siblings, 1 reply; 14+ messages in thread
From: Lukas Hejtmanek @ 2005-02-24 19:05 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 10:49:28AM -0800, Greg KH wrote:
> > 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?

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

-- 
Lukáš Hejtmánek

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 19:05       ` Lukas Hejtmanek
@ 2005-02-24 19:12         ` Greg KH
  2005-02-24 19:18           ` Lukas Hejtmanek
  0 siblings, 1 reply; 14+ messages in thread
From: Greg KH @ 2005-02-24 19:12 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 08:05:48PM +0100, Lukas Hejtmanek wrote:
> On Thu, Feb 24, 2005 at 10:49:28AM -0800, Greg KH wrote:
> > > 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?
> 
> 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 19:12         ` Greg KH
@ 2005-02-24 19:18           ` Lukas Hejtmanek
  2005-02-24 19:22             ` Greg KH
  0 siblings, 1 reply; 14+ messages in thread
From: Lukas Hejtmanek @ 2005-02-24 19:18 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 11:12:43AM -0800, Greg KH wrote:
> > 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?

-- 
Lukáš Hejtmánek

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 19:18           ` Lukas Hejtmanek
@ 2005-02-24 19:22             ` Greg KH
  2005-02-24 20:10               ` Matthias-Christian Ott
  0 siblings, 1 reply; 14+ messages in thread
From: Greg KH @ 2005-02-24 19:22 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: linux-kernel

On Thu, Feb 24, 2005 at 08:18:09PM +0100, Lukas Hejtmanek wrote:
> On Thu, Feb 24, 2005 at 11:12:43AM -0800, Greg KH wrote:
> > > 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 19:22             ` Greg KH
@ 2005-02-24 20:10               ` Matthias-Christian Ott
  2005-02-24 21:15                 ` Greg KH
  0 siblings, 1 reply; 14+ messages in thread
From: Matthias-Christian Ott @ 2005-02-24 20:10 UTC (permalink / raw)
  To: Greg KH; +Cc: Lukas Hejtmanek, linux-kernel

Greg KH wrote:

>On Thu, Feb 24, 2005 at 08:18:09PM +0100, Lukas Hejtmanek wrote:
>  
>
>>On Thu, Feb 24, 2005 at 11:12:43AM -0800, Greg KH wrote:
>>    
>>
>>>>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
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 20:10               ` Matthias-Christian Ott
@ 2005-02-24 21:15                 ` Greg KH
  2005-02-24 21:38                   ` Lukas Hejtmanek
  0 siblings, 1 reply; 14+ messages in thread
From: Greg KH @ 2005-02-24 21:15 UTC (permalink / raw)
  To: Matthias-Christian Ott; +Cc: Lukas Hejtmanek, linux-kernel

On Thu, Feb 24, 2005 at 09:10:25PM +0100, Matthias-Christian Ott wrote:
> 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 21:15                 ` Greg KH
@ 2005-02-24 21:38                   ` Lukas Hejtmanek
  2005-02-24 21:48                     ` Jason Munro
  0 siblings, 1 reply; 14+ messages in thread
From: Lukas Hejtmanek @ 2005-02-24 21:38 UTC (permalink / raw)
  To: Greg KH; +Cc: Matthias-Christian Ott, linux-kernel

On Thu, Feb 24, 2005 at 01:15:12PM -0800, Greg KH wrote:
> 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.

-- 
Lukáš Hejtmánek

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: USB 2.0 Mass storage device
  2005-02-24 21:38                   ` Lukas Hejtmanek
@ 2005-02-24 21:48                     ` Jason Munro
  0 siblings, 0 replies; 14+ messages in thread
From: Jason Munro @ 2005-02-24 21:48 UTC (permalink / raw)
  To: Lukas Hejtmanek; +Cc: matthias.christian, linux-kernel, greg

On 3:38:53 pm 02/24/05 Lukas Hejtmanek <xhejtman@mail.muni.cz> 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
>
> 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
 \__ jason@stdbev.com
  \__ http://hastymail.sourceforge.net/


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-02-24 21:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-24 17:59 USB 2.0 Mass storage device Lukas Hejtmanek
2005-02-24 18:13 ` Greg KH
2005-02-24 18:23   ` Lukas Hejtmanek
2005-02-24 18:49     ` Greg KH
2005-02-24 19:05       ` Lukas Hejtmanek
2005-02-24 19:12         ` Greg KH
2005-02-24 19:18           ` Lukas Hejtmanek
2005-02-24 19:22             ` Greg KH
2005-02-24 20:10               ` Matthias-Christian Ott
2005-02-24 21:15                 ` Greg KH
2005-02-24 21:38                   ` Lukas Hejtmanek
2005-02-24 21:48                     ` Jason Munro
2005-02-24 18:23 ` Matthias-Christian Ott
2005-02-24 18:26   ` Lukas Hejtmanek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.