Comments (5)
It seems the USB packet type itself is not known, which probably means non-compliant behaviour from the iPhone. I have only just pushed some modifications which should help clear that up.
Could you please try make test
from the project root when your iPhone is connected in PTP/MTP mode?
from sequoia-ptpy.
Checked out current master head. Running the test:
============================= test session starts ==============================
platform linux2 -- Python 2.7.12, pytest-3.0.5, py-1.4.31, pluggy-0.4.0 -- /usr/local/bin/python
cachedir: .cache
rootdir: /tmp/sequoia-ptpy, inifile: pytest.ini
[Errno 5] Input/output error
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/sequoia-ptpy/ptpy/transports/usb.py", line 387, in __poll_events
evt = self.__recv(event=True, wait=False, raw=True)
File "/tmp/sequoia-ptpy/ptpy/transports/usb.py", line 273, in __recv
raise e
USBError: [Errno 5] Input/output error
collected 58 items
tests/hardware/test_camera.py::TestCamera::test_device_info SKIPPED
tests/hardware/test_captures.py::TestCamera::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/test_captures.py::TestCapture::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/test_captures.py::TestCapture::test_event_order SKIPPED
tests/hardware/test_captures.py::TestOpenCapture::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/test_captures.py::TestOpenCapture::test_termination SKIPPED
tests/hardware/test_compliance.py::TestCamera::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/test_compliance.py::TestCompliance::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/test_compliance.py::TestCompliance::test_PIMA_15740_2000_mandatory SKIPPED
tests/hardware/test_compliance.py::TestCompliance::test_ISO_15740_2013_mandatory SKIPPED
tests/hardware/test_compliance.py::TestCompliance::test_microsoft_windows_support SKIPPED
tests/hardware/test_properties_get_set_reset.py::TestCamera::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/test_properties_get_set_reset.py::TestGetSetResetProperties::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/test_properties_get_set_reset.py::TestGetSetResetProperties::test_get_set_property[device_property0] SKIPPED
tests/hardware/test_properties_get_set_reset.py::TestGetSetResetProperties::test_reset_property[device_property0] SKIPPED
tests/hardware/test_properties_get_set_reset.py::TestGetSetResetProperties::test_desc_get_property_identical[device_property0] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_keep_on SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_keep_on_capture SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[0] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[1] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[2] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[3] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[4] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[5] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[6] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[7] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[8] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[9] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[10] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[11] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[12] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[13] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[14] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[15] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[16] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[17] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[18] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[19] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[20] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[21] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[22] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[23] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[24] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[25] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[26] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[27] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[28] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[29] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[30] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_enable_capture[31] SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoiaEnableCapture::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/parrot/sequoia/test_enable_capture.py::TestSequoia::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/parrot/sequoia/test_operation_values.py::TestOperationValues::test_hotness SKIPPED
tests/hardware/parrot/sequoia/test_operation_values.py::TestOperationValues::test_absolute_zero SKIPPED
tests/hardware/parrot/sequoia/test_operation_values.py::TestOperationValues::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/parrot/sequoia/test_operation_values.py::TestSequoia::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/parrot/sequoia/test_sequoia.py::TestSequoia::test_device_info <- tests/hardware/test_camera.py SKIPPED
tests/hardware/parrot/sequoia/test_sequoia.py::TestCamera::test_device_info <- tests/hardware/test_camera.py SKIPPED
=========================== short test summary info ============================
SKIP [55] /tmp/sequoia-ptpy/tests/hardware/conftest.py:16: No camera available to test
SKIP [1] tests/hardware/test_properties_get_set_reset.py:21: got empty parameter set ['device_property'], function test_get_set_property at /tmp/sequoia-ptpy/tests/hardware/test_properties_get_set_reset.py:21
SKIP [1] tests/hardware/test_properties_get_set_reset.py:86: got empty parameter set ['device_property'], function test_desc_get_property_identical at /tmp/sequoia-ptpy/tests/hardware/test_properties_get_set_reset.py:86
SKIP [1] tests/hardware/test_properties_get_set_reset.py:71: got empty parameter set ['device_property'], function test_reset_property at /tmp/sequoia-ptpy/tests/hardware/test_properties_get_set_reset.py:71
========================== 58 skipped in 0.77 seconds ==========================
The phone is plugged and unlocked.
from sequoia-ptpy.
Any advance?.
Thanks!.
from sequoia-ptpy.
Hey. The USB interface has become much more robust.
Sorry this has been around for so long.
Could you please have a look with the latest release/master?
You can set the environment variable PTPY_DEBUG
to produce logs.
from sequoia-ptpy.
I'm closing this. Please re-open if issue is still there.
Thanks!
from sequoia-ptpy.
Related Issues (20)
- No TCP_QUICKACK under OS X HOT 1
- Canon 6D over IP HOT 1
- iOS 11.1 compatibility
- IP connection problem HOT 3
- usb.core.USBError: [Errno 32] Pipe error HOT 3
- How to send raw commands without writing an extension module? HOT 2
- Sony PTP Extension support HOT 9
- Can't import "Range" from construct 2.8.22 package into usb.py HOT 10
- Error in usb.py event function HOT 1
- Python 3 incompatibility in event polling HOT 2
- "polling exception: a bytes-like object is required, not 'str'" HOT 5
- No USB PTP device found HOT 5
- Operation timed out HOT 2
- Lambda missing 1 required positional argument: 'lst' HOT 5
- How to set-up libUSB on Windows? HOT 12
- Operation timed out
- Extension for Ricoh Theta cameras HOT 2
- Enable ViewFinder on Canon EOS 2000D
- Update to construct 2.10 HOT 1
- How to get live camera stream to process imagery with OpenCV?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sequoia-ptpy.