• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
USB Mass Storage: command size limits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: USB Mass Storage: command size limits
      • From: Chris Sarcone <email@hidden>
    • Re: USB Mass Storage: command size limits
      • From: "Chas Williams (CONTRACTOR)" <email@hidden>
  • Prev by Date: Re: which set of C++ headers?
  • Next by Date: Re: USB Mass Storage: command size limits
  • Previous by thread: Re: which set of C++ headers?
  • Next by thread: Re: USB Mass Storage: command size limits
  • Index(es):
    • Date
    • Thread