A notable troubleshooting step that may be required for people that wish to attach Marvin and Calibre to each other – Calibre isn't smart enough to know what device it is supposed to be talking to for some reason, so if you have one or more iOS devices that are chiming in to iTunes on a Computer on your network due to their use of WiFi Sync being active?
That's gotta go away before Calibre can reliably do anything with Marvin or anything else that talks to iTunes for that matter. Attach all those devices with a cable and uncheck the Use WiFi Sync, because Calibre only kicks it oldschool and can only do it one at a time.
Next, if you still happen to get problems with attaching one device and activating Calibre mode in Marvin, it's probably because libimobiledevice is still hip to the fact that you've got all these other devices kicking around. You know that message you get the first time you attach asking you if you trust that computer? It shoves some data about that device into a Lockdown folder and libimobiledevice continues to know what devices it has permission to chat with even if you've disabled the WiFi sync to iTunes.
So your next step is your lockdown folder; on OS X that folder is in `/var/db/lockdown` and contains an index file and `plist` files for each device your computer knows about.
The files with reallylongnamesandnumbersandsutffwithanextensionof .plist contain information about your devices like certificates, escrow bags, HostID records and other unique identifiers. If you want to ensure there is no potential for crossover that gets Calibre to fixate on the wrong device for some reason, remove those files but leave `SystemConfiguration.plist` (I don't think it's interfering as it contains the base ID of the workstation itself and little more to be gleaned from it and other stuff like iTunes may want it to be there.)
Once you do all that and plugin your iOS device and tell it that you totally trust the computer you just hooked it up to, you can check on it in iTunes and what-have-you but then feel free to close iTunes and switch to Calibre from a freshly-run state and tell Marvin to connect to Calibre and if all goes according to plan the gates will open and reliable communication will be restored between these two parties.
I concur with the assessment and comments that this is hard to troubleshoot -- that sentiment is shared with me. Personally I'm of the opinion that the weakest link here is really Calibre but I am not suggesting there is anything I'd use that I like any better. Honestly if it weren't for purchases in Apple Bookstore et al being linked to App Store/AppleID rather than end-user iCloud accounts I wouldn't have even gone on this expedition though I'm happy with Marvin most times to not let Calibre's hackish approach to things get in the way of reading more books.
Hope this helps someone having similar difficulties with getting reliable connections to persist on their iOS devices.
|