danielpaulus / quicktime_video_hack

Record iOS device audio and video
MIT License
520 stars 110 forks source link

linux:Error opening usb deviceslibusb: bad access [code -3] #126

Open Pycoder0901 opened 2 years ago

Pycoder0901 commented 2 years ago

robot@WP:~/bin/linux$ ./qvh record out.h264 out.wav {"level":"info","msg":"no udid specified, using '00008110001621293621801E\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'","time":"2022-07-24T19:26:53+08:00"} {"level":"warning","msg":"Error opening usb deviceslibusb: bad access [code -3]","time":"2022-07-24T19:26:53+08:00"} {"level":"warning","msg":"Error opening usb deviceslibusb: bad access [code -3]","time":"2022-07-24T19:26:53+08:00"} {"error_message":"failed connecting to usb","original_error":"Could not retrieve config"}

acheong08 commented 2 years ago

Same error here

acheong08 commented 2 years ago
{"level":"info","msg":"no usbSerial specified, using '00008030001675AC2209802E\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'","time":"2022-08-07T19:05:36+08:00"}
{"level":"info","msg":"found Antonio’s iPhone 16.0 for udid 00008030-001675AC2209802E","time":"2022-08-07T19:05:37+08:00"}
{"level":"info","msg":"Starting Gstreamer..","time":"2022-08-07T19:05:37+08:00"}
{"level":"info","msg":"Gstreamer is running!","time":"2022-08-07T19:05:37+08:00"}
{"level":"warning","msg":"Error opening usb deviceslibusb: bad access [code -3]","time":"2022-08-07T19:05:37+08:00"}
{"level":"warning","msg":"Error opening usb deviceslibusb: bad access [code -3]","time":"2022-08-07T19:05:37+08:00"}
{"level":"fatal","msg":"Error closing usb context: \u0026{0x7fd174000e20 0xc000096ba0 {} {0 0} map[0xc0002abd00:true]}","time":"2022-08-07T19:05:37+08:00"}
acheong08 commented 2 years ago
{"level":"info","msg":"found Antonio’s iPhone 16.0 for udid 00008030-001675AC2209802E","time":"2022-08-07T19:09:42+08:00"}
{"level":"warning","msg":"Error opening usb deviceslibusb: bad access [code -3]","time":"2022-08-07T19:09:42+08:00"}
{"device_activated":{"deviceName":"iPhone","screen_mirroring_enabled":true,"udid":"00008030-001675AC2209802E","usb_device_info":"vid=05ac,pid=12a8,bus=1,addr=8"}}
railsfans commented 2 years ago

you must run qvh as root user

GeoffAbbott commented 1 year ago

Experiencing same issue.. Anybody able to resolve this?

railsfans commented 1 year ago

you need umount iphone first

GeoffAbbott commented 1 year ago

Running as root solved my issue.. now confronted with new issue {"error_message":"failed connecting to usb", "original_error":"Could not retrieve config"} I've seen others post this issue.. Im running Ubuntu Raspbian bullseye 11..

serbyxp commented 7 months ago

@GeoffAbbott you ever figure that error {"error_message":"failed connecting to usb", "original_error":"Could not retrieve config"}