On Sat, 11 Feb 2006, Jim McCloskey wrote:

> Thank you very much for your help.
> 
> * Matthew Dharm ([EMAIL PROTECTED]) wrote:
> 
>   |>  Is usb-storage loaded?
> 
> Only if I load it manually (but loading it manually doesn't change the
> behavior).
> 
>   |>  What driver is bound to the device (look in /proc/bus/usb/devices)?
> 
> None:
> 
> T:  Bus=05 Lev=01 Prnt=01 Port=00 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=0e21 ProdID=0520 Rev= 1.00
> S:  Manufacturer=Cowon Systems, Inc.
> S:  Product=iAUDIO M5
> S:  SerialNumber=100
> C:* #Ifs= 1 Cfg#= 2 Atr=80 MxPwr=498mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=06 Driver=(none)  <<<<<
> E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
> E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=32ms
> 
> The driver should be usb-storage, I think, yes?  

Yes.

> If I understand correctly, once the core usb driver detects and probes
> the new device, the kernel creates a device structure, including a
> modalias, and sends it to udev.  Udev is then supposed to call
> modprobe to load the needed module, the module loaded being determined
> on the basis of the modalias supplied by the kernel. Is that roughly
> correct?

Yes.

> If it is, then the problem would seem to lie somewhere in the process
> by which the kernel obtains information about the player or the player
> identifies itself to the kernel. Or is this reasoning screwy?

The reasoning is correct but the conclusion is wrong.  The process by 
which the kernel obtains the information is fine.  The problem is that the 
player is supplying the wrong information!  The Protocol value (Prot=) 
above should be 50, not 06.  At least, that's the most likely value.

If that's all that's wrong, this patch will fix the problem.

Alan Stern



Index: linux-2.6.16-rc2/drivers/usb/storage/unusual_devs.h
===================================================================
--- linux-2.6.16-rc2.orig/drivers/usb/storage/unusual_devs.h
+++ linux-2.6.16-rc2/drivers/usb/storage/unusual_devs.h
@@ -1085,6 +1085,13 @@ UNUSUAL_DEV(  0x0dda, 0x0301, 0x0012, 0x
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_IGNORE_RESIDUE ),
 
+/* Reported by Jim McCloskey <[EMAIL PROTECTED]> */
+UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
+               "Cowon Systems",
+               "iAUDIO M5",
+               US_SC_DEVICE, US_PR_BULK, NULL,
+               0 ),
+
 /* Submitted by Antoine Mairesse <[EMAIL PROTECTED]> */
 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
                "USB",



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to