On Mon, 4 Oct 2004, Luca De Baptistis wrote: > On Mon, 2004-10-04 at 11:18 -0400, Alan Stern wrote: > > But first some questions for Luca: > > > > Why do you need this entry at all? What happens when your entry isn't in > > unusual_devs.h? > If the entry is not listed in unusual_devs.h, the system doesn't recognize the > device plugged, and there's no way to communicate with it. > > > Why did you use the US_FL_MODE_XLATE flag? It doesn't do anything under > > 2.6. > As i'm not an experienced developer and indeed a usb-storage guru, my intuition was > to preserve a compatibility for 2.4 kernel series. > > > Is the US_FL_FIX_INQUIRY flag really needed? > Omitting the US_FL_FIX_INQUIRY flag, it's like if driver gets confused and cannot > recognize the plugged device. > > > Why did you use US_SC_SCSI and US_PR_BULK instead of US_SC_DEVICE and > > US_PR_DEVICE? > As said before, mine was only a work-around to use that camera on my > linux box and of course it's not done in the best way. I tried to > analyze the other entries in unusual_devs.h to add this one for my > device. > > Of course the the right entry for the patch file is: > +/* Deduced and submitted by Luca De Baptistis <[EMAIL PROTECTED]> > > Anyway sorry for my English and sorry if you didn't understand what i > meant due to my poor English :) > > Regards, > Luca De Baptistis
There's a couple of experiments you can do which should help make things more clear. First, turn on the usb-storage verbose debugging option in the kernel configuration. Then try plugging in the camera and post the output from dmesg, showing the debugging messages. (Post it to the linux-usb-devel mailing list as well as to me or Phil.) Try doing this: without your unusual_devs entry, with the unusual_devs entry, and with the unusual_devs entry but with the FIX_INQUIRY flag removed. Thanks, Alan Stern ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel