Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: Re: Stranges disconnections (and reconnections) in USB mode with one of my USB ports.

Re: Re: Stranges disconnections (and reconnections) in USB mode with one of my USB ports.

From: Mike Holden <rockbox_at_mikeholden.uklinux.net>
Date: Thu, 31 Jul 2003 17:41:41 +0100 (BST)

Michael OQuinn said:
> On Thu, 26 Jun 2003, Pipo wrote:
>
>>
>> Well, The transfert rate with my redhat are around 1mo/s :-(.
>> That's why i think i'm not in USB2 mode.
>> But, i have the USB 2 hardware, i'm sure. How, do you know if
>> USB2
>> mode is enabled under Linux ? Is there a log file for the USB init
>> (different than /var/log/message, because i didn't notice something
>> interresting) ?
>
> Try "cat /proc/bus/usb/devices". I don't have USB 2.0, so I can't tell
> you what exactly to look for, but maybe it'll be obvious, or perhaps
> someone else on the list can tell if you post the results. Also try
> "/proc/bus/usb/drivers".

Following is the output from my computer for the commands posted earlier.
As you can see from the first entry, the "Product=" line shows USB 2.0.
Also the Spd= in the first Bus= line may show the USB2 speed? The driver
is ehci-hcd as shown in the "Manufacturer=" line. The first entry is the
USB2 PCI card.

The second entry is the Archos one, and this also shows USB2, although
this is simply a model name inserted by Archos.

The computer has a built in USB1.1 port, and this can be seen to have a
Spd=12 entry.

The later entries are sound and video for the Phillips Webcam, and are not
of interest here, unless you want to see pictures of me washing my bike in
the back yard earlier today!

It looks like the Spd= entry is the useful part, as the Product= entries
are created by the hardware manufacturer to say what they are, rather than
what you actually see. You will need to have the ehci-hcd driver installed
to get USB2 regardless of your hardware.

[root_at_aslan root]# cat /proc/bus/usb/devices
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 5
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.19-24mdk ehci-hcd
S: Product=NEC Corporation USB 2.0
S: SerialNumber=00:14.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 38 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=05ab ProdID=0060 Rev=11.01
S: Manufacturer=ARCHOS
S: Product=ARCHOS USB2.0 (P4a)
S: SerialNumber=wwww.archos.comA
C:* #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=32ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=122/900 us (14%), #Int= 0, #Iso= 2
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=ef80
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=08b0 Rev= 0.00
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 196 Ivl=1ms
I: If#= 0 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 292 Ivl=1ms
I: If#= 0 Alt= 3 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 448 Ivl=1ms
I: If#= 0 Alt= 4 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 592 Ivl=1ms
I: If#= 0 Alt= 5 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 704 Ivl=1ms
I: If#= 0 Alt= 6 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 776 Ivl=1ms
I: If#= 0 Alt= 7 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 840 Ivl=1ms
I: If#= 0 Alt= 8 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
I: If#= 0 Alt= 9 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
I: If#= 0 Alt=10 #EPs= 2 Cls=0a(data ) Sub=ff Prot=00 Driver=Philips webcam
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=100ms
E: Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I: If#= 2 Alt= 0 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=84(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=84(I) Atr=01(Isoc) MxPS= 90 Ivl=1ms
I: If#= 2 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=84(I) Atr=01(Isoc) MxPS= 46 Ivl=1ms
I: If#= 2 Alt= 3 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=84(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms
I: If#= 2 Alt= 4 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=84(I) Atr=01(Isoc) MxPS= 16 Ivl=1ms


[root_at_aslan root]# cat /proc/bus/usb/drivers
         usbdevfs
         hub
         Philips webcam
         usb-storage

-- 
Mike Holden
Rockbox page: http://www.mikeholden.org/~rockbox
Received on 2003-07-31

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy