g_mass_storage & READ_CAPACITY(16)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alan,

it seems like newer versions of USB20CV will fail us on the MSC tests
unless we support READ_CAPACITY(16).

There is one detail though, looking at the sniffer, CBW comes as:

55 53 42 43 43 59 45 4C 00 00 00 00 00 00 0A 2F 00 00
00 00 00 00 00 80 00 00 00 00 00 00 00

so SCSI cmd opcode is set to 0x2f. Looking at scsi.h that's defined to
VERIFY:

89 #define WRITE_VERIFY          0x2e
90 #define VERIFY                0x2f
91 #define SEARCH_HIGH           0x30

I suppose this would be a Mass Storage quirk ? Any idea how to implement
READ CAPACITY 16 ? (yeah, haven't read SCSI spec yet, doing it now).

Any hints will be appreciated.

cheers

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux