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



Rockbox mail archive

Subject: Re: Developping drivers for G Mini 120?
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2004-06-03


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.)".

-- 
Björn
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa