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, User space or upper level drivers would always see as much information as the device can present. The patch applies to 2.4.17 and 2.5.2, others probably too. It may need some more error recovery work (don't know what happens if the initial INQUIRY fails). Regards, Martin
-- SMS zu teuer? 50 SMS aus dem E-Mail Office versenden - und das Monat fuer Monat! Dazu gibt es noch 100 MB Speicherplatz fuer die Mailbox, 700 MB virtuelle Festplatte und 50 Faxe pro Monat! Jetzt anmelden unter http://www.freenet.de/tipp/premium/index.html
usb-storage-INQUIRY.diff
Description: Binary data