mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lukas Hejtmanek <xhejtman@mail.muni.cz>
To: Greg KH <greg@kroah.com>
Cc: Matthias-Christian Ott <matthias.christian@tiscali.de>,
	linux-kernel@vger.kernel.org
Subject: Re: USB 2.0 Mass storage device
Date: Thu, 24 Feb 2005 22:38:53 +0100	[thread overview]
Message-ID: <20050224213853.GA8646@mail.muni.cz> (raw)
In-Reply-To: <20050224211512.GC24969@kroah.com>

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

  reply	other threads:[~2005-02-24 21:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 17:59 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 [this message]
2005-02-24 21:48                     ` Jason Munro
2005-02-24 18:23 ` Matthias-Christian Ott
2005-02-24 18:26   ` Lukas Hejtmanek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050224213853.GA8646@mail.muni.cz \
    --to=xhejtman@mail.muni.cz \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthias.christian@tiscali.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®