[EMAIL PROTECTED] wrote:
> 
> Here is a patch for usb-storage that approaches the problem
> like this:
> 
> - Submit a 36-byte INQUIRY.
> - Check additional length in response.
> - If the device tells us it provides more than 36 bytes,
>   INQUIRY again, setting the length to the number of bytes
>   the device promises to deliver.
> 
> I don't understand why this shoudn't be possible in the
> SCSI layer proper. The only problem I can see is a broken device
> that violates the specs by truncating the additonal length
> parameter to the buffer length provided. Other than that,

I have the documentation from a scanner vendor which indicates exactly
this broken behaviour.

> User space or upper level drivers would always see as much information as the
> device can present.

Abel

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

Reply via email to