Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2014, 10:23 PM   #301
Nancybny
Member
Nancybny began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Apr 2014
Device: marvin on ipad
Quote:
Originally Posted by ShellShock View Post
I have just discovered something that may be helpful to some people having problems getting Calibre talking to Marvin using the IOSRA plugin: if you have got more than one idevice (IPad/IPhone) on your wifi network, try powering off all your idevices except for the one you are trying to connect to over the usb cable. It seems the libimobiledevice library may detect idevices that are only connected by wifi and this confuses the IOSRA plugin, which expects that there is only one idevice connected (i.e., via usb). On my wifi network I have an old IPad 1 as well as the IPad mini 2 that I am trying to connect to via usb. If I power off my IPad 1, IOSRA connects fine to the IPad mini 2, but if the IPad 1 is powered up and on the wifi network, then IOSRA fails to initialise, because it detects the IPad 1, but fails to mount it as a usb device (it is not on usb, only wifi).
Waahoo!!! I powered down my iphone and FINALLY have been able to connect Marvin on my ipad mini to calibre on my laptop!! YAY!! Thanks so much ShellShock!!
Nancybny is offline   Reply With Quote
Old 11-25-2014, 09:25 PM   #302
Mr. Goodbar
Wizard
Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.
 
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
Quote:
Originally Posted by Mr. Goodbar View Post
Mine just started working as well. The only change between working and not working seems to be the latest update to Yosemite. Whatever the solution, I'm pleased.
Looks like I spoke too soon. It now works with my iphone 6 and mini, but still does not work with my ipad air 2. I've deleted ios reader and marvin plugins and all the associated preferences files, restarted and reinstalled. Still works with the 6 and the mini, but not the ipad air 2.

Is there somewhere in the code that it is looking for a specific device id or model number? Definitely something device specific with the air 2 and mini 3.
Mr. Goodbar is offline   Reply With Quote
Old 11-25-2014, 09:46 PM   #303
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Mr. Goodbar View Post
Looks like I spoke too soon. It now works with my iphone 6 and mini, but still does not work with my ipad air 2. I've deleted ios reader and marvin plugins and all the associated preferences files, restarted and reinstalled. Still works with the 6 and the mini, but not the ipad air 2.

Is there somewhere in the code that it is looking for a specific device id or model number? Definitely something device specific with the air 2 and mini 3.
Something strange going on here.

Quote:
Originally Posted by ShellShock View Post
I suspect there is a specific incompatibility problem with the IPad Air 2. Fundamentally, the developer support for Calibre + Marvin (via the plugins) is minimal, and for Air 2 is probably non-existent. If I had an Air 2 I would have a go at fixing this problem, but I don't so it looks like we're stuck, unless someone else steps up.
eschwartz is offline   Reply With Quote
Old 11-26-2014, 04:11 AM   #304
Valkrider
Addict
Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.Valkrider ought to be getting tired of karma fortunes by now.
 
Valkrider's Avatar
 
Posts: 316
Karma: 1250000
Join Date: Jan 2011
Location: UK
Device: Kobo Libra, iPadAir2, PRS600, iPhone 6, iPod, Palm TX
You are lucky I have never been able to get this plugin working Windows 7 64Bit and iPad & iPhone on iOS 7.
Valkrider is offline   Reply With Quote
Old 11-26-2014, 09:44 AM   #305
Mr. Goodbar
Wizard
Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.
 
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
Quote:
Originally Posted by eschwartz View Post
Something strange going on here.
It's very strange. Although I'm not a developer, most of my career has been in the software industry. Whatever is going on seems unique to the ipad air 2 and mini 3. I'm happy to help troubleshoot and test if anyone has any ideas. I keep coming back to whether the code is looking for specific device identifiers that may have changed with these devices.
Mr. Goodbar is offline   Reply With Quote
Old 11-26-2014, 10:16 AM   #306
hymie
Enthusiast
hymie began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Oct 2011
Device: iPhone
Linux help

I'm afraid I need some help. This used to work just fine, but I don't know exactly when it stopped or why.

Linux 3.12.14
Calibre 2.11
iPad Mini 2 (I think) with iOS 7.1.2 and Marvin 2.8.1

When I fire up Marvin, select the Calibre plugin, nothing (obvious) happens in my Calibre. No error message, no Marvin options.

Based on other things I've read, I removed both plugins, deleted the entire "plugins" directory, and reinstalled both plugins. My /var/log/messages file sees my iPad, and my "Debug Device Detection" tells me this:

Spoiler:

calibre 2.11 isfrozen: True is64bit: False
Linux-3.12.14-i686-AMD_Athlon-tm-_II_P340_Dual-Core_Processor-with-slackware-13.1.0 Linux ('32bit', 'ELF')
('Linux', '3.12.14', '#1 Tue Mar 18 12:18:41 EDT 2014')
Python 2.7.8
Linux: ('Slackware ', '13.1.0', '')
Successfully initialized third party plugins: Marvin XD && iOS reader applications
USB devices on system:
[['0x4f2', '0xb1aa', '0x5954', u'Chicony Corp.', u'HP Webcam-101', u''],
['0x5ac',
'0x12ab',
'0x404',
u'Apple Inc.',
u'iPad',
u'2ac23c254a1856b50235627da367e392e7dc14c9'],
['0xbda', '0x158', '0x5888', u'Generic', u'USB2.0-CRW', u'20071114173400000']]

No disabled plugins
Looking for devices of type: MTP_DEVICE
No MTP devices connected to system

Looking for devices...
USBDevice(busnum=2, devnum=20, vendor_id=0x05ac, product_id=0x12ab, bcd=0x0404, manufacturer=Apple Inc., product=iPad, serial=2ac23c254a1856b50235627da367e392e7dc14c9)

Devices possibly connected: None


And my Calibre debug log

Spoiler:

calibre Debug log
calibre 2.11 isfrozen: True is64bit: False
Linux-3.12.14-i686-AMD_Athlon-tm-_II_P340_Dual-Core_Processor-with-slackware-13.1.0 Linux ('32bit', 'ELF')
('Linux', '3.12.14', '#1 Tue Mar 18 12:18:41 EDT 2014')
Python 2.7.8
Linux: ('Slackware ', '13.1.0', '')
DEBUG: 0.0 iOSReaderApp:initialize(v1.4.4)
DEBUG: 0.0 iOSReaderApp:compile_ui()
DEBUG: 0.1 iOSReaderApp:_init_prefs(prefs created under v1.4.4)
DEBUG: 0.1 debug_libimobiledevice: True
DEBUG: 0.1 debug_plugin: True
DEBUG: 0.1 development_mode: False
DEBUG: 0.1 device_booklist_cache_limit: 10
DEBUG: 0.1 device_booklist_caching: False
DEBUG: 0.1 kindle_enabled_formats: [u'MOBI', u'PDF']
DEBUG: 0.1 kindle_supported_formats: [u'MOBI', u'PDF']
DEBUG: 0.1 marvin_edit_collections_cb: True
DEBUG: 0.1 marvin_protect_rb: False
DEBUG: 0.1 marvin_replace_rb: True
DEBUG: 0.1 marvin_update_rb: False
DEBUG: 0.1 plugin_diagnostics: True
DEBUG: 0.1 preferred_reader_app: u'Marvin'
DEBUG: 0.1 libiMobileDevice:__init__()
DEBUG: 0.1 libiMobileDevice:load_library(linux)
DEBUG: 0.1 libimobiledevice loaded from 'libimobiledevice.so.4'
DEBUG: 0.1 libplist loaded from 'libplist.so.2'
DEBUG: 0.1 iOSReaderApp:_get_connected_device_info()
DEBUG: 0.1 libiMobileDevice:get_device_list()
DEBUG: 0.1 libiMobileDevice:_idevice_get_device_list()
DEBUG: 0.1 no connected devices
DEBUG: 0.1 No connected iDevices
Successfully initialized third party plugins: Marvin XD && iOS reader applications
Failed to read metadata from font file: /usr/X11/lib/X11/fonts/TTF/TrebuchetMS.ttf [Errno 13] Permission denied: u'/usr/X11/lib/X11/fonts/TTF/TrebuchetMS.ttf'
Failed to read metadata from font file: /usr/X11/lib/X11/fonts/TTF/TrebuchetMS.ttf [Errno 13] Permission denied: u'/usr/X11/lib/X11/fonts/TTF/TrebuchetMS.ttf'
Starting up...
DEBUG: 2.2 MarvinManagerAction:genesis(v1.2.4)
DEBUG: 2.2 MarvinManagerAction:init_options()
DEBUG: 2.2 AnnotationsDB:connect(db_version: 1)
DEBUG: 2.2 MarvinManagerAction:inflate_dialog_resources()
DEBUG: 2.3 MarvinManagerAction:compile_ui()
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
DEBUG: 3.6 iOSReaderApp:startup()
DEBUG: 3.6 iOSReaderApp:_dump_installed_plugins()
DEBUG: 3.6 plugin author version
DEBUG: 3.6 --------- --------------- -----
DEBUG: 3.6 Marvin XD Wulf C. Krueger 1.2.4
DEBUG: 3.6 --------- --------------- -----
DEBUG: 3.6 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 3.6 iOSReaderApp:_get_connected_device_info()
DEBUG: 3.6 libiMobileDevice:get_device_list()
DEBUG: 3.6 libiMobileDevice:_idevice_get_device_list()
DEBUG: 3.6 no connected devices
DEBUG: 3.6 No connected iDevices
DEBUG: 3.9 MarvinManagerAction:rebuild_menus()
DEBUG: 3.9 Marvin not connected
DEBUG: 5.6 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 5.6 iOSReaderApp:_get_connected_device_info()
DEBUG: 5.6 libiMobileDevice:get_device_list()
DEBUG: 5.6 libiMobileDevice:_idevice_get_device_list()
DEBUG: 5.6 no connected devices
DEBUG: 5.6 No connected iDevices
DEBUG: 7.6 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 7.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 7.7 libiMobileDevice:get_device_list()
DEBUG: 7.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 7.7 no connected devices
DEBUG: 7.7 No connected iDevices
Started up in 8.81 seconds with 134 books
DEBUG: 9.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 9.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 9.7 libiMobileDevice:get_device_list()
DEBUG: 9.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 9.7 no connected devices
DEBUG: 9.7 No connected iDevices
DEBUG: 11.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 11.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 11.7 libiMobileDevice:get_device_list()
DEBUG: 11.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 11.7 no connected devices
DEBUG: 11.7 No connected iDevices
DEBUG: 13.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 13.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 13.7 libiMobileDevice:get_device_list()
DEBUG: 13.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 13.7 no connected devices
DEBUG: 13.7 No connected iDevices
DEBUG: 15.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 15.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 15.7 libiMobileDevice:get_device_list()
DEBUG: 15.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 15.7 no connected devices
DEBUG: 15.7 No connected iDevices
DEBUG: 17.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 17.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 17.7 libiMobileDevice:get_device_list()
DEBUG: 17.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 17.7 no connected devices
DEBUG: 17.7 No connected iDevices
DEBUG: 19.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 19.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 19.7 libiMobileDevice:get_device_list()
DEBUG: 19.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 19.7 no connected devices
DEBUG: 19.7 No connected iDevices
DEBUG: 21.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 21.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 21.7 libiMobileDevice:get_device_list()
DEBUG: 21.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 21.7 no connected devices
DEBUG: 21.7 No connected iDevices
DEBUG: 23.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 23.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 23.7 libiMobileDevice:get_device_list()
DEBUG: 23.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 23.7 no connected devices
DEBUG: 23.7 No connected iDevices
DEBUG: 25.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 25.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 25.7 libiMobileDevice:get_device_list()
DEBUG: 25.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 25.7 no connected devices
DEBUG: 25.7 No connected iDevices
DEBUG: 27.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 27.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 27.7 libiMobileDevice:get_device_list()
DEBUG: 27.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 27.7 no connected devices
DEBUG: 27.7 No connected iDevices
DEBUG: 29.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 29.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 29.7 libiMobileDevice:get_device_list()
DEBUG: 29.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 29.7 no connected devices
DEBUG: 29.7 No connected iDevices
DEBUG: 31.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 31.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 31.7 libiMobileDevice:get_device_list()
DEBUG: 31.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 31.7 no connected devices
DEBUG: 31.7 No connected iDevices
DEBUG: 33.5 MarvinManagerAction:shutting_down()
/usr/bin/google-chrome: symbol lookup error: /usr/bin/google-chrome: undefined symbol: _XGetRequest
DEBUG: 33.7 iOSReaderApp:can_handle(overlays_loaded: False)
DEBUG: 33.7 iOSReaderApp:_get_connected_device_info()
DEBUG: 33.7 libiMobileDevice:get_device_list()
DEBUG: 33.7 libiMobileDevice:_idevice_get_device_list()
DEBUG: 33.7 no connected devices
DEBUG: 33.7 No connected iDevices
/opt/calibre/lib/python2.7/site-packages/cherrypy/process/wspbus.py:225: RuntimeWarning: The main thread is exiting, but the Bus is in the states.STARTED state; shutting it down automatically now. You must either call bus.block() after start(), or call bus.exit() before the main thread exits.
Traceback (most recent call last):
File "site-packages/calibre/utils/Zeroconf.py", line 884, in run
File "site-packages/calibre/utils/Zeroconf.py", line 929, in handle_read
File "socket.py", line 170, in _dummy
error: [Errno 9] Bad file descriptor


