Hi,
I saw this message:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg07062.html

and decided to try this:

--- drivers/usb/storage/usb.c.orig  2003-08-28 19:42:35.000000000 -0600
+++ drivers/usb/storage/usb.c       2003-08-28 19:42:44.000000000 -0600
@@ -952,7 +952,7 @@
               case US_SC_8020:
                       ss->protocol_name = "8020i";
                       ss->proto_handler = usb_stor_ATAPI_command;
-                       ss->max_lun = 0;
+                       ss->max_lun = 9;
                       break;

               case US_SC_QIC:

And when I reloaded the module, all of the LUNs showed up.  It was strange,
though.. I expected only 4 to show up and 8 showed up instead.  I don't have any
MMCs or memory sticks, but I was able to mount smart media without a hitch on
LUN 1, and CF still worked on LUN 0.  Will upping that max_lun goof up other
stuff that uses 8020i?  If so, is there a work-around that will allow us to up
it for this device only, and not for the others?  Also, assuming the last 4 LUNs
are bogus, can we set a max_lun just for this device to 3?  Since I know almost
nothing, about the kernel USB and SCSI stuff, I don't really know what to try. 
If someone has an idea about how to best work this multi LUN support in, please
send me a patch to try, or let me know what to change myself and I'll test it
out.  It'd be nice to get this device supported in the main tree since it seems
pretty trivial at this point.  At least now my wife will be happy since she can
get the pictures off the camera without rebooting into windows. :)
Thanks,
Joel Smith


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to