USB Mass Storage: command size limits
USB Mass Storage: command size limits
- Subject: USB Mass Storage: command size limits
- From: "Andy Green" <email@hidden>
- Date: Thu, 26 Jun 2008 10:41:11 +0100
- Thread-topic: USB Mass Storage: command size limits
Why does the mac never send commands larger than 128kB to a USB mass
storage device?
I was wondering if I could tweak this for our USB device, which can
support bigger commands. However it looks like the traffic is limited by
IOBlockStorageDriver.
How could I change the behaviour of IOBlockStorageDriver? I can subclass
and instantiate IOBlockStorageServices from a custom LUN driver, but how
could I cause a subclass of IOBlockStorageDriver to be loaded for my
device?
Is that even the right way to do it? I did have a play with a subclass
of IOPeripheralDeviceType00, overriding ReportMaxBlocksReadTransfer(),
but that didn't seem to let me INCREASE the command size, only decrease
it.
Cheers,
Andy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden