Skip to content

usb.core.USBError: [Errno 5] Input/Output Error #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
revathySV opened this issue Jan 31, 2023 · 0 comments
Open

usb.core.USBError: [Errno 5] Input/Output Error #15

revathySV opened this issue Jan 31, 2023 · 0 comments

Comments

@revathySV
Copy link

revathySV commented Jan 31, 2023

Hi,

I am trying to record iOS screen video using a Mac.
Command used: ioscreen -u="00008103000E09D23ADA001E" record -h264File=out.h264 -wavFile=out.wav
Device details: iPad connected to Mac using type C - C connector.
Error:
2023-01-31 12:14:42,307 - util.py[line:58] - INFO: Find Device UDID: 00008103000E09D23ADA001E
2023-01-31 12:14:42,307 - util.py[line:91] - INFO: Disabling hidden QT config
2023-01-31 12:14:42,316 - util.py[line:153] - INFO: enable_qt_config..
2023-01-31 12:14:42,316 - util.py[line:71] - INFO: Enabling hidden QT config
2023-01-31 12:14:42,319 - util.py[line:58] - INFO: Find Device UDID: 00008103000E09D23ADA001E
Traceback (most recent call last):
File "/opt/homebrew/bin/ioscreen", line 8, in
sys.exit(main())
File "/opt/homebrew/lib/python3.10/site-packages/ioscreen/main.py", line 56, in main
args.func(args)
File "/opt/homebrew/lib/python3.10/site-packages/ioscreen/main.py", line 12, in cmd_record_wav
start_reading(consumer, device, stopSignal)
File "/opt/homebrew/lib/python3.10/site-packages/ioscreen/util.py", line 164, in start_reading
device.ctrl_transfer(0x02, 0x01, 0, 0x86, b'')
File "/opt/homebrew/lib/python3.10/site-packages/usb/core.py", line 1072, in ctrl_transfer
ret = self._ctx.backend.ctrl_transfer(
File "/opt/homebrew/lib/python3.10/site-packages/usb/backend/libusb1.py", line 893, in ctrl_transfer
ret = _check(self.lib.libusb_control_transfer(
File "/opt/homebrew/lib/python3.10/site-packages/usb/backend/libusb1.py", line 604, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 5] Input/Output Error

How to solve this error? - is there any workaround possible? Your feedback would be of great help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant