On Sat, Mar 03, 2001 at 06:01:20PM -0800, Matthew Dharm wrote:
> On Sat, Mar 03, 2001 at 06:03:49PM -0600, [EMAIL PROTECTED] wrote:
> > There was some discussion on this digital camera a few months back, but
> > I haven't seen anything since.  The last message was from Steve Kann and
> > included some instructions on the fix he proposed.  Thanks Steve, the
> > first part works.  Here is my implementation, it's not great, but it
> > works.  
> This is _way_ to device specific.

#include <stddisclaim/newbie.h>

There seems to be quite a bit of code that is device specific here.  I
thought the code added some rather general functionality with one
specific device using it.  I'm definately willing to fit the
functionality into a more general interface.

> We have the strings in the unusual device structure for just this reason.
> A better fix would be to have a scsiglue.c function which could turn these
> strings into an INQUIRY response, based on a flag set in the flag field.

The vendor and product strings are there.  There isn't anything to set
the device type (unless I'm not current on the code).  There is a
function in usb.c called fill_inquiry_response() that uses those
strings, but that function is only used in the sddr09 driver.  Maybe
that needs to be used elsewhere and expanded.  

I'll dive into the code a little more and get back to you.

Nate

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to