View Single Post
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 offline   Reply With Quote