I turned on both debugging options in each plugin, but I don't know where to find the plugin debug logs.

Your help and your hard work are both highly appreciated.

--hymie!

Last edited by hymie; 11-26-2014 at 10:26 AM.
hymie is offline   Reply With Quote
Old 11-26-2014, 10:26 AM   #307
Mr. Goodbar
Wizard
Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.
 
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
I'm doing some digging around in the files for the plugin and I've noticed that there is no device id for either the mini 3 or ipad air 2 in the "_init_.py" file.
All other devices seem to have an identifier. I'm going to keep looking to see if I see anything else.

I don't know how to fix it, but could that be an issue? It would appear that it does not see either the air 2 or the mini 3 as valid devices thus it won't connect to them.
Mr. Goodbar is offline   Reply With Quote
Old 11-26-2014, 11:27 AM   #308
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,189
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Mr. Goodbar View Post
I'm doing some digging around in the files for the plugin and I've noticed that there is no device id for either the mini 3 or ipad air 2 in the "_init_.py" file.
All other devices seem to have an identifier. I'm going to keep looking to see if I see anything else.

I don't know how to fix it, but could that be an issue? It would appear that it does not see either the air 2 or the mini 3 as valid devices thus it won't connect to them.
You need to post the device debug info.

http://manual.calibre-ebook.com/faq.html#id21

bernie
gbm is offline   Reply With Quote
Old 11-26-2014, 01:00 PM   #309
Mr. Goodbar
Wizard
Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.
 
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
Quote:
Originally Posted by gbm View Post
You need to post the device debug info.

http://manual.calibre-ebook.com/faq.html#id21

bernie
Here are the updated debug files from an Air 2 connecting to Calibre 2.11 with the latest version of Marvin and iOS Reader plugins.
Attached Files
File Type: txt calibre:ios debug log.txt (8.7 KB, 189 views)
Mr. Goodbar is offline   Reply With Quote
Old 11-26-2014, 01:04 PM   #310
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Quote:
Originally Posted by Valkrider View Post
You are lucky I have never been able to get this plugin working Windows 7 64Bit and iPad & iPhone on iOS 7.
That combination should work.

Make sure you have the latest Calibre, plugins and Marvin--I assume you are using Marvin?.
Try powering off all idevices part from the one you are trying to connect to.
Make sure you run the Calibre connector in Marvin.

If you are using ibooks instead of Marvin, I recall someone else had problems with ibooks connectivity.
ShellShock is online now   Reply With Quote
Old 11-26-2014, 01:50 PM   #311
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Quote:
Originally Posted by Mr. Goodbar View Post
I'm doing some digging around in the files for the plugin and I've noticed that there is no device id for either the mini 3 or ipad air 2 in the "_init_.py" file.
All other devices seem to have an identifier. I'm going to keep looking to see if I see anything else.

