On Fri, 2 Dec 2005, Timothy Thelin wrote:

> > The sense buffer length is yet another quantity that ought to 
> > have an SG 
> > passthru but doesn't.
> > 
> 
> SG_IO provides a field that allows the application to dictate
> the maximum sense buffer length to be passed back.  Could this
> field also mean the "expected" length and somehow its meaning
> is passed through the scsi system so that usb-storage can use
> that as the length?  So if the value isn't available, it
> defaults to 18, but if the application "knows better" it can
> basically tell usb-storage (or any other backend) to use a
> different length?

Like I said, these values should have an SG passthru but they don't.  The
mx_sb_len value you give to the sg driver doesn't get past it.  In
particular, it's not sent to usb-storage.

Alan Stern



-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to