dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Developping drivers for G Mini 120?

Re: Developping drivers for G Mini 120?

From: Björn Stenberg <>
Date: Thu, 3 Jun 2004 19:04:43 +0200

AMORE Rosaire wrote:
> but when connected, can't see the reader

Look in your /proc/bus/usb/devices file.

It should look something like this:

T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=05ab ProdID=0031 Rev= 1.00
S: Manufacturer=In-System Design
S: Product=USB Storage Adapter
S: SerialNumber=842C72F18502876E
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl= 32ms

The 'D' line tells you what communication protocol the device is using. The above example shows that the device is using a vendor-specific class and protocol (ff).

The standard USB storage class is number 8. Your 'D' line should say "Cls=08(stor.)".

Received on 2004-06-03

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