I don't know how to fix it, but could that be an issue? It would appear that it does not see either the air 2 or the mini 3 as valid devices thus it won't connect to them.
Could be....apparently all USB devices have a vender id (VID), which will be specific to Apple, and a product id (PID), which is specific to the product. So my IPad mini's PID is 0x12ab, and this appears in the IOSRA plugin log once the IPad is successfully connected:

Spoiler:
Code:
DEBUG:    1.5  Waiting for calibre connector...
DEBUG:    1.5 libiMobileDevice:get_device_list() 
DEBUG:    1.5 libiMobileDevice:_idevice_get_device_list() 
DEBUG:    1.5   ['807a761bcef01dde1d1c67bbd16360e59ab584ae']
DEBUG:    1.5 libiMobileDevice:mount_ios_app(com.appstafarian.MarvinIP) 
DEBUG:    1.5 libiMobileDevice:_idevice_new() 
DEBUG:    1.5         conn_type: CONNECTION_USBMUXD
DEBUG:    1.5              udid: 807a761bcef01dde1d1c67bbd16360e59ab584ae
DEBUG:    1.5 libiMobileDevice:_lockdown_client_new_with_handshake() 
DEBUG:    1.6 libiMobileDevice:_lockdown_get_device_name() 
DEBUG:    1.6       device_name: Adrian's iPad Mini
DEBUG:    1.6 libiMobileDevice:_lockdown_start_service(com.apple.mobile.house_arrest) 
DEBUG:    1.6 libiMobileDevice:_house_arrest_client_new() 
DEBUG:    1.6 libiMobileDevice:_house_arrest_send_command(command=u'VendContainer' appid='com.appstafarian.MarvinIP') 
DEBUG:    1.6 libiMobileDevice:_house_arrest_get_result() 
DEBUG:    1.7            STATUS: Complete
DEBUG:    1.7 libiMobileDevice:_afc_client_new_from_house_arrest_client() 
DEBUG:    1.7 libiMobileDevice:_lockdown_client_free() 
DEBUG:    1.7 libiMobileDevice:mount_ios_app('com.appstafarian.MarvinIP' mounted) 
DEBUG:    1.7 libiMobileDevice:exists(u'/Library/calibre/connected.xml') 
DEBUG:    1.7 libiMobileDevice:_afc_get_file_info(u'/Library/calibre/connected.xml') 
DEBUG:    1.7 libiMobileDevice:read(u'/Library/calibre/connected.xml' mode='r') 
DEBUG:    1.7 libiMobileDevice:_afc_file_open(u'/Library/calibre/connected.xml' mode='r') 
DEBUG:    1.7 libiMobileDevice:_afc_get_file_info(u'/Library/calibre/connected.xml') 
DEBUG:    1.7 libiMobileDevice:_afc_file_read(handle:1 size:208 mode='r') 
DEBUG:    1.7 libiMobileDevice:_afc_file_close(handle:1) 
DEBUG:    1.7  Marvin version: (2, 8, 1)
DEBUG:    1.7 libiMobileDevice:get_device_list() 
DEBUG:    1.7 libiMobileDevice:_idevice_get_device_list() 
DEBUG:    1.7   ['807a761bcef01dde1d1c67bbd16360e59ab584ae']
DEBUG:    1.7 libiMobileDevice:exists(u'/Library/calibre/connected.xml') 
DEBUG:    1.7 libiMobileDevice:_afc_get_file_info(u'/Library/calibre/connected.xml') 
DEBUG:    1.7 libiMobileDevice:read(u'/Library/calibre/connected.xml' mode='r') 
DEBUG:    1.7 libiMobileDevice:_afc_file_open(u'/Library/calibre/connected.xml' mode='r') 
DEBUG:    1.7 libiMobileDevice:_afc_get_file_info(u'/Library/calibre/connected.xml') 
DEBUG:    1.7 libiMobileDevice:_afc_file_read(handle:1 size:208 mode='r') 
DEBUG:    1.7 libiMobileDevice:_afc_file_close(handle:1) 
DEBUG:    1.7 iOSReaderApp:reset() 
DEBUG:    1.7 iOSReaderApp:open() 
DEBUG:    1.7   Vendor ID (vid):05ac Product ID: (pid):12ab


I can see from your log that the connection is not getting that far. We just need to get the PID for your Air 2 - this link shows how to do this for different (linux) O/S: http://www.treshna.com/how-to-find-u...ating-systems/.

This link does a similar thing for Windows 7: https://support.shippingeasy.com/ent...t-Integration-. This works for me - I get back PID_12AB.

So if you can find the PID for your Air 2, in theory we just need to add it to the IOSRA plugin.
ShellShock is online now   Reply With Quote
Old 11-26-2014, 06:26 PM   #312
Mr. Goodbar
Wizard
Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.
 
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
Doing some additional digging in the init file of 1.4.4 and starting at line 591 it seems to require both a product id and a BCD. By looking at multiple devices the BCD is just the version info without the "period" that is listed for the product id.

On a mac you can find the product id and version by connecting the device to the usb and then choosing about this mac under the apple menu, choose system report and then in the left hand column click usb and you'll see your usb connected devices. This is what you'll see:

iPad:

Product ID: 0x12ab
Vendor ID: 0x05ac (Apple Inc.)
Version: 5.03
Serial Number:
Speed: Up to 480 Mb/sec
Manufacturer: Apple Inc.
Location ID: 0x14500000 / 32
Current Available (mA): 500
Current Required (mA): 500
Extra Operating Current (mA): 1600


Now, for the ipad air 2 WiFi version the product id is 0x12ab and the BCD would be 503.

If anyone else has a mini 3 or air 2 gsm the product id will likely be the same with just the BCD changing. From looking at the init file for earlier devices I'm guessing the air 2 GSM BCD would be 504

I've tried to edit the init file and re-compress, but I'm obviously doing something wrong since I then get an error when trying to install from the zip saying it doesn't have a valid init file.

Hopefully this can help someone edit the files and get this working.

Last edited by Mr. Goodbar; 11-26-2014 at 06:35 PM.
Mr. Goodbar is offline   Reply With Quote
Old 11-26-2014, 08:13 PM   #313
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Mr. Goodbar View Post
I've tried to edit the init file and re-compress, but I'm obviously doing something wrong since I then get an error when trying to install from the zip saying it doesn't have a valid init file.
You need to zip up the files, I suspect you zipped the IOS Reader folder, i.e.

Click image for larger version

Name:	Capture.JPG
Views:	564
Size:	69.1 KB
ID:	131622

BR
BetterRed is offline   Reply With Quote
Old 11-26-2014, 08:29 PM   #314
Mr. Goodbar
Wizard
Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.Mr. Goodbar makes omelettes without breaking eggs.
 
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
Quote:
Originally Posted by BetterRed View Post
You need to zip up the files, I suspect you zipped the IOS Reader folder, i.e.

Attachment 131622

BR
I can't seem to get it to zip up correctly, but I think we've found the root issue of the connection issue, now we just need the plugin modified appropriately.
Mr. Goodbar is offline   Reply With Quote
Old 11-26-2014, 09:36 PM   #315
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Mr. Goodbar View Post
I can't seem to get it to zip up correctly, but I think we've found the root issue of the connection issue, now we just need the plugin modified appropriately.
@Mr. Goodbar - the Mac users I know who can produce regular zips use 3rd party programs such as Keka. Everyone else always seem to create them with an outer folder, with liberal sprinkles of __MACOSX and .DS_Store confetti

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Device Plugin] iOS reader applications (closed) GRiker Plugins 182 06-15-2014 05:00 PM
iOS Reader Application Plugin Guinan Plugins 1 03-30-2014 08:18 PM
Getting Books onto your iOS device with iTunes kyteflyer Apple Devices 9 01-30-2013 02:50 PM
[Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod cryzed Plugins 7 10-28-2012 04:58 PM


All times are GMT -4. The time now is 02:58 PM.


MobileRead.com is a privately owned, operated and funded community.