3 ms·
You are right that iOS has no native OS support for USB storage devices - precisely because Apple restricts access to them via MFI. i.e. as a storage accessory
by writepub 8y ago
You are right that iOS has no native OS support for USB storage devices - precisely because Apple restricts access to them via MFI.
i.e. as a storage accessory manufacturer, you need to add an MFI DRM chipset and pass MFI certification for Apple to allow a USB link with iOS. Here [1] are a scores of iOS USB flash drives (over lightning), all communicating with iOS via the USB 2.0 bulk storage protocol, after DRM-passing via the MFI chip they are forced to include in their hardware. Further - you are right that iOS doesn't support USB mass storage at the kernel layer - the accessory manufacturer is forced to write a user-space driver within the app advertised for said accessory.
The iPad Pro doesn't work out of the box with over the shelf USB-C storage accessories because:
1. iOS has disabled USB mass storage at the kernel level to enforce DRM via the MFI program
2. Since off-the-shelf USB-C storage devices are unlikely to have added a $X MFI chip to their accessory, Apple's DRM simply blocks a USB 2.0 link from being established.
So - in conclusion, USB Mass storage - a feature widely available in mobile, and desktop computing since the dawn of the spec has been crippled by Apple on purpose to milk money
[1]: https://www.google.com/search?biw=1680&bih=939&tbm=shop&ei=bWzjW_G7IYXc0gL7jLa4DQ&q=iphone+flash+drive&oq=iphone+flash+drive&gs_l=psy-ab.3..0l6.17466.23062.0.23199.26.12.5.9.10.0.168.926.10j2.12.0....0...1c.1.64.psy-ab..0.25.863...0i10k1j0i13k1.0.vatn_BIUPiU https://www.google.com/search?biw=1680&bih=939&tbm=shop&ei=b...
- eridius 8y agoThe fact that iOS does not have support for generic storage devices has nothing to do with MFi. I do not understand why you think it does. It has everything to do with the fact that iOS simply never implemented support for them. Prior to the Files app existing it didn't make sense to support (because there would be no way to expose it), and Apple never added support after creating the Files app. > i.e. as a storage accessory manufacturer, you need to add an MFI DRM chipset and pass MFI certification for Apple to allow a USB link with iOS. How do you explain all of the previously-listed generic USB accessories working when plugged in via the Camera Adapter, given that they don't have MFi chips? All of the "USB flash drives" you listed aren't using a USB connector, they're using a Lightning connector. The use of the Lightning connector is what requires MFi. In theory[1], a third-party app could implement support for an actual generic USB flash drive plugged in via the Camera Adapter. And if Apple implemented OS-level support for USB storage devices, overnight all generic USB storage devices would start working with the Camera Adapter, without any MFi chips. > So - in conclusion, USB Mass storage - a feature widely available in mobile, and desktop computing since the dawn of the spec has been crippled by Apple on purpose to milk money If the purpose was to extract MFi licensing fees, Apple would have implemented support for attached storage in either the OS or the Files app and simply required the MFi chip. That would have allowed a third-party ecosystem of attached storage for iOS to exist. But Apple hasn't done either of these things, and until your link, I literally had no idea anyone even bothered to make flash drives with lightning connectors (given that this requires the use of a custom third-party app to use). I'm actually quite curious what happens if you use the USB connector on one of those drives, plugged in via the Camera Adapter, with the relevant third-party app. USB mass storage doesn't exist on iOS because, prior to the Files app existing, there was no exposed concept of a user-accessible filesystem and therefore no way to expose the USB mass storage to the user. Since the introduction of the Files app, it would be quite nice if Apple were to support USB mass storage as a location in Files, but it seems they never thought it was worth doing (probably in no small part due to the need for the Camera Adapter to even plug in a USB storage device; now that we have a USB-C iPad the argument is stronger for adding support to Files for this). This restriction is entirely a consequence of Apple's reluctance to have a user-visible filesystem and not related to the MFi program. [1] I say "in theory" because I don't actually know if the appropriate APIs for talking to generic USB devices plugged in via the Camera Adapter are available for use by third parties. I'm not sure what those APIs would be (having never implemented a USB driver myself) so I don't know what to search for. It is of course possible that Apple has restricted the ability for third-party apps to talk to arbitrary non-OS-supported accessories to the MFi program, but the ability for third-party apps to implement support for arbitrary accessories isn't really the point of contention here.
- eridius 8y agoFWIW I just filed a bug report with Apple requesting that Files support USB mass storage drives (rdar://problem/45899522). If you want to see this supported, I suggest you file your own report requesting this.
- writepub 8y agoThis appalling lack of information regarding MFI DRM in the open is exactly the kind of secrecy Apple thrives on!! There's no way for anyone privy to the program to convince outsiders without breaking NDAs. Try dealing with an army of Apple fanboys with that restriction! Although Apple FULLY supports the USB 2 protocol standard over lightning, it limits access via the MFI program - an inherent DRM. Think app store approval replete with 30% tax simply to allow your app (USB Mass storage) to function on an iDevice, enforced at the electronics layer. The lightning accessory market is over a billion dollars in size and your bug report will change nothing! It's like filing a bug report to remove the app store approval process. If you have a friend within Apple, please, please go ask them to confirm my claim. Please, please do your due diligence
- writepub 8y agoYou keep thinking lightning is different from USB. Lightning is a physical form factor, not a protocol. Also, nothing in Apple's MFI DRM limits it to the lightning form factor as the electrical signals are identical to USB, even USB-C like the iPad pro Lighting, in the USB mode, has ZERO differences compared to any other USB 2.0 bus - they have [D+, D-, VCC, GND] signals, and when you plugin a USB protocol analyser/ bus sniffer, you can see USB packets go back and forth on the bus. (This is publicly available information, which I can share without breaking Apple NDAs). The only addition is DRM (termed MFI authentication). Apple limits USB Mass storage to the MFI program - this is a well known, publicly documented fact!! I simply cannot reveal ANY FURTHER technical details, because of NDA restrictions. If you don't believe me, go and apply to the MFI program[1], and READ THE OFFICIAL APPLE spec for DRM OVER USB. Or ask a friend within Apple More specifically, Apple's DRM over USB is officially termed "IAP2" (for USB) [2] details of which are only available through the MFI program with an NDA. [1]: https://developer.apple.com/programs/mfi/ https://developer.apple.com/programs/mfi/ [2]: page 96 of https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf https://developer.apple.com/accessories/Accessory-Design-Gui...