Skip to content
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

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

Open
Pycoder0901 opened this issue Jul 24, 2022 · 8 comments
Open

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

Pycoder0901 opened this issue Jul 24, 2022 · 8 comments

Comments

@Pycoder0901
Copy link

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
Copy link

Same error here

@acheong08
Copy link

{"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
Copy link

{"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
Copy link

you must run qvh as root user

@GeoffAbbott
Copy link

Experiencing same issue.. Anybody able to resolve this?

@railsfans
Copy link

you need umount iphone first

@GeoffAbbott
Copy link

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
Copy link

serbyxp commented Jan 12, 2024

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

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

5 participants